public interface ModelFacade
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()
Return all ActionStates belonging to this model.
|
Collection<ActionStateFacade> |
getAllActionStatesWithStereotype(ActivityGraphFacade activityGraph,
String stereotypeName)
Finds all ActionStates with the Stereotype.
|
Collection<ActorFacade> |
getAllActors()
Return all Actors belonging to this model.
|
Collection<ClassifierFacade> |
getAllClasses()
Return all Classes and Datatypes belonging to this model.
|
Collection<ObjectFlowStateFacade> |
getAllObjectFlowStates()
All object flow states in this model.
|
Collection<TransitionFacade> |
getAllTransitions()
All transitions present in the activity graphs contained by this model.
|
Collection<UseCaseFacade> |
getAllUseCases()
Return all UseCases belonging to this model.
|
PackageFacade |
getRootPackage()
Return the root package belonging to this model.
|
String |
getValidationName()
Gets the name of the metafacade used within validation messages.
|
Object |
getValidationOwner()
Gets the metafacade that acts as the
owner of this metafacade. |
void |
initialize()
Provides any required initialization of the metafacade.
|
boolean |
isModelFacadeMetaType()
Indicates the metafacade type (used for metafacade mappings).
|
void |
validateInvariants(Collection<ModelValidationMessage> validationMessages)
Performs validation of any invariants found on this model element
and stores the messages within the
validationMessages
collection. |
boolean isModelFacadeMetaType()
true
void initialize()
Object getValidationOwner()
owner
of this metafacade.
(for example: an operation is an owner of its parameters, etc). This is used
by AndroMDA's validation framework to provide more context as to where the
error has occurred.String getValidationName()
void validateInvariants(Collection<ModelValidationMessage> validationMessages)
validationMessages
collection.validationMessages
- the collection of messages to which additional
validation messages will be added if invariants are broken.ActivityGraphFacade findActivityGraphByName(String name)
name
- StringActivityGraphFacade findActivityGraphByNameAndStereotype(String name, String stereotypeName)
name
- StringstereotypeName
- StringClassifierFacade findClassWithTaggedValueOrHyperlink(String tag, String value)
tag
- Stringvalue
- StringCollection<FinalStateFacade> findFinalStatesWithNameOrHyperlink(UseCaseFacade useCase)
useCase
- UseCaseFacadeUseCaseFacade findUseCaseByName(String name)
name
- StringUseCaseFacade findUseCaseWithNameAndStereotype(String name, String stereotypeName)
name
- StringstereotypeName
- StringUseCaseFacade findUseCaseWithTaggedValueOrHyperlink(String tag, String value)
tag
- Stringvalue
- StringCollection<ActionStateFacade> getAllActionStates()
Collection<ActionStateFacade> getAllActionStatesWithStereotype(ActivityGraphFacade activityGraph, String stereotypeName)
activityGraph
- ActivityGraphFacadestereotypeName
- StringCollection<ActorFacade> getAllActors()
Collection<ClassifierFacade> getAllClasses()
Collection<ObjectFlowStateFacade> getAllObjectFlowStates()
Collection<TransitionFacade> getAllTransitions()
Collection<UseCaseFacade> getAllUseCases()
PackageFacade getRootPackage()
Copyright © 2003–2014 AndroMDA.org. All rights reserved.