public abstract class RelationalColumnMetadata extends MetadataColumn
Constructor and Description |
---|
RelationalColumnMetadata(MetadataAnnotation relationalColumn,
MetadataAccessor accessor)
INTERNAL:
Used for annotation loading.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object objectToCompare)
INTERNAL:
|
DatabaseField |
getForeignKeyField(DatabaseField primaryKeyField)
INTERNAL:
By calling this method we will return the foreign key field with the
extra metadata from the primary key field that can not be applied to a
referenced column.
|
java.lang.String |
getReferencedColumnName()
INTERNAL:
Used for OX mapping.
|
boolean |
isForeignKeyFieldNotSpecified()
INTERNAL:
|
boolean |
isPrimaryKeyFieldNotSpecified()
INTERNAL:
|
void |
setReferencedColumnName(java.lang.String referencedColumnName)
INTERNAL:
Used for OX mapping.
|
getColumnDefinition, getDatabaseField, getName, setColumnDefinition, setName
getAccessibleObjectName, getEntityMappings, getJavaClass, getJavaClassName, getLocation, getLogger, getMetadataClass, getMetadataClass, getMetadataClass, getMetadataFactory, getProject, initXMLObject, loadedFromAnnotation, loadedFromEclipseLinkXML, loadedFromXML, setAccessibleObject, setEntityMappings, setProject, shouldOverride
public RelationalColumnMetadata(MetadataAnnotation relationalColumn, MetadataAccessor accessor)
public boolean equals(java.lang.Object objectToCompare)
equals
in class MetadataColumn
public DatabaseField getForeignKeyField(DatabaseField primaryKeyField)
public java.lang.String getReferencedColumnName()
public boolean isForeignKeyFieldNotSpecified()
public boolean isPrimaryKeyFieldNotSpecified()
public void setReferencedColumnName(java.lang.String referencedColumnName)
EclipseLink 2.4.2, "build v20130514-5956486" API Reference