org.andromda.metafacades.uml
Interface EntityAttribute

All Superinterfaces:
AttributeFacade, ModelElementFacade
All Known Subinterfaces:
ManageableEntityAttribute

public interface EntityAttribute
extends AttributeFacade

Represents an attribute of an entity.

Metafacade interface to be used by AndroMDA cartridges.


Method Summary
 String getColumnIndex()
           The name of the index to create on a column that persists the entity attribute.
 String getColumnLength()
           The length of the column that persists this entity attribute.
 String getColumnName()
           The name of the table column to which this entity is mapped.
 TypeMappings getJdbcMappings()
           The PIM to language specific mappings for JDBC.
 String getJdbcType()
           The JDBC type for this entity attribute.
 TypeMappings getSqlMappings()
           The SQL mappings (i.e.
 String getSqlType()
           The SQL type for this attribute.
 String getUniqueGroup()
           The name of the unique-key that this unique attribute belongs
 boolean isEntityAttributeMetaType()
          Indicates the metafacade type (used for metafacade mappings).
 boolean isIdentifier()
           True if this attribute is an identifier for its entity.
 boolean isTransient()
           Indicates this attribute should be ignored by the persistence layer.
 boolean isUnique()
           Whether or not the entity attribute is unique (default is false).
 
Methods inherited from interface org.andromda.metafacades.uml.AttributeFacade
findTaggedValue, getDefaultValue, getEnumeration, getEnumerationLiteralParameters, getEnumerationValue, getGetterName, getGetterSetterTypeName, getLower, getOwner, getSetterName, getType, getUpper, isAddOnly, isAttributeFacadeMetaType, isChangeable, isDefaultValuePresent, isEnumerationLiteral, isEnumerationLiteralParametersExist, isEnumerationMember, isMany, isOrdered, isReadOnly, isRequired, isStatic
 
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

isEntityAttributeMetaType

public boolean isEntityAttributeMetaType()
Indicates the metafacade type (used for metafacade mappings).

Returns:
always true

getColumnIndex

public String getColumnIndex()

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


getColumnLength

public String getColumnLength()

The length of the column that persists this entity attribute.


getColumnName

public String getColumnName()

The name of the table column to which this entity is mapped.


getJdbcMappings

public TypeMappings getJdbcMappings()

The PIM to language specific mappings for JDBC.


getJdbcType

public String getJdbcType()

The JDBC type for this entity attribute.


getSqlMappings

public TypeMappings getSqlMappings()

The SQL mappings (i.e. the mappings which provide PIM to SQL mappings).


getSqlType

public String getSqlType()

The SQL type for this attribute.


getUniqueGroup

public String getUniqueGroup()

The name of the unique-key that this unique attribute belongs


isIdentifier

public boolean isIdentifier()

True if this attribute is an identifier for its entity.


isTransient

public boolean isTransient()

Indicates this attribute should be ignored by the persistence layer.


isUnique

public boolean isUnique()

Whether or not the entity attribute is unique (default is false).



Copyright © 2003-2006 The AndroMDA Team. All Rights Reserved.