public abstract class FrontEndControllerOperationLogic extends OperationFacadeLogicImpl implements FrontEndControllerOperation
FrontEndControllerOperation,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected Object |
metaObject
The underlying UML object
|
contextRoot| Modifier | Constructor and Description |
|---|---|
protected |
FrontEndControllerOperationLogic(Object metaObjectIn,
String context)
Create Metafacade implementation instance using the MetafacadeFactory from the context
|
| Modifier and Type | Method and Description |
|---|---|
FrontEndActivityGraph |
getActivityGraph()
Represents an operation modeled on a controller.
|
List<FrontEndAction> |
getDeferringActions()
The controller operations to which this action defers, the order is preserved.
|
List<FrontEndParameter> |
getFormFields()
Gets the controller operation to which this parameter belongs.
|
protected abstract Object |
handleGetActivityGraph()
UML Specific type is transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract List |
handleGetDeferringActions()
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 boolean |
handleIsAllArgumentsHaveFormFields() |
protected abstract boolean |
handleIsOwnerIsController() |
boolean |
isAllArgumentsHaveFormFields()
For each front-end controller operation argument there must exist a form field for each
action deferring to that operation.
|
boolean |
isFrontEndControllerOperationMetaType() |
boolean |
isOwnerIsController()
Indicates if the owner of this operation is a controller.
|
void |
resetMetafacadeContext(String context)
Reset context only for non-root metafacades
|
void |
validateInvariants(Collection<ModelValidationMessage> validationMessages)
Constraint: org::andromda::metafacades::uml::FrontEndControllerOperation::all arguments need an event parameter
|
getValidationOwner, handleFindParameter, handleFindTaggedValue, handleGetArgumentNames, handleGetArguments, handleGetArgumentTypeNames, handleGetCall, handleGetConcurrency, handleGetExceptionList, handleGetExceptionList, handleGetExceptions, handleGetGetterSetterReturnTypeName, handleGetLower, handleGetMethodBody, handleGetName, handleGetOverriddenOperation, handleGetOwner, handleGetParameters, handleGetPostconditionName, handleGetPostconditions, handleGetPreconditionCall, handleGetPreconditionName, handleGetPreconditions, handleGetPreconditionSignature, handleGetReturnParameter, handleGetReturnType, handleGetSignature, handleGetSignature, handleGetSignature, handleGetTypedArgumentList, handleGetTypedArgumentList, handleGetUpper, handleIsAbstract, handleIsExceptionsPresent, handleIsLeaf, handleIsMany, handleIsOrdered, handleIsOverriding, handleIsPostconditionsPresent, handleIsPreconditionsPresent, handleIsQuery, handleIsReturnTypePresent, handleIsStatic, handleIsUniquefindParameter, findTaggedValue, getArgumentNames, getArguments, getArgumentTypeNames, getCall, getConcurrency, getExceptionList, getExceptionList, getExceptions, getGetterSetterReturnTypeName, getLower, getMethodBody, getOverriddenOperation, getOwner, getParameters, getPostconditionName, getPostconditions, getPreconditionCall, getPreconditionName, getPreconditions, getPreconditionSignature, getReturnParameter, getReturnType, getSignature, getSignature, getSignature, getTypedArgumentList, getTypedArgumentList, getUpper, isAbstract, isExceptionsPresent, isLeaf, isMany, isOperationFacadeMetaType, isOrdered, isOverriding, isPostconditionsPresent, isPreconditionsPresent, isQuery, isReturnTypePresent, isStatic, isUniquegetArraySuffix, getValidationName, handleCopyTaggedValues, handleFindTaggedValue, handleFindTaggedValues, handleGetBindedFullyQualifiedName, handleGetConstraints, handleGetConstraints, handleGetDocumentation, handleGetDocumentation, handleGetDocumentation, handleGetFullyQualifiedName, handleGetFullyQualifiedName, handleGetFullyQualifiedNamePath, handleGetId, handleGetKeywords, handleGetLabel, handleGetLanguageMappings, handleGetModel, handleGetOwnedElements, 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, 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, hashCode, initialize, isConfiguredProperty, isMetafacadePropertyCachingEnabled, setMetafacadeContext, setProperty, shieldedElement, shieldedElements, THIS, validateclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindParameter, findTaggedValue, getArgumentNames, getArguments, getArgumentTypeNames, getCall, getConcurrency, getExceptionList, getExceptionList, getExceptions, getGetterSetterReturnTypeName, getLower, getMethodBody, getOverriddenOperation, getOwner, getParameters, getPostconditionName, getPostconditions, getPreconditionCall, getPreconditionName, getPreconditions, getPreconditionSignature, getReturnParameter, getReturnType, getSignature, getSignature, getSignature, getTypedArgumentList, getTypedArgumentList, getUpper, isAbstract, isExceptionsPresent, isLeaf, isMany, isOperationFacadeMetaType, isOrdered, isOverriding, isPostconditionsPresent, isPreconditionsPresent, isQuery, isReturnTypePresent, isStatic, isUniquecopyTaggedValues, 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 FrontEndControllerOperationLogic(Object metaObjectIn, String context)
metaObjectIn - context - public void resetMetafacadeContext(String context)
resetMetafacadeContext in class OperationFacadeLogiccontext - public boolean isFrontEndControllerOperationMetaType()
isFrontEndControllerOperationMetaType in interface FrontEndControllerOperationFrontEndControllerOperationprotected abstract boolean handleIsOwnerIsController()
FrontEndControllerOperation.isOwnerIsController()public final boolean isOwnerIsController()
isOwnerIsController in interface FrontEndControllerOperationprotected abstract boolean handleIsAllArgumentsHaveFormFields()
FrontEndControllerOperation.isAllArgumentsHaveFormFields()public final boolean isAllArgumentsHaveFormFields()
isAllArgumentsHaveFormFields in interface FrontEndControllerOperationpublic final FrontEndActivityGraph getActivityGraph()
getActivityGraph in interface FrontEndControllerOperationprotected abstract Object handleGetActivityGraph()
public final List<FrontEndParameter> getFormFields()
getFormFields in interface FrontEndControllerOperationprotected abstract List handleGetFormFields()
public final List<FrontEndAction> getDeferringActions()
getDeferringActions in interface FrontEndControllerOperationprotected abstract List handleGetDeferringActions()
public void validateInvariants(Collection<ModelValidationMessage> validationMessages)
Constraint: org::andromda::metafacades::uml::FrontEndControllerOperation::all arguments need an event parameter
Error: For each controller operation argument there must exist a parameter for each action deferring to that operation. This parameter must carry the same name and must be of the same type.
OCL: context FrontEndControllerOperation inv: allArgumentsHaveFormFields
Constraint: org::andromda::metafacades::uml::FrontEndControllerOperation::the operation name may not be the same as the use-case name
Error: It is not allowed to give a controller operation the same name as the use-case for which it is defined, please either rename your operation or your use-case.
OCL: context FrontEndControllerOperation inv: name <> owner.useCase.name
validateInvariants in interface ModelElementFacadevalidateInvariants in class OperationFacadeLogicvalidationMessages - CollectionOperationFacadeLogic.validateInvariants(Collection validationMessages)Copyright © 2003–2014 AndroMDA.org. All rights reserved.