public abstract class FrontEndActionLogic extends FrontEndForwardLogicImpl implements FrontEndAction
FrontEndAction
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected Object |
metaObject
The underlying UML object
|
contextRoot
Modifier | Constructor and Description |
---|---|
protected |
FrontEndActionLogic(Object metaObjectIn,
String context)
Create Metafacade implementation instance using the MetafacadeFactory from the context
|
Modifier and Type | Method and Description |
---|---|
ParameterFacade |
findParameter(String name)
Finds the parameter on this action having the given name, if no parameter is found, null is
returned instead.
|
List<FrontEndForward> |
getActionForwards()
Represents a "front-end" action.
|
List<FrontEndActionState> |
getActionStates()
The actions that pass through this action state.
|
FrontEndController |
getController()
All actions that defer to at least one operation of this controller.
|
List<FrontEndForward> |
getDecisionTransitions()
Represents a "front-end" action.
|
List<FrontEndControllerOperation> |
getDeferredOperations()
All those actions that contain at least one front-end action state that is deferring to this
operation.
|
List<FrontEndParameter> |
getFormFields()
Represents a "front-end" action.
|
StateVertexFacade |
getInput()
Represents a "front-end" action.
|
List<FrontEndParameter> |
getParameters()
The action to which this parameter belongs (if it belongs to an action), otherwise it returns
null.
|
List<FrontEndView> |
getTargetViews()
Represents a "front-end" action.
|
List<FrontEndForward> |
getTransitions()
The front-end actions directly containing this front-end forward.
|
protected abstract ParameterFacade |
handleFindParameter(String name)
Method to be implemented in descendants
Finds the parameter on this action having the given name, if no parameter is found, null is
returned instead.
|
protected abstract List |
handleGetActionForwards()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract List |
handleGetActionStates()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract Object |
handleGetController()
UML Specific type is transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract List |
handleGetDecisionTransitions()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract List |
handleGetDeferredOperations()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract List |
handleGetFormFields()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract Object |
handleGetInput()
UML Specific type is transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract List |
handleGetParameters()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract List |
handleGetTargetViews()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract List |
handleGetTransitions()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract boolean |
handleIsUseCaseStart() |
boolean |
isFrontEndActionMetaType() |
boolean |
isUseCaseStart()
Indicates if this action represents the beginning of the front-end use case or not.
|
void |
resetMetafacadeContext(String context)
Reset context only for non-root metafacades
|
void |
validateInvariants(Collection<ModelValidationMessage> validationMessages)
Constraint: org::andromda::metafacades::uml::FrontEndAction::parameters must be unique
|
handleGetActionMethodName, handleGetActions, handleGetDecisionTrigger, handleGetForwardParameters, handleGetFrontEndActivityGraph, handleGetName, handleGetOperationCall, handleGetPackageName, handleGetUseCase, handleIsContainedInFrontEndUseCase, handleIsEnteringView, handleIsExitingView
getActionMethodName, getActions, getDecisionTrigger, getForwardParameters, getFrontEndActivityGraph, getOperationCall, getUseCase, isContainedInFrontEndUseCase, isEnteringView, isExitingView, isFrontEndForwardMetaType
handleGetEffect, handleGetGuard, handleGetSource, handleGetTarget, handleGetTrigger, handleGetValidationOwner, handleIsEnteringActionState, handleIsEnteringDecisionPoint, handleIsEnteringFinalState, handleIsExitingActionState, handleIsExitingDecisionPoint, handleIsExitingInitialState, handleIsTriggerPresent
getEffect, getGuard, getSource, getTarget, getTrigger, isEnteringActionState, isEnteringDecisionPoint, isEnteringFinalState, isExitingActionState, isExitingDecisionPoint, isExitingInitialState, isTransitionFacadeMetaType, isTriggerPresent
getArraySuffix, getValidationName, handleCopyTaggedValues, handleFindTaggedValue, handleFindTaggedValues, handleGetBindedFullyQualifiedName, handleGetConstraints, handleGetConstraints, handleGetDocumentation, handleGetDocumentation, handleGetDocumentation, handleGetFullyQualifiedName, handleGetFullyQualifiedName, handleGetFullyQualifiedNamePath, handleGetId, handleGetKeywords, handleGetLabel, handleGetLanguageMappings, handleGetModel, handleGetOwnedElements, handleGetOwner, handleGetPackage, handleGetPackageName, handleGetPackagePath, handleGetQualifiedName, handleGetRootPackage, handleGetSourceDependencies, handleGetStateMachineContext, handleGetStereotypeNames, handleGetStereotypes, handleGetTaggedValues, handleGetTargetDependencies, handleGetTemplateParameter, handleGetTemplateParameters, handleGetVisibility, handleHasExactStereotype, handleHasKeyword, handleHasStereotype, handleIsBindingDependenciesPresent, handleIsConstraintsPresent, handleIsDocumentationPresent, handleIsReservedWord, handleIsTemplateParametersPresent, handleIsValidIdentifierName, handleTranslateConstraint, handleTranslateConstraints, handleTranslateConstraints
copyTaggedValues, findTaggedValue, findTaggedValues, getBindedFullyQualifiedName, getConstraints, getConstraints, getDocumentation, getDocumentation, getDocumentation, getFullyQualifiedName, getFullyQualifiedName, getFullyQualifiedNamePath, getId, getKeywords, getLabel, getLanguageMappings, getModel, getName, getPackage, getPackageName, getPackageName, getPackagePath, getQualifiedName, getRootPackage, getSourceDependencies, getStateMachineContext, getStereotypeNames, getStereotypes, getTaggedValues, getTargetDependencies, getTemplateParameter, getTemplateParameters, getVisibility, hasExactStereotype, hasKeyword, hasStereotype, isBindingDependenciesPresent, isConstraintsPresent, isDocumentationPresent, isModelElementFacadeMetaType, isReservedWord, isTemplateParametersPresent, isValidIdentifierName, toString, translateConstraint, translateConstraints, translateConstraints
compareTo, equals, getConfiguredProperty, getDebug, getMetafacadeContext, getMetaObject, getValidationOwner, hashCode, initialize, isConfiguredProperty, isMetafacadePropertyCachingEnabled, setMetafacadeContext, setProperty, shieldedElement, shieldedElements, THIS, validate
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getActionMethodName, getActions, getDecisionTrigger, getForwardParameters, getFrontEndActivityGraph, getOperationCall, getUseCase, isContainedInFrontEndUseCase, isEnteringView, isExitingView, isFrontEndForwardMetaType
getEffect, getGuard, getSource, getTarget, getTrigger, isEnteringActionState, isEnteringDecisionPoint, isEnteringFinalState, isExitingActionState, isExitingDecisionPoint, isExitingInitialState, isTransitionFacadeMetaType, isTriggerPresent
copyTaggedValues, findTaggedValue, findTaggedValues, getBindedFullyQualifiedName, getConstraints, getConstraints, getDocumentation, getDocumentation, getDocumentation, getFullyQualifiedName, getFullyQualifiedName, getFullyQualifiedNamePath, getId, getKeywords, getLabel, getLanguageMappings, getModel, getName, getPackage, getPackageName, getPackageName, getPackagePath, getQualifiedName, getRootPackage, getSourceDependencies, getStateMachineContext, getStereotypeNames, getStereotypes, getTaggedValues, getTargetDependencies, getTemplateParameter, getTemplateParameters, getValidationName, getValidationOwner, getVisibility, hasExactStereotype, hasKeyword, hasStereotype, initialize, isBindingDependenciesPresent, isConstraintsPresent, isDocumentationPresent, isModelElementFacadeMetaType, isReservedWord, isTemplateParametersPresent, isValidIdentifierName, translateConstraint, translateConstraints, translateConstraints
protected Object metaObject
Object
protected FrontEndActionLogic(Object metaObjectIn, String context)
metaObjectIn
- context
- public void resetMetafacadeContext(String context)
resetMetafacadeContext
in class FrontEndForwardLogic
context
- public boolean isFrontEndActionMetaType()
isFrontEndActionMetaType
in interface FrontEndAction
FrontEndAction
protected abstract boolean handleIsUseCaseStart()
FrontEndAction.isUseCaseStart()
public final boolean isUseCaseStart()
isUseCaseStart
in interface FrontEndAction
protected abstract ParameterFacade handleFindParameter(String name)
name
- public ParameterFacade findParameter(String name)
findParameter
in interface FrontEndAction
name
- String
The name of the parameter to find on the owner action.public final List<FrontEndForward> getDecisionTransitions()
getDecisionTransitions
in interface FrontEndAction
protected abstract List handleGetDecisionTransitions()
public final List<FrontEndForward> getActionForwards()
getActionForwards
in interface FrontEndAction
protected abstract List handleGetActionForwards()
public final List<FrontEndForward> getTransitions()
getTransitions
in interface FrontEndAction
protected abstract List handleGetTransitions()
public final FrontEndController getController()
getController
in interface FrontEndAction
protected abstract Object handleGetController()
public final List<FrontEndParameter> getParameters()
getParameters
in interface FrontEndAction
protected abstract List handleGetParameters()
public final List<FrontEndActionState> getActionStates()
getActionStates
in interface FrontEndAction
protected abstract List handleGetActionStates()
handleGetActionStates
in class FrontEndForwardLogicImpl
FrontEndAction.getActionStates()
public final List<FrontEndParameter> getFormFields()
getFormFields
in interface FrontEndAction
protected abstract List handleGetFormFields()
public final List<FrontEndView> getTargetViews()
getTargetViews
in interface FrontEndAction
protected abstract List handleGetTargetViews()
public final List<FrontEndControllerOperation> getDeferredOperations()
getDeferredOperations
in interface FrontEndAction
protected abstract List handleGetDeferredOperations()
public final StateVertexFacade getInput()
getInput
in interface FrontEndAction
protected abstract Object handleGetInput()
public void validateInvariants(Collection<ModelValidationMessage> validationMessages)
Constraint: org::andromda::metafacades::uml::FrontEndAction::parameters must be unique
Error: Each front-end action parameter must have a unique name.
OCL: context FrontEndAction inv : parameters -> isUnique(name)
Constraint: org::andromda::metafacades::uml::FrontEndAction::each action must carry a trigger
Error: Each action transition coming out of a view must have a trigger (the name is sufficient), it is recommended to add a trigger of type 'signal'.
OCL: context FrontEndAction inv: exitingView implies triggerPresent
validateInvariants
in interface ModelElementFacade
validateInvariants
in class FrontEndForwardLogic
validationMessages
- CollectionFrontEndForwardLogic.validateInvariants(Collection validationMessages)
Copyright © 2003–2014 AndroMDA.org. All rights reserved.