|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.argouml.model.uml.AbstractUmlModelFactory
org.argouml.model.uml.behavioralelements.usecases.UseCasesFactory
Factory to create UML classes for the UML BehaviorialElements::UseCases package.
Field Summary | |
private static UseCasesFactory |
SINGLETON
Singleton instance. |
Fields inherited from class org.argouml.model.uml.AbstractUmlModelFactory |
|
Constructor Summary | |
private |
UseCasesFactory()
Don't allow instantiation |
Method Summary | |
ru.novosoft.uml.behavior.use_cases.MActor |
buildActor()
Builds an actor in the project's model namespace. |
ru.novosoft.uml.behavior.use_cases.MActor |
buildActor(ru.novosoft.uml.foundation.core.MNamespace ns)
Builds an actor in the given namespace. |
ru.novosoft.uml.behavior.use_cases.MActor |
buildActor(java.lang.Object actor)
Builds an actor in the same namespace of the given actor. |
ru.novosoft.uml.behavior.use_cases.MExtend |
buildExtend(java.lang.Object abase,
java.lang.Object anextension)
Build an extend relationship. |
ru.novosoft.uml.behavior.use_cases.MExtend |
buildExtend(java.lang.Object abase,
java.lang.Object anextension,
java.lang.Object apoint)
|
ru.novosoft.uml.behavior.use_cases.MExtensionPoint |
buildExtensionPoint(java.lang.Object modelElement)
Build an extension point for a use case. |
ru.novosoft.uml.behavior.use_cases.MInclude |
buildInclude(java.lang.Object abase,
java.lang.Object anaddition)
Build an include relationship. |
ru.novosoft.uml.behavior.use_cases.MActor |
createActor()
Create an empty but initialized instance of a Actor. |
ru.novosoft.uml.behavior.use_cases.MExtend |
createExtend()
Create an empty but initialized instance of a Extend. |
ru.novosoft.uml.behavior.use_cases.MExtensionPoint |
createExtensionPoint()
Create an empty but initialized instance of a ExtensionPoint. |
ru.novosoft.uml.behavior.use_cases.MInclude |
createInclude()
Create an empty but initialized instance of a Include. |
ru.novosoft.uml.behavior.use_cases.MUseCase |
createUseCase()
Create an empty but initialized instance of a UseCase. |
ru.novosoft.uml.behavior.use_cases.MUseCaseInstance |
createUseCaseInstance()
Create an empty but initialized instance of a UseCaseInstance |
void |
deleteActor(ru.novosoft.uml.behavior.use_cases.MActor elem)
|
void |
deleteExtend(ru.novosoft.uml.behavior.use_cases.MExtend elem)
|
void |
deleteExtensionPoint(ru.novosoft.uml.behavior.use_cases.MExtensionPoint elem)
|
void |
deleteInclude(ru.novosoft.uml.behavior.use_cases.MInclude elem)
|
void |
deleteUseCase(ru.novosoft.uml.behavior.use_cases.MUseCase elem)
|
void |
deleteUseCaseInstance(ru.novosoft.uml.behavior.use_cases.MUseCaseInstance elem)
|
static UseCasesFactory |
getFactory()
Singleton instance access method. |
Methods inherited from class org.argouml.model.uml.AbstractUmlModelFactory |
addListenersToModelElement, initialize, isGuiEnabled, setGuiEnabled |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static UseCasesFactory SINGLETON
Constructor Detail |
private UseCasesFactory()
Method Detail |
public static UseCasesFactory getFactory()
public ru.novosoft.uml.behavior.use_cases.MExtend createExtend()
public ru.novosoft.uml.behavior.use_cases.MExtensionPoint createExtensionPoint()
public ru.novosoft.uml.behavior.use_cases.MActor createActor()
public ru.novosoft.uml.behavior.use_cases.MInclude createInclude()
public ru.novosoft.uml.behavior.use_cases.MUseCase createUseCase()
public ru.novosoft.uml.behavior.use_cases.MUseCaseInstance createUseCaseInstance()
public ru.novosoft.uml.behavior.use_cases.MExtend buildExtend(java.lang.Object abase, java.lang.Object anextension)
Set the namespace to the base (preferred) or else extension's namespace. We don't do any checking on base and extension. They should be different, but that is someone else's problem.
abase
- The base use case for the relationshipanextension
- The extension use case for the relationship
null
if it can't be created.public ru.novosoft.uml.behavior.use_cases.MExtend buildExtend(java.lang.Object abase, java.lang.Object anextension, java.lang.Object apoint)
public ru.novosoft.uml.behavior.use_cases.MExtensionPoint buildExtensionPoint(java.lang.Object modelElement)
Set the namespace to that of the use case if possible.
modelElement
- The owning use case for the extension point. May be
null
.
null
if it
can't be created.public ru.novosoft.uml.behavior.use_cases.MInclude buildInclude(java.lang.Object abase, java.lang.Object anaddition)
Set the namespace to the base (preferred) or else extension's namespace. We don't do any checking on base and extension. They should be different, but that is someone else's problem.
Note. There is a bug in NSUML that gets the base and addition associations back to front. We reverse the use of their accessors in the code to correct this.
abase
- The base use case for the relationshipanaddition
- The extension use case for the relationship
null
if
it can't be created.public ru.novosoft.uml.behavior.use_cases.MActor buildActor()
public ru.novosoft.uml.behavior.use_cases.MActor buildActor(ru.novosoft.uml.foundation.core.MNamespace ns)
ns
-
public ru.novosoft.uml.behavior.use_cases.MActor buildActor(java.lang.Object actor)
actor
-
public void deleteActor(ru.novosoft.uml.behavior.use_cases.MActor elem)
public void deleteExtend(ru.novosoft.uml.behavior.use_cases.MExtend elem)
public void deleteExtensionPoint(ru.novosoft.uml.behavior.use_cases.MExtensionPoint elem)
public void deleteInclude(ru.novosoft.uml.behavior.use_cases.MInclude elem)
public void deleteUseCase(ru.novosoft.uml.behavior.use_cases.MUseCase elem)
public void deleteUseCaseInstance(ru.novosoft.uml.behavior.use_cases.MUseCaseInstance elem)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2004 (20040316) | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |