public class ForeignKeyMetadata extends ORMetadata
| Modifier and Type | Field and Description |
|---|---|
protected String |
m_constraintMode |
protected String |
m_foreignKeyDefinition |
protected String |
m_name |
m_project| Constructor and Description |
|---|
ForeignKeyMetadata()
INTERNAL:
Used for XML loading.
|
ForeignKeyMetadata(ForeignKeyMetadata foreignKey)
INTERNAL:
Used for annotation loading from subclasses of ForeignKeyMetadata.
|
ForeignKeyMetadata(MetadataAnnotation foreignKey,
MetadataAccessor accessor)
INTERNAL:
Used for annotation loading.
|
ForeignKeyMetadata(String xmlElement)
INTERNAL:
Used for XML loading.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
INTERNAL:
|
String |
getConstraintMode()
INTERNAL:
Used for OX mapping.
|
String |
getForeignKeyDefinition()
INTERNAL:
Used for OX mapping.
|
String |
getName()
INTERNAL:
Used for OX mapping.
|
int |
hashCode() |
protected boolean |
isConstraintMode()
INTERNAL:
|
protected boolean |
isNoConstraintMode()
INTERNAL:
|
protected boolean |
isProviderDefaultConstraintMode()
INTERNAL:
|
void |
process(DatabaseTable table)
INTERNAL:
Process this JPA metadata into an EclipseLink ForeignKeyConstraint.
|
void |
process(DatabaseTable table,
List<String> sourceFields,
List<String> targetFields,
DatabaseTable targetTable)
INTERNAL:
Process this JPA metadata into an EclipseLink ForeignKeyConstraint.
|
void |
setConstraintMode(String constraintMode)
INTERNAL:
Used for OX mapping.
|
void |
setForeignKeyDefinition(String foreignKeyDefinition)
INTERNAL:
Used for OX mapping.
|
void |
setName(String name)
INTERNAL:
Used for OX mapping.
|
getAccessibleObject, getAccessibleObjectName, getAnnotation, getBoxedType, getDatabaseTypeEnum, getEntityMappings, getFullyQualifiedClassName, getIdentifier, getJavaClass, getJavaClassName, getLoader, getLocation, getLogger, getMetadataClass, getMetadataClass, getMetadataClass, getMetadataFactory, getName, getPrimitiveClassForName, getProject, getText, getXMLElement, hasIdentifier, hasText, initXMLClassName, initXMLObject, initXMLObject, initXMLObjects, initXMLTextObject, loadedFromAnnotation, loadedFromEclipseLinkXML, loadedFromXML, merge, mergeORObjectLists, mergeORObjects, mergeSimpleObjects, reloadEntity, reloadMappedSuperclass, setAccessibleObject, setEntityMappings, setFieldName, setFieldName, setProject, shouldOverride, valuesMatch, valuesMatchprotected String m_name
protected String m_constraintMode
protected String m_foreignKeyDefinition
public ForeignKeyMetadata()
public ForeignKeyMetadata(ForeignKeyMetadata foreignKey)
public ForeignKeyMetadata(MetadataAnnotation foreignKey, MetadataAccessor accessor)
public ForeignKeyMetadata(String xmlElement)
public boolean equals(Object objectToCompare)
equals in class ORMetadatapublic String getConstraintMode()
public String getForeignKeyDefinition()
public String getName()
protected boolean isConstraintMode()
protected boolean isNoConstraintMode()
protected boolean isProviderDefaultConstraintMode()
public void process(DatabaseTable table)
public void process(DatabaseTable table, List<String> sourceFields, List<String> targetFields, DatabaseTable targetTable)
public void setConstraintMode(String constraintMode)
public void setForeignKeyDefinition(String foreignKeyDefinition)
public void setName(String name)
Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.