|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.argouml.model.uml.AbstractUmlModelFactory | +--org.argouml.model.uml.behavioralelements.usecases.UseCasesFactory
Factory to create UML classes for the UML BehaviorialElements::UseCases package.
Method Summary | |
---|---|
MActor |
buildActor()
Builds an actor in the project's model namespace. |
MActor |
buildActor(MNamespace ns)
Builds an actor in the given namespace. |
MExtend |
buildExtend(MUseCase base,
MUseCase extension)
Build an extend relationship. |
MExtend |
buildExtend(MUseCase base,
MUseCase extension,
MExtensionPoint point)
|
MExtensionPoint |
buildExtensionPoint(java.lang.Object modelElement)
Build an extension point for a use case. |
MInclude |
buildInclude(MUseCase base,
MUseCase addition)
Build an include relationship. |
MActor |
createActor()
Create an empty but initialized instance of a Actor |
MExtend |
createExtend()
Create an empty but initialized instance of a Extend |
MExtensionPoint |
createExtensionPoint()
Create an empty but initialized instance of a ExtensionPoint |
MInclude |
createInclude()
Create an empty but initialized instance of a Include |
MUseCase |
createUseCase()
Create an empty but initialized instance of a UseCase |
MUseCaseInstance |
createUseCaseInstance()
Create an empty but initialized instance of a UseCaseInstance |
void |
deleteActor(MActor elem)
|
void |
deleteExtend(MExtend elem)
|
void |
deleteExtensionPoint(MExtensionPoint elem)
|
void |
deleteInclude(MInclude elem)
|
void |
deleteUseCase(MUseCase elem)
|
void |
deleteUseCaseInstance(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 |
Method Detail |
public static UseCasesFactory getFactory()
public MExtend createExtend()
public MExtensionPoint createExtensionPoint()
public MActor createActor()
public MInclude createInclude()
public MUseCase createUseCase()
public MUseCaseInstance createUseCaseInstance()
public MExtend buildExtend(MUseCase base, MUseCase extension)
Build an extend relationship.
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.
base
- The base use case for the relationshipextension
- The extension use case for the relationship
null
if it
can't be created.public MExtend buildExtend(MUseCase base, MUseCase extension, MExtensionPoint point)
public MExtensionPoint buildExtensionPoint(java.lang.Object modelElement)
Build an extension point for a use case.
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 MInclude buildInclude(MUseCase base, MUseCase addition)
Build an include relationship.
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.
base
- The base use case for the relationship
null
if
it can't be created.public MActor buildActor()
public MActor buildActor(MNamespace ns)
ns
-
public void deleteActor(MActor elem)
public void deleteExtend(MExtend elem)
public void deleteExtensionPoint(MExtensionPoint elem)
public void deleteInclude(MInclude elem)
public void deleteUseCase(MUseCase elem)
public void deleteUseCaseInstance(MUseCaseInstance elem)
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2003 (20040229) | ArgoUML Project Home | ArgoUML Cookbook |