public abstract class FrontEndViewLogic extends FrontEndActionStateLogicImpl implements FrontEndView
FrontEndView
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected Object |
metaObject
The underlying UML object
|
contextRoot
Modifier | Constructor and Description |
---|---|
protected |
FrontEndViewLogic(Object metaObjectIn,
String context)
Create Metafacade implementation instance using the MetafacadeFactory from the context
|
Modifier and Type | Method and Description |
---|---|
List<FrontEndAction> |
getActions()
The StateVertex (FrontEndView or PseudostateFacade) on which this action can be triggered.
|
List<FrontEndParameter> |
getAllActionParameters()
Represents a view within a front end application.
|
List<FrontEndParameter> |
getAllFormFields()
Represents a view within a front end application.
|
List<FrontEndParameter> |
getTables()
Represents a view within a front end application.
|
FrontEndUseCase |
getUseCase()
All views that are part of this use case.
|
List<FrontEndParameter> |
getVariables()
Represents the view in which this parameter will be used.
|
protected abstract List |
handleGetActions()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract List |
handleGetAllActionParameters()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract List |
handleGetAllFormFields()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract List |
handleGetTables()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract Object |
handleGetUseCase()
UML Specific type is transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract List |
handleGetVariables()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract boolean |
handleIsFrontEndView() |
boolean |
isFrontEndView()
True if this element carries the FrontEndView stereotype.
|
boolean |
isFrontEndViewMetaType() |
void |
resetMetafacadeContext(String context)
Reset context only for non-root metafacades
|
void |
validateInvariants(Collection<ModelValidationMessage> validationMessages)
Constraint: org::andromda::metafacades::uml::FrontEndView::unique view name per usecase
|
handleGetActionMethodName, handleGetContainerActions, handleGetControllerCalls, handleGetExceptions, handleGetForward, handleGetServiceCalls, handleIsContainedInFrontEndUseCase, handleIsServerSide
getActionMethodName, getContainerActions, getControllerCalls, getExceptions, getForward, getServiceCalls, isContainedInFrontEndUseCase, isFrontEndActionStateMetaType, isServerSide
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
getActionMethodName, getContainerActions, getControllerCalls, getExceptions, getForward, getServiceCalls, isContainedInFrontEndUseCase, isFrontEndActionStateMetaType, isServerSide
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 FrontEndViewLogic(Object metaObjectIn, String context)
metaObjectIn
- context
- public void resetMetafacadeContext(String context)
resetMetafacadeContext
in class FrontEndActionStateLogic
context
- public boolean isFrontEndViewMetaType()
isFrontEndViewMetaType
in interface FrontEndView
FrontEndView
protected abstract boolean handleIsFrontEndView()
FrontEndView.isFrontEndView()
public final boolean isFrontEndView()
isFrontEndView
in interface FrontEndView
public final List<FrontEndParameter> getAllActionParameters()
getAllActionParameters
in interface FrontEndView
protected abstract List handleGetAllActionParameters()
public final List<FrontEndParameter> getAllFormFields()
getAllFormFields
in interface FrontEndView
protected abstract List handleGetAllFormFields()
public final List<FrontEndParameter> getVariables()
getVariables
in interface FrontEndView
protected abstract List handleGetVariables()
public final FrontEndUseCase getUseCase()
getUseCase
in interface FrontEndView
protected abstract Object handleGetUseCase()
public final List<FrontEndParameter> getTables()
getTables
in interface FrontEndView
protected abstract List handleGetTables()
public final List<FrontEndAction> getActions()
getActions
in interface FrontEndView
protected abstract List handleGetActions()
public void validateInvariants(Collection<ModelValidationMessage> validationMessages)
Constraint: org::andromda::metafacades::uml::FrontEndView::unique view name per usecase
Error: Each name of a view action state must be unique in the namespace of a front-end use-case.
OCL: context FrontEndView inv: useCase.views->isUnique(name)
Constraint: org::andromda::metafacades::uml::FrontEndView::view variables must have unique names
Error: Each view-variable should have a unique name within the context of a view.
OCL: context FrontEndView inv : variables->isUnique(name)
Constraint: org::andromda::metafacades::uml::FrontEndView::front-end views cannot defer operations
Error: Views cannot defer to operations. All deferrable events modeled on a front-end view will be ignored.
OCL: context FrontEndView inv: controllerCalls->size() = 0
Constraint: org::andromda::metafacades::uml::FrontEndView::each action going out of a front-end view must be unique
Error: Each view must contain actions which each have a unique name, this view has actions with duplicate names.
OCL: context FrontEndView inv: actions->isUnique(name)
validateInvariants
in interface ModelElementFacade
validateInvariants
in class FrontEndActionStateLogic
validationMessages
- CollectionFrontEndActionStateLogic.validateInvariants(Collection validationMessages)
Copyright © 2003–2014 AndroMDA.org. All rights reserved.