public abstract class ManageableEntityAttributeLogic extends EntityAttributeLogicImpl implements ManageableEntityAttribute
ManageableEntityAttribute,
Serialized Form| Modifier 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, handleIsTransientgetColumnIndex, getColumnLength, getColumnName, getJdbcMappings, getJdbcType, getSqlMappings, getSqlType, getUniqueGroup, isEntityAttributeMetaType, isIdentifier, isTransienthandleFindTaggedValue, handleGetDefaultValue, handleGetEnumeration, handleGetEnumerationLiteralParameters, handleGetEnumerationValue, handleGetGetterName, handleGetGetterSetterTypeName, handleGetLower, handleGetOwner, handleGetSetterName, handleGetType, handleGetUpper, handleIsAddOnly, handleIsChangeable, handleIsDefaultValuePresent, handleIsDerived, handleIsEnumerationLiteral, handleIsEnumerationLiteralParametersExist, handleIsEnumerationMember, handleIsLeaf, handleIsMany, handleIsOrdered, handleIsReadOnly, handleIsRequired, handleIsStatic, handleIsUniquefindTaggedValue, 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, 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, getValidationOwner, hashCode, initialize, isConfiguredProperty, isMetafacadePropertyCachingEnabled, setMetafacadeContext, setProperty, shieldedElement, shieldedElements, THIS, validateclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetColumnIndex, getColumnLength, getColumnName, getJdbcMappings, getJdbcType, getSqlMappings, getSqlType, getUniqueGroup, isEntityAttributeMetaType, isIdentifier, isTransientfindTaggedValue, 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, 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 ManageableEntityAttributeLogic(Object metaObjectIn, String context)
metaObjectIn - context - public void resetMetafacadeContext(String context)
resetMetafacadeContext in class EntityAttributeLogiccontext - public boolean isManageableEntityAttributeMetaType()
isManageableEntityAttributeMetaType in interface ManageableEntityAttributeManageableEntityAttributeprotected abstract boolean handleIsDisplay()
ManageableEntityAttribute.isDisplay()public final boolean isDisplay()
isDisplay in interface ManageableEntityAttributeprotected abstract boolean handleIsManageableGetterAvailable()
ManageableEntityAttribute.isManageableGetterAvailable()public final boolean isManageableGetterAvailable()
isManageableGetterAvailable in interface ManageableEntityAttributepublic void validateInvariants(Collection<ModelValidationMessage> validationMessages)
AttributeFacadeLogicConstraint: 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 ModelElementFacadevalidateInvariants in class EntityAttributeLogicvalidationMessages - CollectionEntityAttributeLogic.validateInvariants(Collection validationMessages)Copyright © 2003–2014 AndroMDA.org. All rights reserved.