org.andromda.metafacades.uml
Interface EntityAssociationEnd

All Superinterfaces:
AssociationEndFacade, ModelElementFacade
All Known Subinterfaces:
ManageableEntityAssociationEnd

public interface EntityAssociationEnd
extends AssociationEndFacade

Represents an association end of an entity.

Metafacade interface to be used by AndroMDA cartridges.


Method Summary
 java.lang.String getColumnIndex()
           The name of the index to create on a column that persists the foreign key attribute.
 java.lang.String getColumnName()
           The name of the column that makes up the foreign key.
 java.lang.String getForeignKeyConstraintName()
           The name of the foreign key constraint to use for databases.
 java.lang.String getForeignKeySuffix()
           The current foreign key suffix specified for this entity association end facade.
 java.lang.String getSqlType()
           The SQL type for this the foreign key column of this association end.
 boolean isEntityAssociationEndMetaType()
          Indicates the metafacade type (used for metafacade mappings).
 boolean isForeignIdentifier()
           Indicates whether or not a foreign identifier should be used for the entity that owns this association end.
 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.
 
Methods inherited from interface org.andromda.metafacades.uml.AssociationEndFacade
getAssociation, getGetterName, getGetterSetterTypeName, getLower, getOtherEnd, getSetterName, getType, getUpper, isAggregation, isAssociationEndFacadeMetaType, isChild, isComposition, isMany, isMany2Many, isMany2One, isNavigable, isOne2Many, isOne2One, isOrdered, isReadOnly, isRequired
 
Methods inherited from interface org.andromda.metafacades.uml.ModelElementFacade
copyTaggedValues, findTaggedValue, findTaggedValues, getConstraints, getConstraints, getDocumentation, getDocumentation, getDocumentation, getFullyQualifiedName, getFullyQualifiedName, getFullyQualifiedNamePath, getId, getLanguageMappings, getModel, getName, getPackage, getPackageName, getPackageName, getPackagePath, getRootPackage, getSourceDependencies, getStateMachineContext, getStereotypeNames, getStereotypes, getTaggedValues, getTargetDependencies, getTemplateParameter, getTemplateParameters, getValidationName, getValidationOwner, getVisibility, hasExactStereotype, hasStereotype, initialize, isBindingDependenciesPresent, isConstraintsPresent, isModelElementFacadeMetaType, isTemplateParametersPresent, translateConstraint, translateConstraints, translateConstraints, validateInvariants
 

Method Detail

isEntityAssociationEndMetaType

boolean isEntityAssociationEndMetaType()
Indicates the metafacade type (used for metafacade mappings).

Returns:
always true

getColumnIndex

java.lang.String getColumnIndex()

The name of the index to create on a column that persists the foreign key attribute.


getColumnName

java.lang.String getColumnName()

The name of the column that makes up the foreign key.


getForeignKeyConstraintName

java.lang.String getForeignKeyConstraintName()

The name of the foreign key constraint to use for databases.


getForeignKeySuffix

java.lang.String getForeignKeySuffix()

The current foreign key suffix specified for this entity association end facade.


getSqlType

java.lang.String getSqlType()

The SQL type for this the foreign key column of this association end.


isForeignIdentifier

boolean isForeignIdentifier()

Indicates whether or not a foreign identifier should be used for the entity that owns this association end. This would only make sense in the case of a child in a one-to-one parent-child association. If this flag is true, then the identifier of this entity should also be used as the foreign key to the related parent entity.


isIdentifiersPresent

boolean isIdentifiersPresent()

True if the associationEnd is marked with identifiers stereotype, false otherwise.


isTransient

boolean isTransient()

Indicates this association end should be ignored by the persistence layer.



Copyright © 2003-2008 AndroMDA.org. All Rights Reserved.