public abstract class JBpmPseudostateLogic extends MetafacadeBase implements JBpmPseudostate
JBpmPseudostate
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected Object |
metaObject
The underlying UML object
|
contextRoot
Modifier | Constructor and Description |
---|---|
protected |
JBpmPseudostateLogic(Object metaObjectIn,
String context)
Create Metafacade implementation instance using the MetafacadeFactory from the context
|
Modifier and Type | Method and Description |
---|---|
void |
copyTaggedValues(ModelElementFacade element)
Copies all tagged values from the given ModelElementFacade to this model element facade.
|
Object |
findTaggedValue(String tagName)
Finds the tagged value with the specified 'tagName'.
|
Collection<Object> |
findTaggedValues(String tagName)
Returns all the values for the tagged value with the specified name.
|
String |
getBindedFullyQualifiedName(ModelElementFacade bindedElement)
Returns the fully qualified name of the model element.
|
String |
getClassName()
TODO: Model Documentation for
org.andromda.cartridges.jbpm.metafacades.JBpmPseudostate.className
|
String |
getClazz()
TODO: Model Documentation for org.andromda.cartridges.jbpm.metafacades.JBpmPseudostate.clazz
|
Collection<ConstraintFacade> |
getConstraints()
Gets all constraints belonging to the model element.
|
Collection<ConstraintFacade> |
getConstraints(String kind)
Returns the constraints of the argument kind that have been placed onto this model.
|
StateFacade |
getContainer()
Models a situation during which some (usually implicit) invariant condition holds.
|
String |
getDecisionHandlerClassName()
TODO: Model Documentation for
org.andromda.cartridges.jbpm.metafacades.JBpmPseudostate.decisionHandlerClassName
|
String |
getDecisionHandlerFullPath()
TODO: Model Documentation for
org.andromda.cartridges.jbpm.metafacades.JBpmPseudostate.decisionHandlerFullPath
|
String |
getDecisionHandlerPackageName()
TODO: Model Documentation for
org.andromda.cartridges.jbpm.metafacades.JBpmPseudostate.decisionHandlerPackageName
|
String |
getDocumentation(String indent)
Gets the documentation for the model element, The indent argument is prefixed to each line.
|
String |
getDocumentation(String indent,
int lineLength)
This method returns the documentation for this model element, with the lines wrapped after
the specified number of characters, values of less than 1 will indicate no line wrapping is
required.
|
String |
getDocumentation(String indent,
int lineLength,
boolean htmlStyle)
This method returns the documentation for this model element, with the lines wrapped after
the specified number of characters, values of less than 1 will indicate no line wrapping is
required.
|
String |
getFullyQualifiedName()
The fully qualified name of this model element.
|
String |
getFullyQualifiedName(boolean modelName)
Returns the fully qualified name of the model element.
|
String |
getFullyQualifiedNamePath()
Returns the fully qualified name as a path, the returned value always starts with out a slash
'/'.
|
String |
getId()
Gets the unique identifier of the underlying model element.
|
Collection<TransitionFacade> |
getIncomings()
A directed relationship between a source vertex and a target vertex.
|
Collection<String> |
getKeywords()
UML2: Retrieves the keywords for this element.
|
String |
getLabel()
UML2: Retrieves a localized label for this named element.
|
TypeMappings |
getLanguageMappings()
The language mappings that have been set for this model element.
|
ModelFacade |
getModel()
Return the model containing this model element (multiple models may be loaded and processed
at the same time).
|
String |
getName()
The name of the model element.
|
String |
getNodeClassName()
TODO: Model Documentation for
JBpmStateVertex.nodeClassName
|
String |
getNodePackageName()
TODO: Model Documentation for
JBpmStateVertex.nodePackageName
|
Collection<TransitionFacade> |
getOutgoings()
A directed relationship between a source vertex and a target vertex.
|
ModelElementFacade |
getPackage()
Gets the package to which this model element belongs.
|
String |
getPackageName()
The name of this model element's package.
|
String |
getPackageName(boolean modelName)
Gets the package name (optionally providing the ability to retrieve the model name and not
the mapped name).
|
String |
getPackagePath()
Returns the package as a path, the returned value always starts with out a slash '/'.
|
PartitionFacade |
getPartition()
The partition (if any) to which this vertex belongs.
|
JBpmProcessDefinition |
getProcessDefinition()
TODO: Model Documentation for JBpmProcessDefinition
|
String |
getQualifiedName()
UML2: Returns the value of the 'Qualified Name' attribute.
|
PackageFacade |
getRootPackage()
Gets the root package for the model element.
|
Collection<DependencyFacade> |
getSourceDependencies()
Gets the dependencies for which this model element is the source.
|
StateMachineFacade |
getStateMachine()
State machines can be used to express the behavior of part of a system.
|
StateMachineFacade |
getStateMachineContext()
If this model element is the context of an activity graph, this represents that activity
graph.
|
Collection<String> |
getStereotypeNames()
The collection of ALL stereotype names for this model element.
|
Collection<StereotypeFacade> |
getStereotypes()
Gets all stereotypes for this model element.
|
protected JBpmStateVertex |
getSuperJBpmStateVertex()
Gets the JBpmStateVertex parent instance.
|
protected PseudostateFacade |
getSuperPseudostateFacade()
Gets the PseudostateFacade parent instance.
|
JBpmSwimlane |
getSwimlane()
TODO: Model Documentation for org.andromda.cartridges.jbpm.metafacades.JBpmPseudostate
|
Collection<TaggedValueFacade> |
getTaggedValues()
Return the TaggedValues associated with this model element, under all stereotypes.
|
Collection<DependencyFacade> |
getTargetDependencies()
Gets the dependencies for which this model element is the target.
|
Object |
getTemplateParameter(String parameterName)
Get the template parameter for this model element having the parameterName
|
Collection<TemplateParameterFacade> |
getTemplateParameters()
Get the template parameters for this model element
|
String |
getValidationName() |
Object |
getValidationOwner() |
String |
getVisibility()
The visibility (i.e.
|
protected abstract String |
handleGetClassName() |
protected abstract String |
handleGetClazz() |
protected abstract String |
handleGetDecisionHandlerClassName() |
protected abstract String |
handleGetDecisionHandlerFullPath() |
protected abstract String |
handleGetDecisionHandlerPackageName() |
protected abstract Object |
handleGetSwimlane()
UML Specific type is transformed by shieldedElements to AndroMDA Metafacade type
|
boolean |
hasExactStereotype(String stereotypeName)
Returns true if the model element has the exact stereotype (meaning no stereotype inheritance
is taken into account when searching for the stereotype), false otherwise.
|
boolean |
hasKeyword(String keywordName)
Does the UML Element contain the named Keyword? Keywords can be separated by space, comma,
pipe, semicolon, or << >>
|
boolean |
hasStereotype(String stereotypeName)
Returns true if the model element has the specified stereotype.
|
void |
initialize() |
boolean |
isBindingDependenciesPresent()
True if there are target dependencies from this element that are instances of BindingFacade.
|
boolean |
isChoice()
TODO: Model Documentation for PseudostateFacade.choice
|
boolean |
isCollect()
Denotes this pseudostate to be either a join or a fork with a single outgoing transition and
more than one incoming transition.
|
boolean |
isConstraintsPresent()
Indicates if any constraints are present on this model element.
|
boolean |
isContainedInBusinessProcess()
True if this element is part of a business process usecase.
|
boolean |
isDecisionPoint()
TODO: Model Documentation for PseudostateFacade.decisionPoint
|
boolean |
isDeepHistory()
TODO: Model Documentation for PseudostateFacade.deepHistory
|
boolean |
isDocumentationPresent()
Indicates if any documentation is present on this model element.
|
boolean |
isFork()
TODO: Model Documentation for PseudostateFacade.fork
|
boolean |
isInitialState()
TODO: Model Documentation for PseudostateFacade.initialState
|
boolean |
isJBpmPseudostateMetaType()
Indicates the metafacade type (used for metafacade mappings).
|
boolean |
isJBpmStateVertexMetaType()
Indicates the metafacade type (used for metafacade mappings).
|
boolean |
isJoin()
TODO: Model Documentation for PseudostateFacade.join
|
boolean |
isJunction()
TODO: Model Documentation for PseudostateFacade.junction
|
boolean |
isMergePoint()
TODO: Model Documentation for PseudostateFacade.mergePoint
|
boolean |
isModelElementFacadeMetaType() |
boolean |
isPseudostateFacadeMetaType() |
boolean |
isReservedWord()
True if this element name is a reserved word in Java, C#, ANSI or ISO C, C++, JavaScript.
|
boolean |
isShallowHistory()
TODO: Model Documentation for PseudostateFacade.shallowHistory
|
boolean |
isSplit()
Denotes this pseudostate to be either a join or a fork with a single incoming transition and
more than one outgoing transition.
|
boolean |
isStateVertexFacadeMetaType() |
boolean |
isTemplateParametersPresent()
True is there are template parameters on this model element.
|
boolean |
isValidIdentifierName()
True if this element name is a valid identifier name in Java, C#, ANSI or ISO C, C++,
JavaScript.
|
void |
resetMetafacadeContext(String context)
Reset context only for non-root metafacades
|
String |
toString() |
String |
translateConstraint(String name,
String translation)
Searches for the constraint with the specified 'name' on this model element, and if found
translates it using the specified 'translation' from a translation library discovered by the
framework.
|
String[] |
translateConstraints(String translation)
Translates all constraints belonging to this model element with the given 'translation'.
|
String[] |
translateConstraints(String kind,
String translation)
Translates the constraints of the specified 'kind' belonging to this model element.
|
void |
validateInvariants(Collection<ModelValidationMessage> validationMessages)
Constraint: org::andromda::cartridges::jbpm::metafacades::JBpmPseudostate::fork needs a name
|
compareTo, equals, getConfiguredProperty, getDebug, getMetafacadeContext, getMetaObject, hashCode, isConfiguredProperty, isMetafacadePropertyCachingEnabled, setMetafacadeContext, setProperty, shieldedElement, shieldedElements, THIS, validate
protected Object metaObject
Object
protected JBpmPseudostateLogic(Object metaObjectIn, String context)
metaObjectIn
- context
- protected JBpmStateVertex getSuperJBpmStateVertex()
protected PseudostateFacade getSuperPseudostateFacade()
public void resetMetafacadeContext(String context)
resetMetafacadeContext
in class MetafacadeBase
context
- MetafacadeBase.resetMetafacadeContext(String context)
public boolean isJBpmPseudostateMetaType()
JBpmPseudostate
isJBpmPseudostateMetaType
in interface JBpmPseudostate
JBpmPseudostate
protected abstract String handleGetClazz()
JBpmPseudostate.getClazz()
public final String getClazz()
getClazz
in interface JBpmPseudostate
protected abstract String handleGetClassName()
JBpmPseudostate.getClassName()
public final String getClassName()
getClassName
in interface JBpmPseudostate
protected abstract String handleGetDecisionHandlerPackageName()
JBpmPseudostate.getDecisionHandlerPackageName()
public final String getDecisionHandlerPackageName()
getDecisionHandlerPackageName
in interface JBpmPseudostate
protected abstract String handleGetDecisionHandlerFullPath()
JBpmPseudostate.getDecisionHandlerFullPath()
public final String getDecisionHandlerFullPath()
getDecisionHandlerFullPath
in interface JBpmPseudostate
protected abstract String handleGetDecisionHandlerClassName()
JBpmPseudostate.getDecisionHandlerClassName()
public final String getDecisionHandlerClassName()
getDecisionHandlerClassName
in interface JBpmPseudostate
public final JBpmSwimlane getSwimlane()
getSwimlane
in interface JBpmPseudostate
protected abstract Object handleGetSwimlane()
public boolean isJBpmStateVertexMetaType()
JBpmStateVertex
isJBpmStateVertexMetaType
in interface JBpmStateVertex
JBpmStateVertex
public boolean isPseudostateFacadeMetaType()
isPseudostateFacadeMetaType
in interface PseudostateFacade
PseudostateFacade
public boolean isStateVertexFacadeMetaType()
isStateVertexFacadeMetaType
in interface StateVertexFacade
StateVertexFacade
public boolean isModelElementFacadeMetaType()
isModelElementFacadeMetaType
in interface ModelElementFacade
ModelElementFacade
public String getNodeClassName()
getNodeClassName
in interface JBpmStateVertex
JBpmStateVertex.getNodeClassName()
public String getNodePackageName()
getNodePackageName
in interface JBpmStateVertex
JBpmStateVertex.getNodePackageName()
public JBpmProcessDefinition getProcessDefinition()
getProcessDefinition
in interface JBpmStateVertex
JBpmStateVertex.getProcessDefinition()
public boolean isContainedInBusinessProcess()
isContainedInBusinessProcess
in interface JBpmStateVertex
JBpmStateVertex.isContainedInBusinessProcess()
public void copyTaggedValues(ModelElementFacade element)
copyTaggedValues
in interface ModelElementFacade
ModelElementFacade.copyTaggedValues(ModelElementFacade element)
public Object findTaggedValue(String tagName)
findTaggedValue
in interface ModelElementFacade
ModelElementFacade.findTaggedValue(String tagName)
public Collection<Object> findTaggedValues(String tagName)
findTaggedValues
in interface ModelElementFacade
ModelElementFacade.findTaggedValues(String tagName)
public String getBindedFullyQualifiedName(ModelElementFacade bindedElement)
getBindedFullyQualifiedName
in interface ModelElementFacade
ModelElementFacade.getBindedFullyQualifiedName(ModelElementFacade bindedElement)
public Collection<ConstraintFacade> getConstraints()
getConstraints
in interface ModelElementFacade
ModelElementFacade.getConstraints()
public Collection<ConstraintFacade> getConstraints(String kind)
getConstraints
in interface ModelElementFacade
ModelElementFacade.getConstraints(String kind)
public String getDocumentation(String indent)
getDocumentation(indent, 64)
.getDocumentation
in interface ModelElementFacade
ModelElementFacade.getDocumentation(String indent)
public String getDocumentation(String indent, int lineLength)
getDocumentation(indent, lineLength, true)
.getDocumentation
in interface ModelElementFacade
ModelElementFacade.getDocumentation(String indent, int lineLength)
public String getDocumentation(String indent, int lineLength, boolean htmlStyle)
getDocumentation
in interface ModelElementFacade
ModelElementFacade.getDocumentation(String indent, int lineLength, boolean htmlStyle)
public String getFullyQualifiedName()
getFullyQualifiedName
in interface ModelElementFacade
ModelElementFacade.getFullyQualifiedName()
public String getFullyQualifiedName(boolean modelName)
getFullyQualifiedName
in interface ModelElementFacade
ModelElementFacade.getFullyQualifiedName(boolean modelName)
public String getFullyQualifiedNamePath()
getFullyQualifiedNamePath
in interface ModelElementFacade
ModelElementFacade.getFullyQualifiedNamePath()
public String getId()
getId
in interface ModelElementFacade
ModelElementFacade.getId()
public Collection<String> getKeywords()
getKeywords
in interface ModelElementFacade
ModelElementFacade.getKeywords()
public String getLabel()
getLabel
in interface ModelElementFacade
ModelElementFacade.getLabel()
public TypeMappings getLanguageMappings()
getLanguageMappings
in interface ModelElementFacade
ModelElementFacade.getLanguageMappings()
public ModelFacade getModel()
getModel
in interface ModelElementFacade
ModelElementFacade.getModel()
public String getName()
getName
in interface ModelElementFacade
ModelElementFacade.getName()
public ModelElementFacade getPackage()
getPackage
in interface ModelElementFacade
ModelElementFacade.getPackage()
public String getPackageName()
getPackageName
in interface ModelElementFacade
ModelElementFacade.getPackageName()
public String getPackageName(boolean modelName)
getPackageName
in interface ModelElementFacade
ModelElementFacade.getPackageName(boolean modelName)
public String getPackagePath()
getPackagePath
in interface ModelElementFacade
ModelElementFacade.getPackagePath()
public String getQualifiedName()
getQualifiedName
in interface ModelElementFacade
ModelElementFacade.getQualifiedName()
public PackageFacade getRootPackage()
getRootPackage
in interface ModelElementFacade
ModelElementFacade.getRootPackage()
public Collection<DependencyFacade> getSourceDependencies()
getSourceDependencies
in interface ModelElementFacade
ModelElementFacade.getSourceDependencies()
public StateMachineFacade getStateMachineContext()
getStateMachineContext
in interface ModelElementFacade
ModelElementFacade.getStateMachineContext()
public Collection<String> getStereotypeNames()
getStereotypeNames
in interface ModelElementFacade
ModelElementFacade.getStereotypeNames()
public Collection<StereotypeFacade> getStereotypes()
getStereotypes
in interface ModelElementFacade
ModelElementFacade.getStereotypes()
public Collection<TaggedValueFacade> getTaggedValues()
getTaggedValues
in interface ModelElementFacade
ModelElementFacade.getTaggedValues()
public Collection<DependencyFacade> getTargetDependencies()
getTargetDependencies
in interface ModelElementFacade
ModelElementFacade.getTargetDependencies()
public Object getTemplateParameter(String parameterName)
getTemplateParameter
in interface ModelElementFacade
ModelElementFacade.getTemplateParameter(String parameterName)
public Collection<TemplateParameterFacade> getTemplateParameters()
getTemplateParameters
in interface ModelElementFacade
ModelElementFacade.getTemplateParameters()
public String getVisibility()
getVisibility
in interface ModelElementFacade
ModelElementFacade.getVisibility()
public boolean hasExactStereotype(String stereotypeName)
hasExactStereotype
in interface ModelElementFacade
ModelElementFacade.hasExactStereotype(String stereotypeName)
public boolean hasKeyword(String keywordName)
hasKeyword
in interface ModelElementFacade
ModelElementFacade.hasKeyword(String keywordName)
public boolean hasStereotype(String stereotypeName)
hasStereotype
in interface ModelElementFacade
ModelElementFacade.hasStereotype(String stereotypeName)
public boolean isBindingDependenciesPresent()
isBindingDependenciesPresent
in interface ModelElementFacade
ModelElementFacade.isBindingDependenciesPresent()
public boolean isConstraintsPresent()
isConstraintsPresent
in interface ModelElementFacade
ModelElementFacade.isConstraintsPresent()
public boolean isDocumentationPresent()
isDocumentationPresent
in interface ModelElementFacade
ModelElementFacade.isDocumentationPresent()
public boolean isReservedWord()
isReservedWord
in interface ModelElementFacade
ModelElementFacade.isReservedWord()
public boolean isTemplateParametersPresent()
isTemplateParametersPresent
in interface ModelElementFacade
ModelElementFacade.isTemplateParametersPresent()
public boolean isValidIdentifierName()
isValidIdentifierName
in interface ModelElementFacade
ModelElementFacade.isValidIdentifierName()
public String translateConstraint(String name, String translation)
translateConstraint
in interface ModelElementFacade
ModelElementFacade.translateConstraint(String name, String translation)
public String[] translateConstraints(String translation)
translateConstraints
in interface ModelElementFacade
ModelElementFacade.translateConstraints(String translation)
public String[] translateConstraints(String kind, String translation)
translateConstraints
in interface ModelElementFacade
ModelElementFacade.translateConstraints(String kind, String translation)
public StateFacade getContainer()
getContainer
in interface StateVertexFacade
StateVertexFacade.getContainer()
public Collection<TransitionFacade> getIncomings()
getIncomings
in interface StateVertexFacade
StateVertexFacade.getIncomings()
public Collection<TransitionFacade> getOutgoings()
getOutgoings
in interface StateVertexFacade
StateVertexFacade.getOutgoings()
public PartitionFacade getPartition()
getPartition
in interface StateVertexFacade
StateVertexFacade.getPartition()
public StateMachineFacade getStateMachine()
getStateMachine
in interface StateVertexFacade
StateVertexFacade.getStateMachine()
public boolean isChoice()
isChoice
in interface PseudostateFacade
PseudostateFacade.isChoice()
public boolean isCollect()
isCollect
in interface PseudostateFacade
PseudostateFacade.isCollect()
public boolean isDecisionPoint()
isDecisionPoint
in interface PseudostateFacade
PseudostateFacade.isDecisionPoint()
public boolean isDeepHistory()
isDeepHistory
in interface PseudostateFacade
PseudostateFacade.isDeepHistory()
public boolean isFork()
isFork
in interface PseudostateFacade
PseudostateFacade.isFork()
public boolean isInitialState()
isInitialState
in interface PseudostateFacade
PseudostateFacade.isInitialState()
public boolean isJoin()
isJoin
in interface PseudostateFacade
PseudostateFacade.isJoin()
public boolean isJunction()
isJunction
in interface PseudostateFacade
PseudostateFacade.isJunction()
public boolean isMergePoint()
isMergePoint
in interface PseudostateFacade
PseudostateFacade.isMergePoint()
public boolean isShallowHistory()
isShallowHistory
in interface PseudostateFacade
PseudostateFacade.isShallowHistory()
public boolean isSplit()
isSplit
in interface PseudostateFacade
PseudostateFacade.isSplit()
public void initialize()
initialize
in interface ModelElementFacade
initialize
in class MetafacadeBase
MetafacadeBase.initialize()
public Object getValidationOwner()
getValidationOwner
in interface ModelElementFacade
getValidationOwner
in class MetafacadeBase
MetafacadeBase.getValidationOwner()
public String getValidationName()
getValidationName
in interface ModelElementFacade
getValidationName
in class MetafacadeBase
MetafacadeBase.getValidationName()
public void validateInvariants(Collection<ModelValidationMessage> validationMessages)
Constraint: org::andromda::cartridges::jbpm::metafacades::JBpmPseudostate::fork needs a name
Error: When you model a fork you must give it a (non-empty) name.
OCL: context JBpmPseudostate inv: split implies name->notEmpty()
Constraint: org::andromda::cartridges::jbpm::metafacades::JBpmPseudostate::decision needs a name
Error: When you model a decision point you must give it a (non-empty) name.
OCL: context JBpmPseudostate inv: decisionPoint implies name->notEmpty()
Constraint: org::andromda::cartridges::jbpm::metafacades::JBpmPseudostate::join needs a name
Error: When you model a join you must give it a (non-empty) name.
OCL: context JBpmPseudostate inv: collect implies name->notEmpty()
Constraint: org::andromda::cartridges::jbpm::metafacades::JBpmPseudostate::outgoing transitions need guards when exiting a pseudostate
Error: Transitions exiting a decision point each need a guard.
OCL: context JBpmPseudostate inv: decisionPoint implies outgoings->forAll(guard->notEmpty())
Constraint: org::andromda::cartridges::jbpm::metafacades::JBpmPseudostate::split needs names on all outgoing transitions
Error: All fork-nodes require their outgoing transitions to have a non-empty name, otherwise jBpm will not be able to distinguish between them when creating child tokens.
OCL: context JBpmPseudostate inv: split implies outgoings->forAll(name|name->notEmpty())
validateInvariants
in interface ModelElementFacade
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.