Module org.eclipse.persistence.jpa
Class PrimaryKeyMetadata
java.lang.Object
org.eclipse.persistence.internal.jpa.metadata.ORMetadata
org.eclipse.persistence.internal.jpa.metadata.columns.PrimaryKeyMetadata
Object to hold onto primary key metadata.
 Key notes:
 - any metadata mapped from XML to this class must be compared in the
   equals method.
 - when loading from annotations, the constructor accepts the metadata
   accessor this metadata was loaded from. Used it to look up any
   'companion' annotation needed for processing.
 - methods should be preserved in alphabetical order.
- Since:
- EclipseLink 1.1
- See Also:
- 
Field SummaryFields inherited from class org.eclipse.persistence.internal.jpa.metadata.ORMetadatam_project
- 
Constructor SummaryConstructorsConstructorDescriptionINTERNAL: Used for XML loading.PrimaryKeyMetadata(MetadataAnnotation primaryKey, MetadataAccessor accessor) INTERNAL: Used for annotation loading.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanINTERNAL:INTERNAL: Used for OX mapping.INTERNAL: Used for OX mapping.INTERNAL: Used for OX mapping.booleanINTERNAL:inthashCode()voidprocess(MetadataDescriptor descriptor) Process the meta-data, configure primary key and idValidation in descriptor.voidsetCacheKeyType(String cacheKeyType) INTERNAL: Used for OX mapping.voidsetColumns(List<ColumnMetadata> columns) INTERNAL: Used for OX mapping.voidsetValidation(String validation) INTERNAL: Used for OX mapping.Methods inherited from class org.eclipse.persistence.internal.jpa.metadata.ORMetadatagetAccessibleObject, 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, valuesMatch
- 
Constructor Details- 
PrimaryKeyMetadatapublic PrimaryKeyMetadata()INTERNAL: Used for XML loading.
- 
PrimaryKeyMetadataINTERNAL: Used for annotation loading.
 
- 
- 
Method Details- 
equalsINTERNAL:- Specified by:
- equalsin class- ORMetadata
 
- 
hashCodepublic int hashCode()
- 
getCacheKeyTypeINTERNAL: Used for OX mapping.
- 
getColumnsINTERNAL: Used for OX mapping.
- 
getValidationINTERNAL: Used for OX mapping.
- 
hasColumnspublic boolean hasColumns()INTERNAL:
- 
processProcess the meta-data, configure primary key and idValidation in descriptor.
- 
setCacheKeyTypeINTERNAL: Used for OX mapping.
- 
setColumnsINTERNAL: Used for OX mapping.
- 
setValidationINTERNAL: Used for OX mapping.
 
-