public abstract class FrontEndActionLogic extends FrontEndForwardLogicImpl implements FrontEndAction
FrontEndAction,
Serialized Form| Modifier 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, handleIsExitingViewgetActionMethodName, getActions, getDecisionTrigger, getForwardParameters, getFrontEndActivityGraph, getOperationCall, getUseCase, isContainedInFrontEndUseCase, isEnteringView, isExitingView, isFrontEndForwardMetaTypehandleGetEffect, handleGetGuard, handleGetSource, handleGetTarget, handleGetTrigger, handleGetValidationOwner, handleIsEnteringActionState, handleIsEnteringDecisionPoint, handleIsEnteringFinalState, handleIsExitingActionState, handleIsExitingDecisionPoint, handleIsExitingInitialState, handleIsTriggerPresentgetEffect, getGuard, getSource, getTarget, getTrigger, isEnteringActionState, isEnteringDecisionPoint, isEnteringFinalState, isExitingActionState, isExitingDecisionPoint, isExitingInitialState, isTransitionFacadeMetaType, isTriggerPresentgetArraySuffix, 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, handleTranslateConstraintscopyTaggedValues, 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, translateConstraintscompareTo, equals, getConfiguredProperty, getDebug, getMetafacadeContext, getMetaObject, getValidationOwner, hashCode, initialize, isConfiguredProperty, isMetafacadePropertyCachingEnabled, setMetafacadeContext, setProperty, shieldedElement, shieldedElements, THIS, validateclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetActionMethodName, getActions, getDecisionTrigger, getForwardParameters, getFrontEndActivityGraph, getOperationCall, getUseCase, isContainedInFrontEndUseCase, isEnteringView, isExitingView, isFrontEndForwardMetaTypegetEffect, getGuard, getSource, getTarget, getTrigger, isEnteringActionState, isEnteringDecisionPoint, isEnteringFinalState, isExitingActionState, isExitingDecisionPoint, isExitingInitialState, isTransitionFacadeMetaType, isTriggerPresentcopyTaggedValues, 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, translateConstraintsprotected Object metaObject
Objectprotected FrontEndActionLogic(Object metaObjectIn, String context)
metaObjectIn - context - public void resetMetafacadeContext(String context)
resetMetafacadeContext in class FrontEndForwardLogiccontext - public boolean isFrontEndActionMetaType()
isFrontEndActionMetaType in interface FrontEndActionFrontEndActionprotected abstract boolean handleIsUseCaseStart()
FrontEndAction.isUseCaseStart()public final boolean isUseCaseStart()
isUseCaseStart in interface FrontEndActionprotected abstract ParameterFacade handleFindParameter(String name)
name - public ParameterFacade findParameter(String name)
findParameter in interface FrontEndActionname - String
The name of the parameter to find on the owner action.public final List<FrontEndForward> getDecisionTransitions()
getDecisionTransitions in interface FrontEndActionprotected abstract List handleGetDecisionTransitions()
public final List<FrontEndForward> getActionForwards()
getActionForwards in interface FrontEndActionprotected abstract List handleGetActionForwards()
public final List<FrontEndForward> getTransitions()
getTransitions in interface FrontEndActionprotected abstract List handleGetTransitions()
public final FrontEndController getController()
getController in interface FrontEndActionprotected abstract Object handleGetController()
public final List<FrontEndParameter> getParameters()
getParameters in interface FrontEndActionprotected abstract List handleGetParameters()
public final List<FrontEndActionState> getActionStates()
getActionStates in interface FrontEndActionprotected abstract List handleGetActionStates()
handleGetActionStates in class FrontEndForwardLogicImplFrontEndAction.getActionStates()public final List<FrontEndParameter> getFormFields()
getFormFields in interface FrontEndActionprotected abstract List handleGetFormFields()
public final List<FrontEndView> getTargetViews()
getTargetViews in interface FrontEndActionprotected abstract List handleGetTargetViews()
public final List<FrontEndControllerOperation> getDeferredOperations()
getDeferredOperations in interface FrontEndActionprotected abstract List handleGetDeferredOperations()
public final StateVertexFacade getInput()
getInput in interface FrontEndActionprotected 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 ModelElementFacadevalidateInvariants in class FrontEndForwardLogicvalidationMessages - CollectionFrontEndForwardLogic.validateInvariants(Collection validationMessages)Copyright © 2003–2014 AndroMDA.org. All rights reserved.