public abstract class ManageableEntityAttributeLogic extends EntityAttributeLogicImpl implements ManageableEntityAttribute
ManageableEntityAttribute
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected Object |
metaObject
The underlying UML object
|
contextRoot
Modifier | Constructor and Description |
---|---|
protected |
ManageableEntityAttributeLogic(Object metaObjectIn,
String context)
Create Metafacade implementation instance using the MetafacadeFactory from the context
|
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
handleIsDisplay() |
protected abstract boolean |
handleIsManageableGetterAvailable() |
boolean |
isDisplay()
Whether or not this attribute should be displayed.
|
boolean |
isManageableEntityAttributeMetaType() |
boolean |
isManageableGetterAvailable()
Whether or not this attribute can be read in a call isolated from the rest (for example when
downloading binary fields).
|
void |
resetMetafacadeContext(String context)
Reset context only for non-root metafacades
|
void |
validateInvariants(Collection<ModelValidationMessage> validationMessages)
Constraint: org::andromda::metafacades::uml::AttributeFacade::attribute needs a type
|
handleGetColumnIndex, handleGetColumnLength, handleGetColumnName, handleGetJdbcMappings, handleGetJdbcType, handleGetName, handleGetSqlMappings, handleGetSqlType, handleGetUniqueGroup, handleIsIdentifier, handleIsTransient
getColumnIndex, getColumnLength, getColumnName, getJdbcMappings, getJdbcType, getSqlMappings, getSqlType, getUniqueGroup, isEntityAttributeMetaType, isIdentifier, isTransient
handleFindTaggedValue, handleGetDefaultValue, handleGetEnumeration, handleGetEnumerationLiteralParameters, handleGetEnumerationValue, handleGetGetterName, handleGetGetterSetterTypeName, handleGetLower, handleGetOwner, handleGetSetterName, handleGetType, handleGetUpper, handleIsAddOnly, handleIsChangeable, handleIsDefaultValuePresent, handleIsDerived, handleIsEnumerationLiteral, handleIsEnumerationLiteralParametersExist, handleIsEnumerationMember, handleIsLeaf, handleIsMany, handleIsOrdered, handleIsReadOnly, handleIsRequired, handleIsStatic, handleIsUnique
findTaggedValue, getDefaultValue, getEnumeration, getEnumerationLiteralParameters, getEnumerationValue, getGetterName, getGetterSetterTypeName, getLower, getOwner, getSetterName, getType, getUpper, isAddOnly, isAttributeFacadeMetaType, isChangeable, isDefaultValuePresent, isDerived, isEnumerationLiteral, isEnumerationLiteralParametersExist, isEnumerationMember, isLeaf, isMany, isOrdered, isReadOnly, isRequired, isStatic, isUnique
getArraySuffix, 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, 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
getColumnIndex, getColumnLength, getColumnName, getJdbcMappings, getJdbcType, getSqlMappings, getSqlType, getUniqueGroup, isEntityAttributeMetaType, isIdentifier, isTransient
findTaggedValue, getDefaultValue, getEnumeration, getEnumerationLiteralParameters, getEnumerationValue, getGetterName, getGetterSetterTypeName, getLower, getOwner, getSetterName, getType, getUpper, isAddOnly, isAttributeFacadeMetaType, isChangeable, isDefaultValuePresent, isDerived, isEnumerationLiteral, isEnumerationLiteralParametersExist, isEnumerationMember, isLeaf, isMany, isOrdered, isReadOnly, isRequired, isStatic, isUnique
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 ManageableEntityAttributeLogic(Object metaObjectIn, String context)
metaObjectIn
- context
- public void resetMetafacadeContext(String context)
resetMetafacadeContext
in class EntityAttributeLogic
context
- public boolean isManageableEntityAttributeMetaType()
isManageableEntityAttributeMetaType
in interface ManageableEntityAttribute
ManageableEntityAttribute
protected abstract boolean handleIsDisplay()
ManageableEntityAttribute.isDisplay()
public final boolean isDisplay()
isDisplay
in interface ManageableEntityAttribute
protected abstract boolean handleIsManageableGetterAvailable()
ManageableEntityAttribute.isManageableGetterAvailable()
public final boolean isManageableGetterAvailable()
isManageableGetterAvailable
in interface ManageableEntityAttribute
public void validateInvariants(Collection<ModelValidationMessage> validationMessages)
AttributeFacadeLogic
Constraint: org::andromda::metafacades::uml::AttributeFacade::attribute needs a type
Error: Each attribute needs a type, you cannot leave the type unspecified.
OCL: context AttributeFacade inv: type.name->notEmpty()
Constraint: org::andromda::metafacades::uml::AttributeFacade::attribute must have a name
Error: Each attribute must have a non-empty name.
OCL: context AttributeFacade inv: name -> notEmpty()
Constraint: org::andromda::metafacades::uml::AttributeFacade::primitive attribute must be required
Error: Primitive attributes must have a multiplicity lower bound > 0 (must be required). Use a wrapped type, or change the multiplicity.
OCL: context AttributeFacade inv: type.primitive implies (lower > 0)
Constraint: org::andromda::metafacades::uml::AttributeFacade::primitive attribute cannot be used in Collection
Error: Primitive attributes cannot be used in Collections (multiplicity > 1). Use the wrapped type instead.
OCL: context AttributeFacade inv: type.primitive implies (many = false)
Constraint: org::andromda::metafacades::uml::AttributeFacade::wrapped primitive attribute should not be required
Error: Wrapped primitive attributes must have a multiplicity lower bound = 0 (must be optional). Use the unwrapped type, or change the multiplicity.
OCL: context AttributeFacade inv: type.wrappedPrimitive and many = false implies (lower = 0)
validateInvariants
in interface ModelElementFacade
validateInvariants
in class EntityAttributeLogic
validationMessages
- CollectionEntityAttributeLogic.validateInvariants(Collection validationMessages)
Copyright © 2003–2014 AndroMDA.org. All rights reserved.