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:
|
ForeignKeyMetadata |
getForeignKey()
INTERNAL:
Used for OX mapping.
|
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 |
hasForeignKey()
INTERNAL:
Return true if a foreign key has been defined on this column.
|
boolean |
isForeignKeyFieldNotSpecified()
INTERNAL:
|
boolean |
isPrimaryKeyFieldNotSpecified()
INTERNAL:
|
void |
setForeignKey(ForeignKeyMetadata foreignKey)
INTERNAL:
Used for OX mapping.
|
void |
setReferencedColumnName(java.lang.String referencedColumnName)
INTERNAL:
Used for OX mapping.
|
getColumnDefinition, getDatabaseField, getName, setColumnDefinition, setName
getAccessibleObjectName, getAnnotation, getEntityMappings, getJavaClassName, getLoader, 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 ForeignKeyMetadata getForeignKey()
public DatabaseField getForeignKeyField(DatabaseField primaryKeyField)
public java.lang.String getReferencedColumnName()
public boolean hasForeignKey()
public boolean isForeignKeyFieldNotSpecified()
public boolean isPrimaryKeyFieldNotSpecified()
public void setForeignKey(ForeignKeyMetadata foreignKey)
public void setReferencedColumnName(java.lang.String referencedColumnName)
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference