public abstract class EntityAssociationEndLogic extends AssociationEndFacadeLogicImpl implements EntityAssociationEnd
EntityAssociationEnd,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected Object |
metaObject
The underlying UML object
|
contextRoot| Modifier | Constructor and Description |
|---|---|
protected |
EntityAssociationEndLogic(Object metaObjectIn,
String context)
Create Metafacade implementation instance using the MetafacadeFactory from the context
|
| Modifier and Type | Method and Description |
|---|---|
String |
getColumnIndex()
The name of the index to create on a column that persists the foreign key attribute.
|
String |
getColumnName()
The name of the column that makes up the foreign key.
|
String |
getForeignKeyConstraintName()
The name of the foreign key constraint to use for databases.
|
String |
getForeignKeySuffix()
The current foreign key suffix specified for this entity association end facade.
|
String |
getSqlType()
The SQL type for this the foreign key column of this association end.
|
String |
getUniqueGroup()
The name of the unique-key that this unique association end belongs
|
protected abstract String |
handleGetColumnIndex() |
protected abstract String |
handleGetColumnName() |
protected abstract String |
handleGetForeignKeyConstraintName() |
protected abstract String |
handleGetForeignKeySuffix() |
protected abstract String |
handleGetSqlType() |
protected abstract String |
handleGetUniqueGroup() |
protected abstract boolean |
handleIsForeignIdentifier() |
protected abstract boolean |
handleIsIdentifier() |
protected abstract boolean |
handleIsIdentifiersPresent() |
protected abstract boolean |
handleIsTransient() |
boolean |
isEntityAssociationEndMetaType() |
boolean |
isForeignIdentifier()
Indicates whether or not a foreign identifier should be used for the entity that owns this
association end.
|
boolean |
isIdentifier()
True if this association is an identifier for its entity.
|
boolean |
isIdentifiersPresent()
True if the associationEnd is marked with identifiers stereotype, false otherwise.
|
boolean |
isTransient()
Indicates this association end should be ignored by the persistence layer.
|
void |
resetMetafacadeContext(String context)
Reset context only for non-root metafacades
|
void |
validateInvariants(Collection<ModelValidationMessage> validationMessages)
Constraint: org::andromda::metafacades::uml::EntityAssociationEnd::valid foreign identifiers.
|
getValidationOwner, handleGetAdderName, handleGetAggregationKind, handleGetAssociation, handleGetDefault, handleGetGetterName, handleGetGetterSetterTypeName, handleGetLower, handleGetName, handleGetOtherEnd, handleGetRemoverName, handleGetSetterName, handleGetType, handleGetUpper, handleIsAggregation, handleIsBidirectional, handleIsChild, handleIsComposition, handleIsDerived, handleIsLeaf, handleIsMany, handleIsMany2Many, handleIsMany2One, handleIsNavigable, handleIsOne2Many, handleIsOne2One, handleIsOrdered, handleIsReadOnly, handleIsRequired, handleIsStatic, handleIsUniquegetAdderName, getAggregationKind, getAssociation, getDefault, getGetterName, getGetterSetterTypeName, getLower, getOtherEnd, getRemoverName, getSetterName, getType, getUpper, isAggregation, isAssociationEndFacadeMetaType, isBidirectional, isChild, isComposition, isDerived, isLeaf, isMany, isMany2Many, isMany2One, isNavigable, isOne2Many, isOne2One, isOrdered, isReadOnly, isRequired, isStatic, isUniquegetArraySuffix, 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, 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, waitgetAdderName, getAggregationKind, getAssociation, getDefault, getGetterName, getGetterSetterTypeName, getLower, getOtherEnd, getRemoverName, getSetterName, getType, getUpper, isAggregation, isAssociationEndFacadeMetaType, isBidirectional, isChild, isComposition, isDerived, isLeaf, isMany, isMany2Many, isMany2One, isNavigable, isOne2Many, isOne2One, 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 EntityAssociationEndLogic(Object metaObjectIn, String context)
metaObjectIn - context - public void resetMetafacadeContext(String context)
resetMetafacadeContext in class AssociationEndFacadeLogiccontext - public boolean isEntityAssociationEndMetaType()
isEntityAssociationEndMetaType in interface EntityAssociationEndEntityAssociationEndprotected abstract String handleGetColumnName()
EntityAssociationEnd.getColumnName()public final String getColumnName()
getColumnName in interface EntityAssociationEndprotected abstract String handleGetForeignKeySuffix()
EntityAssociationEnd.getForeignKeySuffix()public final String getForeignKeySuffix()
getForeignKeySuffix in interface EntityAssociationEndprotected abstract boolean handleIsForeignIdentifier()
EntityAssociationEnd.isForeignIdentifier()public final boolean isForeignIdentifier()
isForeignIdentifier in interface EntityAssociationEndprotected abstract String handleGetForeignKeyConstraintName()
EntityAssociationEnd.getForeignKeyConstraintName()public final String getForeignKeyConstraintName()
getForeignKeyConstraintName in interface EntityAssociationEndprotected abstract String handleGetColumnIndex()
EntityAssociationEnd.getColumnIndex()public final String getColumnIndex()
getColumnIndex in interface EntityAssociationEndprotected abstract String handleGetSqlType()
EntityAssociationEnd.getSqlType()public final String getSqlType()
getSqlType in interface EntityAssociationEndprotected abstract boolean handleIsTransient()
EntityAssociationEnd.isTransient()public final boolean isTransient()
isTransient in interface EntityAssociationEndprotected abstract boolean handleIsIdentifiersPresent()
EntityAssociationEnd.isIdentifiersPresent()public final boolean isIdentifiersPresent()
isIdentifiersPresent in interface EntityAssociationEndprotected abstract String handleGetUniqueGroup()
EntityAssociationEnd.getUniqueGroup()public final String getUniqueGroup()
getUniqueGroup in interface EntityAssociationEndprotected abstract boolean handleIsIdentifier()
EntityAssociationEnd.isIdentifier()public final boolean isIdentifier()
isIdentifier in interface EntityAssociationEndpublic void validateInvariants(Collection<ModelValidationMessage> validationMessages)
Constraint: org::andromda::metafacades::uml::EntityAssociationEnd::valid foreign identifiers.
Error: Only ONE association end on an entity can be flagged as having a foreign identifier at any given time. It also MUST be the child end (the other side is flagged as having composite aggregation) of a one-to-one association.
OCL: context EntityAssociationEndFacade inv : foreignIdentifier implies (one2One and child and type.associationEnds -> one (foreignIdentifier))
validateInvariants in interface ModelElementFacadevalidateInvariants in class AssociationEndFacadeLogicvalidationMessages - CollectionAssociationEndFacadeLogic.validateInvariants(Collection validationMessages)Copyright © 2003–2014 AndroMDA.org. All rights reserved.