Top Description Fields Constructors Methods
org.eclipse.persistence.internal.jpa.metadata.accessors.classes

public Class EntityAccessor

extends MappedSuperclassAccessor
Class Inheritance
Static Imports
org.eclipse.persistence.internal.jpa.metadata.MetadataConstants.JPA_ACCESS_FIELD, .MetadataConstants.JPA_ACCESS_PROPERTY, .MetadataConstants.JPA_CONVERT, .MetadataConstants.JPA_CONVERTS, .MetadataConstants.JPA_DISCRIMINATOR_COLUMN, .MetadataConstants.JPA_DISCRIMINATOR_VALUE, .MetadataConstants.JPA_ENTITY, .MetadataConstants.JPA_ENTITY_GRAPH, .MetadataConstants.JPA_ENTITY_GRAPHS, .MetadataConstants.JPA_INHERITANCE, .MetadataConstants.JPA_PRIMARY_KEY_JOIN_COLUMN, .MetadataConstants.JPA_PRIMARY_KEY_JOIN_COLUMNS, .MetadataConstants.JPA_SECONDARY_TABLE, .MetadataConstants.JPA_SECONDARY_TABLES, .MetadataConstants.JPA_TABLE

An entity accessor. Key notes: - any metadata mapped from XML to this class must be compared in the equals method. - any metadata mapped from XML to this class must be handled in the merge method. (merging is done at the accessor/mapping level) - any metadata mapped from XML to this class must be initialized in the initXMLObject method. - methods should be preserved in alphabetical order.
Author
Guy Pelletier
Since
EclipseLink 1.0

Field Summary

Modifier and TypeField and Description
private Boolean
private MetadataClass
private String
private List<ConvertMetadata>
private DiscriminatorColumnMetadata
private String
private String
private List<IndexMetadata>
private InheritanceMetadata
private List<NamedEntityGraphMetadata>
private PrimaryKeyForeignKeyMetadata
private List<PrimaryKeyJoinColumnMetadata>
private List<SecondaryTableMetadata>
private TableMetadata

Constructor Summary

AccessConstructor and Description
public
EntityAccessor()

INTERNAL:

public

Method Summary

Modifier and TypeMethod and Description
protected void
addMultipleTableKeyFields(List<PrimaryKeyJoinColumnMetadata> primaryKeyJoinColumns, DatabaseTable targetTable, String PK_CTX, String FK_CTX)

INTERNAL: Add multiple fields to the descriptor.

protected void
discoverMappedSuperclassesAndInheritanceParents(boolean addMappedSuperclassAccessors)

INTERNAL: Build a list of classes that are decorated with a MappedSuperclass annotation or that are tagged as a mapped-superclass in an XML document.

public Boolean
getCascadeOnDelete()

INTERNAL: Used for OX mapping.

public String
getClassExtractorName()

INTERNAL: Used for OX mapping.

public List<ConvertMetadata>
getConverts()

INTERNAL: Used for OX mapping.

public DiscriminatorColumnMetadata
getDiscriminatorColumn()

INTERNAL: Used for OX mapping.

public String
getDiscriminatorValue()

INTERNAL: Used for OX mapping.

public String
getEntityName()

INTERNAL: Used for OX mapping.

public List<IndexMetadata>
getIndexes()

INTERNAL: Used for OX mapping.

public InheritanceMetadata
getInheritance()

INTERNAL: Used for OX mapping.

public List<NamedEntityGraphMetadata>
getNamedEntityGraphs()

INTERNAL: Used for OX mapping.

public PrimaryKeyForeignKeyMetadata
getPrimaryKeyForeignKey()

INTERNAL: Used for OX mapping.

public List<PrimaryKeyJoinColumnMetadata>
getPrimaryKeyJoinColumns()

INTERNAL: Used for OX mapping.

public List<SecondaryTableMetadata>
getSecondaryTables()

INTERNAL: Used for OX mapping.

public TableMetadata
getTable()

INTERNAL: Used for OX mapping.

public boolean
hasClassExtractor()

INTERNAL: This method is a little involved since a class extractor is mutually exclusive with a discriminator column.

public boolean
hasInheritance()

INTERNAL: Return true if this class has an inheritance specifications.

public void
public boolean
isCascadeOnDelete()

INTERNAL:

public boolean
isEntityAccessor()

Overrides org.eclipse.persistence.internal.jpa.metadata.accessors.classes.ClassAccessor.isEntityAccessor.

INTERNAL: Return true if this accessor represents an entity class.
public boolean
public void
public void
preProcess()

Overrides org.eclipse.persistence.internal.jpa.metadata.accessors.classes.MappedSuperclassAccessor.preProcess.

INTERNAL: The pre-process method is called during regular deployment and metadata processing and will pre-process the items of interest on an entity class.
public void
preProcessForCanonicalModel()

Overrides org.eclipse.persistence.internal.jpa.metadata.accessors.classes.ClassAccessor.preProcessForCanonicalModel.

INTERNAL: The pre-process for canonical model method is called (and only called) during the canonical model generation.
public void
process()

Overrides org.eclipse.persistence.internal.jpa.metadata.accessors.classes.MappedSuperclassAccessor.process.

INTERNAL: Process the items of interest on an entity class.
public void
processAccessMethods()

INTERNAL: For VIRTUAL access we need to look for default access methods that we need to use with our mapping attributes.

public void
protected void
processCaching()

Overrides org.eclipse.persistence.internal.jpa.metadata.accessors.classes.MappedSuperclassAccessor.processCaching.

INTERNAL: Process a caching metadata for this entity accessor logging ignore warnings where necessary.
protected void
processCascadeOnDelete()

INTERNAL: Check if CascadeOnDelete was set on the Entity.

public String
processClassExtractor()

INTERNAL: Return the user defined class extractor class for this entity.

public void
processConvert(ConvertMetadata convert)

INTERNAL: Add a convert metadata to the descriptor convert map.

public void
processConverts()

INTERNAL: Process the convert metadata for this entity accessor logging ignore warnings where necessary.

public void
public DatabaseField
processDiscriminatorColumn()

INTERNAL: Process the discriminator column metadata (defaulting if necessary), and return the EclipseLink database field.

public String
processDiscriminatorValue()

INTERNAL: Process a discriminator value to set the class indicator on the root descriptor of the inheritance hierarchy.

protected void
processEntity()

INTERNAL: Process the entity metadata.

protected void
processEntityGraphs()

INTERNAL: Process the entity graph metadata on this entity accessor.

protected void
processIndexes()

INTERNAL: Process index information for the given metadata descriptor.

protected void
processInheritance()

INTERNAL: Process the Inheritance metadata for a root of an inheritance hierarchy.

public void
processInheritancePrimaryKeyJoinColumns()

INTERNAL: Process the inheritance metadata for an inheritance subclass.

public void
processListeners(ClassLoader loader)

INTERNAL: Process the listeners for this entity.

public void
protected void
processSecondaryTable(SecondaryTableMetadata secondaryTable)

INTERNAL: Process a MetadataSecondaryTable.

protected void
processSecondaryTables()

INTERNAL: Process secondary-table(s) for a given entity.

protected void
processTable()

INTERNAL: Process table information for the given metadata descriptor.

protected void
processTable(TableMetadata table)

INTERNAL: Process a MetadataTable.

protected void
processTableAndInheritance()

INTERNAL: Process any inheritance specifics.

public void
setCascadeOnDelete(Boolean cascadeOnDelete)

INTERNAL: Used for OX mapping.

public void
setClassExtractorName(String classExtractorName)

INTERNAL: Used for OX mapping.

public void
setConverts(List<ConvertMetadata> converts)

INTERNAL: Used for OX mapping.

public void
setDiscriminatorColumn(DiscriminatorColumnMetadata discriminatorColumn)

INTERNAL: Used for OX mapping.

public void
setDiscriminatorValue(String discriminatorValue)

INTERNAL: Used for OX mapping.

public void
setEntityName(String entityName)

INTERNAL: Used for OX mapping.

public void
setIndexes(List<IndexMetadata> indexes)

INTERNAL: Used for OX mapping.

public void
setInheritance(InheritanceMetadata inheritance)

INTERNAL: Used for OX mapping.

public void
setNamedEntityGraphs(List<NamedEntityGraphMetadata> namedEntityGraphs)

INTERNAL: Used for OX mapping.

public void
setPrimaryKeyForeignKey(PrimaryKeyForeignKeyMetadata primaryKeyForeignKey)

INTERNAL: Used for OX mapping.

public void
setPrimaryKeyJoinColumns(List<PrimaryKeyJoinColumnMetadata> primaryKeyJoinColumns)

INTERNAL: Used for OX mapping.

public void
setSecondaryTables(List<SecondaryTableMetadata> secondaryTables)

INTERNAL: Used for OX mapping.

public void
setTable(TableMetadata table)

INTERNAL: Used for OX mapping.

protected void
validateOptimisticLocking()

INTERNAL: Validate a OptimisticLocking(type=VERSION_COLUMN) setting.

protected void
validatePrimaryKey()

INTERNAL: Call this method after a primary key should have been found.

Inherited from org.eclipse.persistence.internal.jpa.metadata.accessors.classes.MappedSuperclassAccessor:
excludeDefaultListenersexcludeSuperclassListenersgetAdditionalCriteriagetCachegetCacheablegetCacheIndexesgetCacheInterceptorgetEntityListenersgetExcludeDefaultListenersgetExcludeSuperclassListenersgetExistenceCheckinggetFetchGroupsgetIdClassgetIdClassNamegetMultitenantgetNamedNativeQueriesgetNamedPLSQLStoredFunctionQueriesgetNamedPLSQLStoredProcedureQueriesgetNamedQueriesgetNamedStoredFunctionQueriesgetNamedStoredProcedureQueriesgetOptimisticLockinggetPostLoadgetPostPersistgetPostRemovegetPostUpdategetPrePersistgetPreRemovegetPreUpdategetPrimaryKeygetQueryRedirectorsgetReadOnlygetSequenceGeneratorgetSerializedObjectPolicygetSqlResultSetMappingsgetTableGeneratorgetUuidGeneratorhasObjectRelationalFieldMappingAnnotationsDefinedhasObjectRelationalMethodMappingAnnotationsDefinedinitIdClassprocessAdditionalCriteriaprocessCacheprocessCacheableprocessCacheIndexesprocessCacheInterceptorprocessCachingMetadataprocessDefaultRedirectorsprocessEntityListenersprocessExcludeDefaultListenersprocessExcludeSuperclassListenersprocessExistenceCheckingprocessFetchGroupprocessFetchGroupsprocessIdClassprocessMetamodelDescriptorprocessMultitenantprocessNamedNativeQueriesprocessNamedPLSQLStoredFunctionQueriesprocessNamedPLSQLStoredProcedureQueriesprocessNamedQueriesprocessNamedStoredFunctionQueriesprocessNamedStoredProcedureQueriesprocessOptimisticLockingprocessPrimaryKeyprocessReadOnlyprocessSequenceGeneratorprocessSerializedObjectPolicyprocessSqlResultSetMappingsprocessTableGeneratorprocessUuidGeneratorsetAdditionalCriteriasetCachesetCacheablesetCacheIndexessetCacheInterceptorsetEntityListenerssetExcludeDefaultListenerssetExcludeSuperclassListenerssetExistenceCheckingsetFetchGroupssetIdClasssetIdClassNamesetMultitenantsetNamedNativeQueriessetNamedPLSQLStoredFunctionQueriessetNamedPLSQLStoredProcedureQueriessetNamedQueriessetNamedStoredFunctionQueriessetNamedStoredProcedureQueriessetOptimisticLockingsetPostLoadsetPostPersistsetPostRemovesetPostUpdatesetPrePersistsetPreRemovesetPreUpdatesetPrimaryKeysetQueryRedirectorssetReadOnlysetSequenceGeneratorsetSerializedObjectPolicysetSqlResultSetMappingssetTableGeneratorsetUuidGenerator

Field Detail

m_cascadeOnDeleteback to summary
private Boolean m_cascadeOnDelete
m_classExtractorback to summary
private MetadataClass m_classExtractor
m_classExtractorNameback to summary
private String m_classExtractorName
m_convertsback to summary
private List<ConvertMetadata> m_converts
m_discriminatorColumnback to summary
private DiscriminatorColumnMetadata m_discriminatorColumn
m_discriminatorValueback to summary
private String m_discriminatorValue
m_entityNameback to summary
private String m_entityName
m_indexesback to summary
private List<IndexMetadata> m_indexes
m_inheritanceback to summary
private InheritanceMetadata m_inheritance
m_namedEntityGraphsback to summary
private List<NamedEntityGraphMetadata> m_namedEntityGraphs
m_primaryKeyForeignKeyback to summary
private PrimaryKeyForeignKeyMetadata m_primaryKeyForeignKey
m_primaryKeyJoinColumnsback to summary
private List<PrimaryKeyJoinColumnMetadata> m_primaryKeyJoinColumns
m_secondaryTablesback to summary
private List<SecondaryTableMetadata> m_secondaryTables
m_tableback to summary
private TableMetadata m_table

Constructor Detail

EntityAccessorback to summary
public EntityAccessor()

INTERNAL:

EntityAccessorback to summary
public EntityAccessor(MetadataAnnotation annotation, MetadataClass cls, MetadataProject project)

INTERNAL:

Method Detail

addMultipleTableKeyFieldsback to summary
protected void addMultipleTableKeyFields(List<PrimaryKeyJoinColumnMetadata> primaryKeyJoinColumns, DatabaseTable targetTable, String PK_CTX, String FK_CTX)

INTERNAL: Add multiple fields to the descriptor. Called from either Inheritance or SecondaryTable context.

discoverMappedSuperclassesAndInheritanceParentsback to summary
protected void discoverMappedSuperclassesAndInheritanceParents(boolean addMappedSuperclassAccessors)

INTERNAL: Build a list of classes that are decorated with a MappedSuperclass annotation or that are tagged as a mapped-superclass in an XML document. This method will also do a couple other things as well since we are traversing the parent classes: - Build a map of generic types specified and will be used to resolve actual class types for mappings. - Will discover and set the inheritance parent and root descriptors if this entity is part of an inheritance hierarchy. - save mapped-superclass descriptors on the project for later use by the Metamodel API Note: The list is rebuilt every time this method is called since it is called both during pre-deploy and deploy where the class loader dependencies change.

getCascadeOnDeleteback to summary
public Boolean getCascadeOnDelete()

INTERNAL: Used for OX mapping.

getClassExtractorNameback to summary
public String getClassExtractorName()

INTERNAL: Used for OX mapping.

getConvertsback to summary
public List<ConvertMetadata> getConverts()

INTERNAL: Used for OX mapping.

getDiscriminatorColumnback to summary
public DiscriminatorColumnMetadata getDiscriminatorColumn()

INTERNAL: Used for OX mapping.

getDiscriminatorValueback to summary
public String getDiscriminatorValue()

INTERNAL: Used for OX mapping.

getEntityNameback to summary
public String getEntityName()

INTERNAL: Used for OX mapping.

getIndexesback to summary
public List<IndexMetadata> getIndexes()

INTERNAL: Used for OX mapping.

getInheritanceback to summary
public InheritanceMetadata getInheritance()

INTERNAL: Used for OX mapping.

getNamedEntityGraphsback to summary
public List<NamedEntityGraphMetadata> getNamedEntityGraphs()

INTERNAL: Used for OX mapping.

getPrimaryKeyForeignKeyback to summary
public PrimaryKeyForeignKeyMetadata getPrimaryKeyForeignKey()

INTERNAL: Used for OX mapping.

getPrimaryKeyJoinColumnsback to summary
public List<PrimaryKeyJoinColumnMetadata> getPrimaryKeyJoinColumns()

INTERNAL: Used for OX mapping.

getSecondaryTablesback to summary
public List<SecondaryTableMetadata> getSecondaryTables()

INTERNAL: Used for OX mapping.

getTableback to summary
public TableMetadata getTable()

INTERNAL: Used for OX mapping.

hasClassExtractorback to summary
public boolean hasClassExtractor()

INTERNAL: This method is a little involved since a class extractor is mutually exclusive with a discriminator column. Within one xml file it is impossible to have both specified since they are within a choice tag. However, if one is specified in the orm.xml and the other in the eclipselink-orm.xml, after the merge both will be set on this accessor, so we need to check which came from the eclipselink-orm.xml because it is the one we need to use.

hasInheritanceback to summary
public boolean hasInheritance()

INTERNAL: Return true if this class has an inheritance specifications.

initXMLObjectback to summary
public void initXMLObject(MetadataAccessibleObject accessibleObject, XMLEntityMappings entityMappings)

Overrides org.eclipse.persistence.internal.jpa.metadata.accessors.classes.MappedSuperclassAccessor.initXMLObject.

INTERNAL:

Annotations
@Override
isCascadeOnDeleteback to summary
public boolean isCascadeOnDelete()

INTERNAL:

isEntityAccessorback to summary
public boolean isEntityAccessor()

Overrides org.eclipse.persistence.internal.jpa.metadata.accessors.classes.ClassAccessor.isEntityAccessor.

INTERNAL: Return true if this accessor represents an entity class.

Annotations
@Override
isMappedSuperclassback to summary
public boolean isMappedSuperclass()

Overrides org.eclipse.persistence.internal.jpa.metadata.accessors.classes.MappedSuperclassAccessor.isMappedSuperclass.

INTERNAL:

Annotations
@Override
mergeback to summary
public void merge(ORMetadata metadata)

Overrides org.eclipse.persistence.internal.jpa.metadata.accessors.classes.MappedSuperclassAccessor.merge.

INTERNAL: Entity level merging details.

Annotations
@Override
preProcessback to summary
public void preProcess()

Overrides org.eclipse.persistence.internal.jpa.metadata.accessors.classes.MappedSuperclassAccessor.preProcess.

INTERNAL: The pre-process method is called during regular deployment and metadata processing and will pre-process the items of interest on an entity class. The order of processing is important, care must be taken if changes must be made.

Annotations
@Override
preProcessForCanonicalModelback to summary
public void preProcessForCanonicalModel()

Overrides org.eclipse.persistence.internal.jpa.metadata.accessors.classes.ClassAccessor.preProcessForCanonicalModel.

INTERNAL: The pre-process for canonical model method is called (and only called) during the canonical model generation. The use of this pre-process allows us to remove some items from the regular pre-process that do not apply to the canonical model generation. The order of processing is important, care must be taken if changes must be made.

Annotations
@Override
processback to summary
public void process()

Overrides org.eclipse.persistence.internal.jpa.metadata.accessors.classes.MappedSuperclassAccessor.process.

INTERNAL: Process the items of interest on an entity class. The order of processing is important, care must be taken if changes must be made.

Annotations
@Override
processAccessMethodsback to summary
public void processAccessMethods()

INTERNAL: For VIRTUAL access we need to look for default access methods that we need to use with our mapping attributes.

processAccessTypeback to summary
public void processAccessType()

Overrides org.eclipse.persistence.internal.jpa.metadata.accessors.classes.MappedSuperclassAccessor.processAccessType.

INTERNAL: Figure out the access type for this entity. It works as follows: 1 - check for an explicit access type specification 2 - check our inheritance parents (ignoring explicit specifications) 3 - check our mapped superclasses (ignoring explicit specifications) for the location of annotations 4 - check the entity itself for the location of annotations 5 - check for an xml default from a persistence-unit-metadata-defaults or entity-mappings setting. 6 - we have exhausted our search, default to FIELD.

Annotations
@Override
processCachingback to summary
protected void processCaching()

Overrides org.eclipse.persistence.internal.jpa.metadata.accessors.classes.MappedSuperclassAccessor.processCaching.

INTERNAL: Process a caching metadata for this entity accessor logging ignore warnings where necessary.

Annotations
@Override
processCascadeOnDeleteback to summary
protected void processCascadeOnDelete()

INTERNAL: Check if CascadeOnDelete was set on the Entity.

processClassExtractorback to summary
public String processClassExtractor()

INTERNAL: Return the user defined class extractor class for this entity. Assumes hasClassExtractor has been called beforehand (meaning we either have an annotation or XML definition.

processConvertback to summary
public void processConvert(ConvertMetadata convert)

INTERNAL: Add a convert metadata to the descriptor convert map.

processConvertsback to summary
public void processConverts()

INTERNAL: Process the convert metadata for this entity accessor logging ignore warnings where necessary.

processDerivedIdback to summary
public void processDerivedId(HashSet<ClassAccessor> processing, HashSet<ClassAccessor> processed)

Overrides org.eclipse.persistence.internal.jpa.metadata.accessors.classes.ClassAccessor.processDerivedId.

INTERNAL: Allows for processing DerivedIds. All referenced accessors are processed first to ensure the necessary fields are set before this derivedId is processed

Annotations
@Override
processDiscriminatorColumnback to summary
public DatabaseField processDiscriminatorColumn()

INTERNAL: Process the discriminator column metadata (defaulting if necessary), and return the EclipseLink database field.

processDiscriminatorValueback to summary
public String processDiscriminatorValue()

INTERNAL: Process a discriminator value to set the class indicator on the root descriptor of the inheritance hierarchy. If there is no discriminator value, the class indicator defaults to the class name.

processEntityback to summary
protected void processEntity()

INTERNAL: Process the entity metadata.

processEntityGraphsback to summary
protected void processEntityGraphs()

INTERNAL: Process the entity graph metadata on this entity accessor.

processIndexesback to summary
protected void processIndexes()

INTERNAL: Process index information for the given metadata descriptor.

processInheritanceback to summary
protected void processInheritance()

INTERNAL: Process the Inheritance metadata for a root of an inheritance hierarchy. One may or may not be specified for the entity class that is the root of the entity class hierarchy, so we need to default in this case. This method should only be called on the root of the inheritance hierarchy.

processInheritancePrimaryKeyJoinColumnsback to summary
public void processInheritancePrimaryKeyJoinColumns()

INTERNAL: Process the inheritance metadata for an inheritance subclass. The parent descriptor must be provided.

processListenersback to summary
public void processListeners(ClassLoader loader)

INTERNAL: Process the listeners for this entity.

processMappingAccessorsback to summary
public void processMappingAccessors()

Overrides org.eclipse.persistence.internal.jpa.metadata.accessors.classes.ClassAccessor.processMappingAccessors.

INTERNAL: Process the accessors for the given class. If we are within a TABLE_PER_CLASS inheritance hierarchy, our parent accessors will already have been added at this point.

Annotations
@Override
See Also
process()
processSecondaryTableback to summary
protected void processSecondaryTable(SecondaryTableMetadata secondaryTable)

INTERNAL: Process a MetadataSecondaryTable. Do all the table name defaulting and set the correct, fully qualified name on the TopLink DatabaseTable.

processSecondaryTablesback to summary
protected void processSecondaryTables()

INTERNAL: Process secondary-table(s) for a given entity.

processTableback to summary
protected void processTable()

INTERNAL: Process table information for the given metadata descriptor.

processTableback to summary
protected void processTable(TableMetadata table)

INTERNAL: Process a MetadataTable. Do all the table name defaulting and set the correct, fully qualified name on the TopLink DatabaseTable.

processTableAndInheritanceback to summary
protected void processTableAndInheritance()

INTERNAL: Process any inheritance specifics.

Note

Inheritance hierarchies are always processed from the top down so it is safe to assume that all our parents have already been processed fully. The only exception being when a root accessor doesn't know they are a root (defaulting case). In this case we'll tell the root accessor to process the inheritance metadata before continuing with our own processing.

setCascadeOnDeleteback to summary
public void setCascadeOnDelete(Boolean cascadeOnDelete)

INTERNAL: Used for OX mapping.

setClassExtractorNameback to summary
public void setClassExtractorName(String classExtractorName)

INTERNAL: Used for OX mapping.

setConvertsback to summary
public void setConverts(List<ConvertMetadata> converts)

INTERNAL: Used for OX mapping.

setDiscriminatorColumnback to summary
public void setDiscriminatorColumn(DiscriminatorColumnMetadata discriminatorColumn)

INTERNAL: Used for OX mapping.

setDiscriminatorValueback to summary
public void setDiscriminatorValue(String discriminatorValue)

INTERNAL: Used for OX mapping.

setEntityNameback to summary
public void setEntityName(String entityName)

INTERNAL: Used for OX mapping.

setIndexesback to summary
public void setIndexes(List<IndexMetadata> indexes)

INTERNAL: Used for OX mapping.

setInheritanceback to summary
public void setInheritance(InheritanceMetadata inheritance)

INTERNAL: Used for OX mapping.

setNamedEntityGraphsback to summary
public void setNamedEntityGraphs(List<NamedEntityGraphMetadata> namedEntityGraphs)

INTERNAL: Used for OX mapping.

setPrimaryKeyForeignKeyback to summary
public void setPrimaryKeyForeignKey(PrimaryKeyForeignKeyMetadata primaryKeyForeignKey)

INTERNAL: Used for OX mapping.

setPrimaryKeyJoinColumnsback to summary
public void setPrimaryKeyJoinColumns(List<PrimaryKeyJoinColumnMetadata> primaryKeyJoinColumns)

INTERNAL: Used for OX mapping.

setSecondaryTablesback to summary
public void setSecondaryTables(List<SecondaryTableMetadata> secondaryTables)

INTERNAL: Used for OX mapping.

setTableback to summary
public void setTable(TableMetadata table)

INTERNAL: Used for OX mapping.

validateOptimisticLockingback to summary
protected void validateOptimisticLocking()

INTERNAL: Validate a OptimisticLocking(type=VERSION_COLUMN) setting. That is, validate that we found a version field. If not, throw an exception.

validatePrimaryKeyback to summary
protected void validatePrimaryKey()

INTERNAL: Call this method after a primary key should have been found.