public abstract class FrontEndActionStateLogic extends ActionStateFacadeLogicImpl implements FrontEndActionState
FrontEndActionState
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected Object |
metaObject
The underlying UML object
|
contextRoot
Modifier | Constructor and Description |
---|---|
protected |
FrontEndActionStateLogic(Object metaObjectIn,
String context)
Create Metafacade implementation instance using the MetafacadeFactory from the context
|
Modifier and Type | Method and Description |
---|---|
String |
getActionMethodName()
The method name representing this action state.
|
List<FrontEndAction> |
getContainerActions()
All action states visited by this action.
|
List<OperationFacade> |
getControllerCalls()
Represents an operation on the server called by an action.
|
List<FrontEndExceptionHandler> |
getExceptions()
Represents an operation on the server called by an action.
|
FrontEndForward |
getForward()
Represents an operation on the server called by an action.
|
List<OperationFacade> |
getServiceCalls()
All calls deferred to the controller by this action state.
|
protected abstract String |
handleGetActionMethodName() |
protected abstract List |
handleGetContainerActions()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract List |
handleGetControllerCalls()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract List |
handleGetExceptions()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract Object |
handleGetForward()
UML Specific type is transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract List<OperationFacade> |
handleGetServiceCalls() |
protected abstract boolean |
handleIsContainedInFrontEndUseCase() |
protected abstract boolean |
handleIsServerSide() |
boolean |
isContainedInFrontEndUseCase()
True if this element is contained in a FrontEndUseCase.
|
boolean |
isFrontEndActionStateMetaType() |
boolean |
isServerSide()
Indicates whether or not this front end action state is server side.
|
void |
resetMetafacadeContext(String context)
Reset context only for non-root metafacades
|
void |
validateInvariants(Collection<ModelValidationMessage> validationMessages)
Constraint: org::andromda::metafacades::uml::FrontEndActionState::each front-end action state must have a name
|
handleGetEntry
getEntry, isActionStateFacadeMetaType
handleGetDeferrableEvents
getDeferrableEvents, isStateFacadeMetaType
handleGetContainer, handleGetIncomings, handleGetOutgoings, handleGetPartition, handleGetStateMachine, handleGetValidationOwner
getContainer, getIncomings, getOutgoings, getPartition, getStateMachine, isStateVertexFacadeMetaType
getArraySuffix, getValidationName, handleCopyTaggedValues, handleFindTaggedValue, handleFindTaggedValues, handleGetBindedFullyQualifiedName, handleGetConstraints, handleGetConstraints, handleGetDocumentation, handleGetDocumentation, handleGetDocumentation, handleGetFullyQualifiedName, handleGetFullyQualifiedName, handleGetFullyQualifiedNamePath, handleGetId, handleGetKeywords, handleGetLabel, handleGetLanguageMappings, handleGetModel, handleGetName, handleGetOwnedElements, handleGetOwner, handleGetPackage, handleGetPackageName, 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
getEntry, isActionStateFacadeMetaType
getDeferrableEvents, isStateFacadeMetaType
getContainer, getIncomings, getOutgoings, getPartition, getStateMachine, isStateVertexFacadeMetaType
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 FrontEndActionStateLogic(Object metaObjectIn, String context)
metaObjectIn
- context
- public void resetMetafacadeContext(String context)
resetMetafacadeContext
in class ActionStateFacadeLogic
context
- public boolean isFrontEndActionStateMetaType()
isFrontEndActionStateMetaType
in interface FrontEndActionState
FrontEndActionState
protected abstract boolean handleIsServerSide()
FrontEndActionState.isServerSide()
public final boolean isServerSide()
isServerSide
in interface FrontEndActionState
protected abstract boolean handleIsContainedInFrontEndUseCase()
FrontEndActionState.isContainedInFrontEndUseCase()
public final boolean isContainedInFrontEndUseCase()
isContainedInFrontEndUseCase
in interface FrontEndActionState
protected abstract String handleGetActionMethodName()
FrontEndActionState.getActionMethodName()
public final String getActionMethodName()
getActionMethodName
in interface FrontEndActionState
protected abstract List<OperationFacade> handleGetServiceCalls()
FrontEndActionState.getServiceCalls()
public final List<OperationFacade> getServiceCalls()
getServiceCalls
in interface FrontEndActionState
public final List<FrontEndAction> getContainerActions()
getContainerActions
in interface FrontEndActionState
protected abstract List handleGetContainerActions()
public final List<OperationFacade> getControllerCalls()
getControllerCalls
in interface FrontEndActionState
protected abstract List handleGetControllerCalls()
public final List<FrontEndExceptionHandler> getExceptions()
getExceptions
in interface FrontEndActionState
protected abstract List handleGetExceptions()
public final FrontEndForward getForward()
getForward
in interface FrontEndActionState
protected abstract Object handleGetForward()
public void validateInvariants(Collection<ModelValidationMessage> validationMessages)
Constraint: org::andromda::metafacades::uml::FrontEndActionState::each front-end action state must have a name
Error: A "front-end" action state must have a non-empty name.
OCL: context FrontEndActionState inv: name->notEmpty()
Constraint: org::andromda::metafacades::uml::FrontEndActionState::front-end action states can have at most one outgoing transition
Error: A "front-end" action state needs at most one outgoing transition that is not an exception-transition.
OCL: context FrontEndActionState inv: serverSide implies (exceptions->size() + 1 = outgoings->size() or exceptions->size() = outgoings->size())
validateInvariants
in interface ModelElementFacade
validateInvariants
in class ActionStateFacadeLogic
validationMessages
- CollectionActionStateFacadeLogic.validateInvariants(Collection validationMessages)
Copyright © 2003–2014 AndroMDA.org. All rights reserved.