|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UseCasesFactory
The interface for the factory for UseCases.
| Method Summary | |
|---|---|
java.lang.Object |
buildActor(java.lang.Object actor,
java.lang.Object model)
Builds an actor in the same namespace as the given actor. |
java.lang.Object |
buildExtend(java.lang.Object abase,
java.lang.Object anextension)
Build an extend relationship with a newly created extension point. |
java.lang.Object |
buildExtend(java.lang.Object abase,
java.lang.Object anextension,
java.lang.Object apoint)
Build an extend relationship. |
java.lang.Object |
buildExtensionPoint(java.lang.Object modelElement)
Builds an extension point for a use case. |
java.lang.Object |
buildInclude(java.lang.Object abase,
java.lang.Object anaddition)
Build an include relationship. |
java.lang.Object |
createActor()
Create an empty but initialized instance of a Actor. |
java.lang.Object |
createExtend()
Create an empty but initialized instance of a Extend. |
java.lang.Object |
createExtensionPoint()
Create an empty but initialized instance of a ExtensionPoint. |
java.lang.Object |
createInclude()
Create an empty but initialized instance of a Include. |
java.lang.Object |
createUseCase()
Create an empty but initialized instance of a UseCase. |
| Method Detail |
|---|
java.lang.Object createExtend()
java.lang.Object createExtensionPoint()
java.lang.Object createActor()
java.lang.Object createInclude()
java.lang.Object createUseCase()
java.lang.Object buildExtend(java.lang.Object abase,
java.lang.Object anextension)
abase - The base use case for the relationshipanextension - The extension use case for the relationship
null
if it can't be created.
java.lang.Object buildExtend(java.lang.Object abase,
java.lang.Object anextension,
java.lang.Object apoint)
abase - The base use case for the relationshipanextension - The extension use case for the relationshipapoint - The extension point in the base for the extension. If null,
one is created.
null if it can't be
created.java.lang.Object buildExtensionPoint(java.lang.Object modelElement)
modelElement - The owning use case for the extension point.
java.lang.IllegalArgumentException - if modelElement isn't a use-case.
java.lang.Object 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.
abase - The base use case for the relationshipanaddition - The extension use case for the relationship
null if
it can't be created.
java.lang.Object buildActor(java.lang.Object actor,
java.lang.Object model)
TODO: This shouldn't just silently fail if it is passed a bad argument. This contract will change. - tfm 20070607
model - The namespace.actor - the given actor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| ArgoUML © 1996-2006 | ArgoUML Homepage | ArgoUML Cookbook |