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
 java.lang.String getColumnIndex()
           The name of the index to create on a column that persists the entity attribute.
 java.lang.String getColumnLength()
           The length of the column that persists this entity attribute.
 java.lang.String getColumnName()
           The name of the table column to which this entity is mapped.
 TypeMappings getJdbcMappings()
           The PIM to language specific mappings for JDBC.
 java.lang.String getJdbcType()
           The JDBC type for this entity attribute.
 TypeMappings getSqlMappings()
           The SQL mappings (i.e.
 java.lang.String getSqlType()
           The SQL type for this attribute.
 java.lang.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

boolean isEntityAttributeMetaType()
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 entity attribute.


getColumnLength

java.lang.String getColumnLength()

The length of the column that persists this entity attribute.


getColumnName

java.lang.String getColumnName()

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


getJdbcMappings

TypeMappings getJdbcMappings()

The PIM to language specific mappings for JDBC.


getJdbcType

java.lang.String getJdbcType()

The JDBC type for this entity attribute.


getSqlMappings

TypeMappings getSqlMappings()

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


getSqlType

java.lang.String getSqlType()

The SQL type for this attribute.


getUniqueGroup

java.lang.String getUniqueGroup()

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


isIdentifier

boolean isIdentifier()

True if this attribute is an identifier for its entity.


isTransient

boolean isTransient()

Indicates this attribute should be ignored by the persistence layer.


isUnique

boolean isUnique()

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



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