public abstract class FrontEndParameterLogic extends ParameterFacadeLogicImpl implements FrontEndParameter
FrontEndParameter
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected Object |
metaObject
The underlying UML object
|
contextRoot
Modifier | Constructor and Description |
---|---|
protected |
FrontEndParameterLogic(Object metaObjectIn,
String context)
Create Metafacade implementation instance using the MetafacadeFactory from the context
|
Modifier and Type | Method and Description |
---|---|
FrontEndAction |
getAction()
All parameters sent by this "front-end" action.
|
FrontEndControllerOperation |
getControllerOperation()
The set of fields in the form made up form this controller operation's parameters.
|
Collection<String> |
getTableAttributeNames()
A collection of all possible attribute names of a table (this will only work when your table
is modeled as an array..not a collection).
|
Collection<String> |
getTableColumnNames()
All the columns for this parameter if it represents a table variable.
|
Collection<String> |
getTableColumns()
A list of all attributes which make up the table columns of this table (this only contains
attributes when the table is represented by an array).
|
FrontEndView |
getView()
All those variables that will be present as variables in the target view.
|
protected abstract Object |
handleGetAction()
UML Specific type is transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract Object |
handleGetControllerOperation()
UML Specific type is transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract Collection<String> |
handleGetTableAttributeNames() |
protected abstract Collection<String> |
handleGetTableColumnNames() |
protected abstract Collection<String> |
handleGetTableColumns() |
protected abstract Object |
handleGetView()
UML Specific type is transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract boolean |
handleIsActionParameter() |
protected abstract boolean |
handleIsContainedInFrontEndUseCase() |
protected abstract boolean |
handleIsControllerOperationArgument() |
protected abstract boolean |
handleIsTable() |
boolean |
isActionParameter()
Indicates whether or not this is an action parameter or not.
|
boolean |
isContainedInFrontEndUseCase()
Indicates if this parameter is contained in a "front-end" use case.
|
boolean |
isControllerOperationArgument()
Indicates whether or not this parameter is an argument of a controller operation.
|
boolean |
isFrontEndParameterMetaType() |
boolean |
isTable()
Indicates whether or not this parameter represents a table.
|
void |
resetMetafacadeContext(String context)
Reset context only for non-root metafacades
|
void |
validateInvariants(Collection<ModelValidationMessage> validationMessages)
Constraint: org::andromda::metafacades::uml::ParameterFacade::parameter needs a type
|
getValidationOwner, handleGetDefaultValue, handleGetEffect, handleGetEvent, handleGetGetterName, handleGetGetterSetterTypeName, handleGetGetterSetterTypeNameImpl, handleGetLower, handleGetName, handleGetOperation, handleGetSetterName, handleGetType, handleGetUpper, handleIsDefaultValuePresent, handleIsException, handleIsInoutParameter, handleIsInParameter, handleIsMany, handleIsOrdered, handleIsOutParameter, handleIsReadable, handleIsRequired, handleIsReturn, handleIsUnique, handleIsWritable
getDefaultValue, getEffect, getEvent, getGetterName, getGetterSetterTypeName, getGetterSetterTypeNameImpl, getLower, getOperation, getSetterName, getType, getUpper, isDefaultValuePresent, isException, isInoutParameter, isInParameter, isMany, isOrdered, isOutParameter, isParameterFacadeMetaType, isReadable, isRequired, isReturn, isUnique, isWritable
getArraySuffix, getValidationName, handleCopyTaggedValues, handleFindTaggedValue, handleFindTaggedValues, handleGetBindedFullyQualifiedName, handleGetConstraints, handleGetConstraints, handleGetDocumentation, handleGetDocumentation, handleGetDocumentation, handleGetFullyQualifiedName, handleGetFullyQualifiedName, handleGetFullyQualifiedNamePath, handleGetId, handleGetKeywords, handleGetLabel, handleGetLanguageMappings, handleGetModel, 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, hashCode, initialize, isConfiguredProperty, isMetafacadePropertyCachingEnabled, setMetafacadeContext, setProperty, shieldedElement, shieldedElements, THIS, validate
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getDefaultValue, getEffect, getEvent, getGetterName, getGetterSetterTypeName, getGetterSetterTypeNameImpl, getLower, getOperation, getSetterName, getType, getUpper, isDefaultValuePresent, isException, isInoutParameter, isInParameter, isMany, isOrdered, isOutParameter, isParameterFacadeMetaType, isReadable, isRequired, isReturn, isUnique, isWritable
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 FrontEndParameterLogic(Object metaObjectIn, String context)
metaObjectIn
- context
- public void resetMetafacadeContext(String context)
resetMetafacadeContext
in class ParameterFacadeLogic
context
- public boolean isFrontEndParameterMetaType()
isFrontEndParameterMetaType
in interface FrontEndParameter
FrontEndParameter
protected abstract boolean handleIsControllerOperationArgument()
FrontEndParameter.isControllerOperationArgument()
public final boolean isControllerOperationArgument()
isControllerOperationArgument
in interface FrontEndParameter
protected abstract boolean handleIsContainedInFrontEndUseCase()
FrontEndParameter.isContainedInFrontEndUseCase()
public final boolean isContainedInFrontEndUseCase()
isContainedInFrontEndUseCase
in interface FrontEndParameter
protected abstract boolean handleIsActionParameter()
FrontEndParameter.isActionParameter()
public final boolean isActionParameter()
isActionParameter
in interface FrontEndParameter
protected abstract boolean handleIsTable()
FrontEndParameter.isTable()
public final boolean isTable()
isTable
in interface FrontEndParameter
protected abstract Collection<String> handleGetTableColumnNames()
FrontEndParameter.getTableColumnNames()
public final Collection<String> getTableColumnNames()
getTableColumnNames
in interface FrontEndParameter
protected abstract Collection<String> handleGetTableColumns()
FrontEndParameter.getTableColumns()
public final Collection<String> getTableColumns()
getTableColumns
in interface FrontEndParameter
protected abstract Collection<String> handleGetTableAttributeNames()
FrontEndParameter.getTableAttributeNames()
public final Collection<String> getTableAttributeNames()
getTableAttributeNames
in interface FrontEndParameter
public final FrontEndView getView()
getView
in interface FrontEndParameter
protected abstract Object handleGetView()
public final FrontEndAction getAction()
getAction
in interface FrontEndParameter
protected abstract Object handleGetAction()
public final FrontEndControllerOperation getControllerOperation()
getControllerOperation
in interface FrontEndParameter
protected abstract Object handleGetControllerOperation()
public void validateInvariants(Collection<ModelValidationMessage> validationMessages)
ParameterFacadeLogic
Constraint: org::andromda::metafacades::uml::ParameterFacade::parameter needs a type
Error: Each parameter needs a type, you cannot leave the type unspecified.
OCL: context ParameterFacade inv: return = false implies type.name->notEmpty()
Constraint: org::andromda::metafacades::uml::ParameterFacade::non return type parameters must be named
Error: Each parameter that is NOT a return parameter must have a non-empty name.
OCL: context ParameterFacade inv: return = false implies name -> notEmpty()
Constraint: org::andromda::metafacades::uml::ParameterFacade::primitive parameter cannot be used in Collection
Error: Primitive parameters cannot be used in Collections (multiplicity > 1). Use the wrapped type instead.
OCL: context ParameterFacade inv: type.primitive implies (many = false)
Constraint: org::andromda::metafacades::uml::ParameterFacade::primitive parameter must be required
Error: Primitive operation parameters must have a multiplicity lower bound > 0 (must be required). Use a wrapped type, or change the multiplicity.
OCL: context ParameterFacade inv: type.primitive implies (lower > 0)
Constraint: org::andromda::metafacades::uml::ParameterFacade::wrapped primitive parameter should not be required
Error: Wrapped primitive operation parameters must have a multiplicity lower bound = 0 (must be optional). Use the unwrapped type, or change the multiplicity.
OCL: context ParameterFacade inv: type.wrappedPrimitive and many = false implies (lower = 0)
validateInvariants
in interface ModelElementFacade
validateInvariants
in class ParameterFacadeLogic
validationMessages
- CollectionParameterFacadeLogic.validateInvariants(Collection validationMessages)
Copyright © 2003–2014 AndroMDA.org. All rights reserved.