public abstract class JSFForwardLogic extends MetafacadeBase implements JSFForward
JSFForward,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected Object |
metaObject
The underlying UML object
|
contextRoot| Modifier | Constructor and Description |
|---|---|
protected |
JSFForwardLogic(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 |
getActionMethodName()
The method name used to delegate to this forward.
|
List<FrontEndAction> |
getActions()
The front-end actions directly containing this front-end forward.
|
String |
getBindedFullyQualifiedName(ModelElementFacade bindedElement)
Returns the fully qualified name of the model element.
|
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.
|
FrontEndEvent |
getDecisionTrigger()
The trigger for this front-end forward.
|
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.
|
ActionFacade |
getEffect()
An action is a named element that is the fundamental unit of executable functionality.
|
List<FrontEndParameter> |
getForwardParameters()
Tthe set of parameter used during transport in this forward.
|
String |
getFromOutcome()
The name that corresponds to the from-outcome in an navigational rule.
|
FrontEndActivityGraph |
getFrontEndActivityGraph()
The activity graph which holds this forward if the graph is contained in a FrontEndUseCase.
|
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
'/'.
|
GuardFacade |
getGuard()
A representation of the model object 'Constraint'.
|
String |
getId()
Gets the unique identifier of the underlying model element.
|
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.
|
FrontEndControllerOperation |
getOperationCall()
The operation to which is called during execution of this front-end forward.
|
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 '/'.
|
String |
getPath()
The path to which this forward points.
|
String |
getQualifiedName()
UML2: Returns the value of the 'Qualified Name' attribute.
|
PackageFacade |
getRootPackage()
Gets the root package for the model element.
|
StateVertexFacade |
getSource()
A representation of the model object 'Vertex'.
|
Collection<DependencyFacade> |
getSourceDependencies()
Gets the dependencies for which this model element is the source.
|
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.
|
Map |
getSuccessMessages()
Messages used to indicate successful execution.
|
Collection<TaggedValueFacade> |
getTaggedValues()
Return the TaggedValues associated with this model element, under all stereotypes.
|
StateVertexFacade |
getTarget()
A representation of the model object 'Vertex'.
|
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
|
EventFacade |
getTrigger()
If a trigger is present on this transition, this event represents that trigger.
|
FrontEndUseCase |
getUseCase()
The use case in which this forward is contained.
|
String |
getValidationName() |
Object |
getValidationOwner() |
String |
getVisibility()
The visibility (i.e.
|
Map |
getWarningMessages()
Any messages used to indicate a warning.
|
protected abstract String |
handleGetFromOutcome() |
protected abstract String |
handleGetPath() |
protected abstract Map |
handleGetSuccessMessages() |
protected abstract Map |
handleGetWarningMessages() |
protected abstract boolean |
handleIsFinalStateTarget() |
protected abstract boolean |
handleIsSuccessMessagesPresent() |
protected abstract boolean |
handleIsWarningMessagesPresent() |
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 |
isConstraintsPresent()
Indicates if any constraints are present on this model element.
|
boolean |
isContainedInFrontEndUseCase()
Indicates if this forward is contained in a FrontEndUseCase.
|
boolean |
isDocumentationPresent()
Indicates if any documentation is present on this model element.
|
boolean |
isEnteringActionState()
TODO: Model Documentation for
org.andromda.metafacades.uml.TransitionFacade.enteringActionState
|
boolean |
isEnteringDecisionPoint()
TODO: Model Documentation for
org.andromda.metafacades.uml.TransitionFacade.enteringDecisionPoint
|
boolean |
isEnteringFinalState()
TODO: Model Documentation for
org.andromda.metafacades.uml.TransitionFacade.enteringFinalState
|
boolean |
isEnteringView()
Indicates if this action directly targets a "front-end" view, false otherwise.
|
boolean |
isExitingActionState()
TODO: Model Documentation for
org.andromda.metafacades.uml.TransitionFacade.exitingActionState
|
boolean |
isExitingDecisionPoint()
TODO: Model Documentation for
org.andromda.metafacades.uml.TransitionFacade.exitingDecisionPoint
|
boolean |
isExitingInitialState()
TODO: Model Documentation for
org.andromda.metafacades.uml.TransitionFacade.exitingInitialState
|
boolean |
isExitingView()
Indicates if this forward (transition) is coming out of a front-end view.
|
boolean |
isFinalStateTarget()
Indicates whether or not a final state is the target of this forward.
|
boolean |
isFrontEndForwardMetaType() |
boolean |
isJSFForwardMetaType()
Indicates the metafacade type (used for metafacade mappings).
|
boolean |
isModelElementFacadeMetaType() |
boolean |
isReservedWord()
True if this element name is a reserved word in Java, C#, ANSI or ISO C, C++, JavaScript.
|
boolean |
isSuccessMessagesPresent()
Indicates whether or not any success messags are present.
|
boolean |
isTemplateParametersPresent()
True is there are template parameters on this model element.
|
boolean |
isTransitionFacadeMetaType() |
boolean |
isTriggerPresent()
TODO: Model Documentation for org.andromda.metafacades.uml.TransitionFacade.triggerPresent
|
boolean |
isValidIdentifierName()
True if this element name is a valid identifier name in Java, C#, ANSI or ISO C, C++,
JavaScript.
|
boolean |
isWarningMessagesPresent()
Whether or not any warning messages are present.
|
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::jsf::metafacades::JSFForward::decision forwards need a controller operation with a non-void return type
|
compareTo, equals, getConfiguredProperty, getDebug, getMetafacadeContext, getMetaObject, hashCode, isConfiguredProperty, isMetafacadePropertyCachingEnabled, setMetafacadeContext, setProperty, shieldedElement, shieldedElements, THIS, validateprotected Object metaObject
Objectprotected JSFForwardLogic(Object metaObjectIn, String context)
metaObjectIn - context - public void resetMetafacadeContext(String context)
resetMetafacadeContext in class MetafacadeBasecontext - MetafacadeBase.resetMetafacadeContext(String context)public boolean isJSFForwardMetaType()
JSFForwardisJSFForwardMetaType in interface JSFForwardJSFForwardprotected abstract String handleGetPath()
JSFForward.getPath()public final String getPath()
getPath in interface JSFForwardprotected abstract boolean handleIsFinalStateTarget()
JSFForward.isFinalStateTarget()public final boolean isFinalStateTarget()
isFinalStateTarget in interface JSFForwardprotected abstract String handleGetFromOutcome()
JSFForward.getFromOutcome()public final String getFromOutcome()
getFromOutcome in interface JSFForwardprotected abstract Map handleGetSuccessMessages()
JSFForward.getSuccessMessages()public final Map getSuccessMessages()
getSuccessMessages in interface JSFForwardprotected abstract boolean handleIsSuccessMessagesPresent()
JSFForward.isSuccessMessagesPresent()public final boolean isSuccessMessagesPresent()
isSuccessMessagesPresent in interface JSFForwardprotected abstract Map handleGetWarningMessages()
JSFForward.getWarningMessages()public final Map getWarningMessages()
getWarningMessages in interface JSFForwardprotected abstract boolean handleIsWarningMessagesPresent()
JSFForward.isWarningMessagesPresent()public final boolean isWarningMessagesPresent()
isWarningMessagesPresent in interface JSFForwardpublic boolean isFrontEndForwardMetaType()
isFrontEndForwardMetaType in interface FrontEndForwardFrontEndForwardpublic boolean isTransitionFacadeMetaType()
isTransitionFacadeMetaType in interface TransitionFacadeTransitionFacadepublic boolean isModelElementFacadeMetaType()
isModelElementFacadeMetaType in interface ModelElementFacadeModelElementFacadepublic String getActionMethodName()
getActionMethodName in interface FrontEndForwardFrontEndForward.getActionMethodName()public List<FrontEndAction> getActions()
getActions in interface FrontEndForwardFrontEndForward.getActions()public FrontEndEvent getDecisionTrigger()
getDecisionTrigger in interface FrontEndForwardFrontEndForward.getDecisionTrigger()public List<FrontEndParameter> getForwardParameters()
getForwardParameters in interface FrontEndForwardFrontEndForward.getForwardParameters()public FrontEndActivityGraph getFrontEndActivityGraph()
getFrontEndActivityGraph in interface FrontEndForwardFrontEndForward.getFrontEndActivityGraph()public FrontEndControllerOperation getOperationCall()
getOperationCall in interface FrontEndForwardFrontEndForward.getOperationCall()public FrontEndUseCase getUseCase()
getUseCase in interface FrontEndForwardFrontEndForward.getUseCase()public boolean isContainedInFrontEndUseCase()
isContainedInFrontEndUseCase in interface FrontEndForwardFrontEndForward.isContainedInFrontEndUseCase()public boolean isEnteringView()
isEnteringView in interface FrontEndForwardFrontEndForward.isEnteringView()public boolean isExitingView()
isExitingView in interface FrontEndForwardFrontEndForward.isExitingView()public void copyTaggedValues(ModelElementFacade element)
copyTaggedValues in interface ModelElementFacadeModelElementFacade.copyTaggedValues(ModelElementFacade element)public Object findTaggedValue(String tagName)
findTaggedValue in interface ModelElementFacadeModelElementFacade.findTaggedValue(String tagName)public Collection<Object> findTaggedValues(String tagName)
findTaggedValues in interface ModelElementFacadeModelElementFacade.findTaggedValues(String tagName)public String getBindedFullyQualifiedName(ModelElementFacade bindedElement)
getBindedFullyQualifiedName in interface ModelElementFacadeModelElementFacade.getBindedFullyQualifiedName(ModelElementFacade bindedElement)public Collection<ConstraintFacade> getConstraints()
getConstraints in interface ModelElementFacadeModelElementFacade.getConstraints()public Collection<ConstraintFacade> getConstraints(String kind)
getConstraints in interface ModelElementFacadeModelElementFacade.getConstraints(String kind)public String getDocumentation(String indent)
getDocumentation(indent, 64).getDocumentation in interface ModelElementFacadeModelElementFacade.getDocumentation(String indent)public String getDocumentation(String indent, int lineLength)
getDocumentation(indent, lineLength, true).getDocumentation in interface ModelElementFacadeModelElementFacade.getDocumentation(String indent, int lineLength)public String getDocumentation(String indent, int lineLength, boolean htmlStyle)
getDocumentation in interface ModelElementFacadeModelElementFacade.getDocumentation(String indent, int lineLength, boolean htmlStyle)public String getFullyQualifiedName()
getFullyQualifiedName in interface ModelElementFacadeModelElementFacade.getFullyQualifiedName()public String getFullyQualifiedName(boolean modelName)
getFullyQualifiedName in interface ModelElementFacadeModelElementFacade.getFullyQualifiedName(boolean modelName)public String getFullyQualifiedNamePath()
getFullyQualifiedNamePath in interface ModelElementFacadeModelElementFacade.getFullyQualifiedNamePath()public String getId()
getId in interface ModelElementFacadeModelElementFacade.getId()public Collection<String> getKeywords()
getKeywords in interface ModelElementFacadeModelElementFacade.getKeywords()public String getLabel()
getLabel in interface ModelElementFacadeModelElementFacade.getLabel()public TypeMappings getLanguageMappings()
getLanguageMappings in interface ModelElementFacadeModelElementFacade.getLanguageMappings()public ModelFacade getModel()
getModel in interface ModelElementFacadeModelElementFacade.getModel()public String getName()
getName in interface ModelElementFacadeModelElementFacade.getName()public ModelElementFacade getPackage()
getPackage in interface ModelElementFacadeModelElementFacade.getPackage()public String getPackageName()
getPackageName in interface ModelElementFacadeModelElementFacade.getPackageName()public String getPackageName(boolean modelName)
getPackageName in interface ModelElementFacadeModelElementFacade.getPackageName(boolean modelName)public String getPackagePath()
getPackagePath in interface ModelElementFacadeModelElementFacade.getPackagePath()public String getQualifiedName()
getQualifiedName in interface ModelElementFacadeModelElementFacade.getQualifiedName()public PackageFacade getRootPackage()
getRootPackage in interface ModelElementFacadeModelElementFacade.getRootPackage()public Collection<DependencyFacade> getSourceDependencies()
getSourceDependencies in interface ModelElementFacadeModelElementFacade.getSourceDependencies()public StateMachineFacade getStateMachineContext()
getStateMachineContext in interface ModelElementFacadeModelElementFacade.getStateMachineContext()public Collection<String> getStereotypeNames()
getStereotypeNames in interface ModelElementFacadeModelElementFacade.getStereotypeNames()public Collection<StereotypeFacade> getStereotypes()
getStereotypes in interface ModelElementFacadeModelElementFacade.getStereotypes()public Collection<TaggedValueFacade> getTaggedValues()
getTaggedValues in interface ModelElementFacadeModelElementFacade.getTaggedValues()public Collection<DependencyFacade> getTargetDependencies()
getTargetDependencies in interface ModelElementFacadeModelElementFacade.getTargetDependencies()public Object getTemplateParameter(String parameterName)
getTemplateParameter in interface ModelElementFacadeModelElementFacade.getTemplateParameter(String parameterName)public Collection<TemplateParameterFacade> getTemplateParameters()
getTemplateParameters in interface ModelElementFacadeModelElementFacade.getTemplateParameters()public String getVisibility()
getVisibility in interface ModelElementFacadeModelElementFacade.getVisibility()public boolean hasExactStereotype(String stereotypeName)
hasExactStereotype in interface ModelElementFacadeModelElementFacade.hasExactStereotype(String stereotypeName)public boolean hasKeyword(String keywordName)
hasKeyword in interface ModelElementFacadeModelElementFacade.hasKeyword(String keywordName)public boolean hasStereotype(String stereotypeName)
hasStereotype in interface ModelElementFacadeModelElementFacade.hasStereotype(String stereotypeName)public boolean isBindingDependenciesPresent()
isBindingDependenciesPresent in interface ModelElementFacadeModelElementFacade.isBindingDependenciesPresent()public boolean isConstraintsPresent()
isConstraintsPresent in interface ModelElementFacadeModelElementFacade.isConstraintsPresent()public boolean isDocumentationPresent()
isDocumentationPresent in interface ModelElementFacadeModelElementFacade.isDocumentationPresent()public boolean isReservedWord()
isReservedWord in interface ModelElementFacadeModelElementFacade.isReservedWord()public boolean isTemplateParametersPresent()
isTemplateParametersPresent in interface ModelElementFacadeModelElementFacade.isTemplateParametersPresent()public boolean isValidIdentifierName()
isValidIdentifierName in interface ModelElementFacadeModelElementFacade.isValidIdentifierName()public String translateConstraint(String name, String translation)
translateConstraint in interface ModelElementFacadeModelElementFacade.translateConstraint(String name, String translation)public String[] translateConstraints(String translation)
translateConstraints in interface ModelElementFacadeModelElementFacade.translateConstraints(String translation)public String[] translateConstraints(String kind, String translation)
translateConstraints in interface ModelElementFacadeModelElementFacade.translateConstraints(String kind, String translation)public ActionFacade getEffect()
getEffect in interface TransitionFacadeTransitionFacade.getEffect()public GuardFacade getGuard()
getGuard in interface TransitionFacadeTransitionFacade.getGuard()public StateVertexFacade getSource()
getSource in interface TransitionFacadeTransitionFacade.getSource()public StateVertexFacade getTarget()
getTarget in interface TransitionFacadeTransitionFacade.getTarget()public EventFacade getTrigger()
getTrigger in interface TransitionFacadeTransitionFacade.getTrigger()public boolean isEnteringActionState()
isEnteringActionState in interface TransitionFacadeTransitionFacade.isEnteringActionState()public boolean isEnteringDecisionPoint()
isEnteringDecisionPoint in interface TransitionFacadeTransitionFacade.isEnteringDecisionPoint()public boolean isEnteringFinalState()
isEnteringFinalState in interface TransitionFacadeTransitionFacade.isEnteringFinalState()public boolean isExitingActionState()
isExitingActionState in interface TransitionFacadeTransitionFacade.isExitingActionState()public boolean isExitingDecisionPoint()
isExitingDecisionPoint in interface TransitionFacadeTransitionFacade.isExitingDecisionPoint()public boolean isExitingInitialState()
isExitingInitialState in interface TransitionFacadeTransitionFacade.isExitingInitialState()public boolean isTriggerPresent()
isTriggerPresent in interface TransitionFacadeTransitionFacade.isTriggerPresent()public void initialize()
initialize in interface ModelElementFacadeinitialize in class MetafacadeBaseMetafacadeBase.initialize()public Object getValidationOwner()
getValidationOwner in interface ModelElementFacadegetValidationOwner in class MetafacadeBaseMetafacadeBase.getValidationOwner()public String getValidationName()
getValidationName in interface ModelElementFacadegetValidationName in class MetafacadeBaseMetafacadeBase.getValidationName()public void validateInvariants(Collection<ModelValidationMessage> validationMessages)
Constraint: org::andromda::cartridges::jsf::metafacades::JSFForward::decision forwards need a controller operation with a non-void return type
Error: If a transition is going into a decision point you will need to defer to an operation with a non-void return type. You will need to model this on the transition's trigger.
OCL: context JSFForward inv: enteringDecisionPoint implies (decisionTrigger->notEmpty() and operationCall->notEmpty() and operationCall.returnTypePresent)
validateInvariants in interface ModelElementFacadevalidateInvariants in class MetafacadeBasevalidationMessages - CollectionMetafacadeBase.validateInvariants(Collection validationMessages)public String toString()
toString in class MetafacadeBaseObject.toString()Copyright © 2003–2014 AndroMDA.org. All rights reserved.