public abstract class EntityAssociationEndLogic extends AssociationEndFacadeLogicImpl implements EntityAssociationEnd
EntityAssociationEnd
,
Serialized FormModifier 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, handleIsUnique
getAdderName, 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, isUnique
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
getAdderName, 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, 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 EntityAssociationEndLogic(Object metaObjectIn, String context)
metaObjectIn
- context
- public void resetMetafacadeContext(String context)
resetMetafacadeContext
in class AssociationEndFacadeLogic
context
- public boolean isEntityAssociationEndMetaType()
isEntityAssociationEndMetaType
in interface EntityAssociationEnd
EntityAssociationEnd
protected abstract String handleGetColumnName()
EntityAssociationEnd.getColumnName()
public final String getColumnName()
getColumnName
in interface EntityAssociationEnd
protected abstract String handleGetForeignKeySuffix()
EntityAssociationEnd.getForeignKeySuffix()
public final String getForeignKeySuffix()
getForeignKeySuffix
in interface EntityAssociationEnd
protected abstract boolean handleIsForeignIdentifier()
EntityAssociationEnd.isForeignIdentifier()
public final boolean isForeignIdentifier()
isForeignIdentifier
in interface EntityAssociationEnd
protected abstract String handleGetForeignKeyConstraintName()
EntityAssociationEnd.getForeignKeyConstraintName()
public final String getForeignKeyConstraintName()
getForeignKeyConstraintName
in interface EntityAssociationEnd
protected abstract String handleGetColumnIndex()
EntityAssociationEnd.getColumnIndex()
public final String getColumnIndex()
getColumnIndex
in interface EntityAssociationEnd
protected abstract String handleGetSqlType()
EntityAssociationEnd.getSqlType()
public final String getSqlType()
getSqlType
in interface EntityAssociationEnd
protected abstract boolean handleIsTransient()
EntityAssociationEnd.isTransient()
public final boolean isTransient()
isTransient
in interface EntityAssociationEnd
protected abstract boolean handleIsIdentifiersPresent()
EntityAssociationEnd.isIdentifiersPresent()
public final boolean isIdentifiersPresent()
isIdentifiersPresent
in interface EntityAssociationEnd
protected abstract String handleGetUniqueGroup()
EntityAssociationEnd.getUniqueGroup()
public final String getUniqueGroup()
getUniqueGroup
in interface EntityAssociationEnd
protected abstract boolean handleIsIdentifier()
EntityAssociationEnd.isIdentifier()
public final boolean isIdentifier()
isIdentifier
in interface EntityAssociationEnd
public 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 ModelElementFacade
validateInvariants
in class AssociationEndFacadeLogic
validationMessages
- CollectionAssociationEndFacadeLogic.validateInvariants(Collection validationMessages)
Copyright © 2003–2014 AndroMDA.org. All rights reserved.