public abstract class ModelFacadeLogic extends MetafacadeBase implements ModelFacade
ModelFacade
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected org.omg.uml.UmlPackage |
metaObject
The underlying UML object
|
contextRoot
Modifier | Constructor and Description |
---|---|
protected |
ModelFacadeLogic(org.omg.uml.UmlPackage metaObjectIn,
String context)
Create Metafacade implementation instance using the MetafacadeFactory from the context
|
Modifier and Type | Method and Description |
---|---|
ActivityGraphFacade |
findActivityGraphByName(String name)
Finds the ActivityGraph with the Name.
|
ActivityGraphFacade |
findActivityGraphByNameAndStereotype(String name,
String stereotypeName)
Finds the ActivityGraph with the Name and Stereotype.
|
ClassifierFacade |
findClassWithTaggedValueOrHyperlink(String tag,
String value)
Return the Class belonging to this model with the tagged value or hyperlink.
|
Collection<FinalStateFacade> |
findFinalStatesWithNameOrHyperlink(UseCaseFacade useCase)
Finds the FinalState with the Name or Hyperlink.
|
UseCaseFacade |
findUseCaseByName(String name)
Finds the UseCase with the Name.
|
UseCaseFacade |
findUseCaseWithNameAndStereotype(String name,
String stereotypeName)
Finds the UseGraph with the Name and Stereotype.
|
UseCaseFacade |
findUseCaseWithTaggedValueOrHyperlink(String tag,
String value)
Return the UseCase belonging to this model with the tagged value or hyperlink.
|
Collection<ActionStateFacade> |
getAllActionStates()
Captures a view of a physical system.
|
Collection<ActionStateFacade> |
getAllActionStatesWithStereotype(ActivityGraphFacade activityGraph,
String stereotypeName)
Finds all ActionStates with the Stereotype.
|
Collection<ActorFacade> |
getAllActors()
Captures a view of a physical system.
|
Collection<ClassifierFacade> |
getAllClasses()
Captures a view of a physical system.
|
Collection<ObjectFlowStateFacade> |
getAllObjectFlowStates()
Captures a view of a physical system.
|
Collection<TransitionFacade> |
getAllTransitions()
Captures a view of a physical system.
|
Collection<UseCaseFacade> |
getAllUseCases()
Captures a view of a physical system.
|
PackageFacade |
getRootPackage()
Captures a view of a physical system.
|
protected abstract ActivityGraphFacade |
handleFindActivityGraphByName(String name)
Method to be implemented in descendants
Finds the ActivityGraph with the Name.
|
protected abstract ActivityGraphFacade |
handleFindActivityGraphByNameAndStereotype(String name,
String stereotypeName)
Method to be implemented in descendants
Finds the ActivityGraph with the Name and Stereotype.
|
protected abstract ClassifierFacade |
handleFindClassWithTaggedValueOrHyperlink(String tag,
String value)
Method to be implemented in descendants
Return the Class belonging to this model with the tagged value or hyperlink.
|
protected abstract Collection<FinalStateFacade> |
handleFindFinalStatesWithNameOrHyperlink(UseCaseFacade useCase)
Method to be implemented in descendants
Finds the FinalState with the Name or Hyperlink.
|
protected abstract UseCaseFacade |
handleFindUseCaseByName(String name)
Method to be implemented in descendants
Finds the UseCase with the Name.
|
protected abstract UseCaseFacade |
handleFindUseCaseWithNameAndStereotype(String name,
String stereotypeName)
Method to be implemented in descendants
Finds the UseGraph with the Name and Stereotype.
|
protected abstract UseCaseFacade |
handleFindUseCaseWithTaggedValueOrHyperlink(String tag,
String value)
Method to be implemented in descendants
Return the UseCase belonging to this model with the tagged value or hyperlink.
|
protected abstract Collection |
handleGetAllActionStates()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract Collection<ActionStateFacade> |
handleGetAllActionStatesWithStereotype(ActivityGraphFacade activityGraph,
String stereotypeName)
Method to be implemented in descendants
Finds all ActionStates with the Stereotype.
|
protected abstract Collection |
handleGetAllActors()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract Collection |
handleGetAllClasses()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract Collection |
handleGetAllObjectFlowStates()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract Collection |
handleGetAllTransitions()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract Collection |
handleGetAllUseCases()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract Object |
handleGetRootPackage()
UML Specific type is transformed by shieldedElements to AndroMDA Metafacade type
|
boolean |
isModelFacadeMetaType() |
void |
resetMetafacadeContext(String context)
Reset context only for non-root metafacades
|
String |
toString() |
void |
validateInvariants(Collection<ModelValidationMessage> validationMessages) |
compareTo, equals, getConfiguredProperty, getDebug, getMetafacadeContext, getMetaObject, getValidationName, getValidationOwner, hashCode, initialize, isConfiguredProperty, isMetafacadePropertyCachingEnabled, setMetafacadeContext, setProperty, shieldedElement, shieldedElements, THIS, validate
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getValidationName, getValidationOwner, initialize
protected org.omg.uml.UmlPackage metaObject
UmlPackage
protected ModelFacadeLogic(org.omg.uml.UmlPackage metaObjectIn, String context)
metaObjectIn
- context
- public void resetMetafacadeContext(String context)
resetMetafacadeContext
in class MetafacadeBase
context
- public boolean isModelFacadeMetaType()
isModelFacadeMetaType
in interface ModelFacade
ModelFacade
protected abstract UseCaseFacade handleFindUseCaseWithTaggedValueOrHyperlink(String tag, String value)
tag
- value
- public UseCaseFacade findUseCaseWithTaggedValueOrHyperlink(String tag, String value)
findUseCaseWithTaggedValueOrHyperlink
in interface ModelFacade
tag
- String
TODO: Model Documentation for
ModelFacade.findUseCaseWithTaggedValueOrHyperlink(tag)value
- String
TODO: Model Documentation for
ModelFacade.findUseCaseWithTaggedValueOrHyperlink(value)protected abstract ClassifierFacade handleFindClassWithTaggedValueOrHyperlink(String tag, String value)
tag
- value
- public ClassifierFacade findClassWithTaggedValueOrHyperlink(String tag, String value)
findClassWithTaggedValueOrHyperlink
in interface ModelFacade
tag
- String
TODO: Model Documentation for
ModelFacade.findClassWithTaggedValueOrHyperlink(tag)value
- String
TODO: Model Documentation for
ModelFacade.findClassWithTaggedValueOrHyperlink(value)protected abstract ActivityGraphFacade handleFindActivityGraphByName(String name)
name
- public ActivityGraphFacade findActivityGraphByName(String name)
findActivityGraphByName
in interface ModelFacade
name
- String
TODO: Model Documentation for
ModelFacade.findActivityGraphByName(name)protected abstract ActivityGraphFacade handleFindActivityGraphByNameAndStereotype(String name, String stereotypeName)
name
- stereotypeName
- public ActivityGraphFacade findActivityGraphByNameAndStereotype(String name, String stereotypeName)
findActivityGraphByNameAndStereotype
in interface ModelFacade
name
- String
TODO: Model Documentation for
ModelFacade.findActivityGraphByNameAndStereotype(name)stereotypeName
- String
TODO: Model Documentation for
ModelFacade.findActivityGraphByNameAndStereotype(stereotypeName)protected abstract UseCaseFacade handleFindUseCaseByName(String name)
name
- public UseCaseFacade findUseCaseByName(String name)
findUseCaseByName
in interface ModelFacade
name
- String
TODO: Model Documentation for
ModelFacade.findUseCaseByName(name)protected abstract UseCaseFacade handleFindUseCaseWithNameAndStereotype(String name, String stereotypeName)
name
- stereotypeName
- public UseCaseFacade findUseCaseWithNameAndStereotype(String name, String stereotypeName)
findUseCaseWithNameAndStereotype
in interface ModelFacade
name
- String
TODO: Model Documentation for
ModelFacade.findUseCaseWithNameAndStereotype(name)stereotypeName
- String
TODO: Model Documentation for
ModelFacade.findUseCaseWithNameAndStereotype(stereotypeName)protected abstract Collection<FinalStateFacade> handleFindFinalStatesWithNameOrHyperlink(UseCaseFacade useCase)
useCase
- public Collection<FinalStateFacade> findFinalStatesWithNameOrHyperlink(UseCaseFacade useCase)
findFinalStatesWithNameOrHyperlink
in interface ModelFacade
useCase
- UseCaseFacade
TODO: Model Documentation for
ModelFacade.findFinalStatesWithNameOrHyperlink(useCase)protected abstract Collection<ActionStateFacade> handleGetAllActionStatesWithStereotype(ActivityGraphFacade activityGraph, String stereotypeName)
activityGraph
- stereotypeName
- public Collection<ActionStateFacade> getAllActionStatesWithStereotype(ActivityGraphFacade activityGraph, String stereotypeName)
getAllActionStatesWithStereotype
in interface ModelFacade
activityGraph
- ActivityGraphFacade
TODO: Model Documentation for
ModelFacade.getAllActionStatesWithStereotype(activityGraph)stereotypeName
- String
TODO: Model Documentation for
ModelFacade.getAllActionStatesWithStereotype(stereotypeName)public final Collection<ClassifierFacade> getAllClasses()
getAllClasses
in interface ModelFacade
protected abstract Collection handleGetAllClasses()
public final PackageFacade getRootPackage()
getRootPackage
in interface ModelFacade
protected abstract Object handleGetRootPackage()
public final Collection<TransitionFacade> getAllTransitions()
getAllTransitions
in interface ModelFacade
protected abstract Collection handleGetAllTransitions()
public final Collection<ActorFacade> getAllActors()
getAllActors
in interface ModelFacade
protected abstract Collection handleGetAllActors()
public final Collection<UseCaseFacade> getAllUseCases()
getAllUseCases
in interface ModelFacade
protected abstract Collection handleGetAllUseCases()
public final Collection<ActionStateFacade> getAllActionStates()
getAllActionStates
in interface ModelFacade
protected abstract Collection handleGetAllActionStates()
public final Collection<ObjectFlowStateFacade> getAllObjectFlowStates()
getAllObjectFlowStates
in interface ModelFacade
protected abstract Collection handleGetAllObjectFlowStates()
public void validateInvariants(Collection<ModelValidationMessage> validationMessages)
validateInvariants
in interface ModelFacade
validateInvariants
in class MetafacadeBase
validationMessages
- CollectionMetafacadeBase.validateInvariants(Collection validationMessages)
public String toString()
toString
in class MetafacadeBase
Object.toString()
Copyright © 2003–2014 AndroMDA.org. All rights reserved.