Module org.eclipse.persistence.jpa
Class PLSQLRecordMetadata
java.lang.Object
org.eclipse.persistence.internal.jpa.metadata.ORMetadata
org.eclipse.persistence.internal.jpa.metadata.queries.ComplexTypeMetadata
org.eclipse.persistence.internal.jpa.metadata.queries.PLSQLComplexTypeMetadata
org.eclipse.persistence.internal.jpa.metadata.queries.PLSQLRecordMetadata
INTERNAL:
Object to hold onto a PLSQL record meta-data.
Key notes:
- any metadata mapped from XML to this class must be compared in the
equals method.
- all metadata mapped from XML should be initialized in the initXMLObject
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 2.3
-
Field Summary
Fields inherited from class org.eclipse.persistence.internal.jpa.metadata.queries.ComplexTypeMetadata
nameFields inherited from class org.eclipse.persistence.internal.jpa.metadata.ORMetadata
m_project -
Constructor Summary
ConstructorsConstructorDescriptionINTERNAL: Used for XML loading.PLSQLRecordMetadata(MetadataAnnotation record, MetadataAccessor accessor) INTERNAL: Used for annotation loading. -
Method Summary
Modifier and TypeMethodDescriptionbooleanINTERNAL:INTERNAL: Used for OX mapping.inthashCode()voidinitXMLObject(MetadataAccessibleObject accessibleObject, XMLEntityMappings entityMappings) INTERNAL:booleanIndicates an instance of PLSQLRecordMetadata.process()INTERNAL: Build a runtime record type from the meta-data.voidsetFields(List<PLSQLParameterMetadata> fields) INTERNAL: Used for OX mapping.Methods inherited from class org.eclipse.persistence.internal.jpa.metadata.queries.PLSQLComplexTypeMetadata
getCompatibleType, getJavaType, isPLSQLComplexTypeMetadata, isPLSQLTableMetadata, process, setCompatibleType, setJavaTypeMethods inherited from class org.eclipse.persistence.internal.jpa.metadata.queries.ComplexTypeMetadata
getIdentifier, getName, isOracleComplexTypeMetadata, setNameMethods inherited from class org.eclipse.persistence.internal.jpa.metadata.ORMetadata
getAccessibleObject, getAccessibleObjectName, getAnnotation, getBoxedType, getDatabaseTypeEnum, getEntityMappings, getFullyQualifiedClassName, getJavaClass, getJavaClassName, getLoader, getLocation, getLogger, getMetadataClass, getMetadataClass, getMetadataClass, getMetadataFactory, getName, getPrimitiveClassForName, getProject, getText, getXMLElement, hasIdentifier, hasText, initXMLClassName, initXMLObject, initXMLObjects, initXMLTextObject, loadedFromAnnotation, loadedFromEclipseLinkXML, loadedFromXML, merge, mergeORObjectLists, mergeORObjects, mergeSimpleObjects, reloadEntity, reloadMappedSuperclass, setAccessibleObject, setEntityMappings, setFieldName, setFieldName, setProject, shouldOverride, valuesMatch, valuesMatch
-
Constructor Details
-
PLSQLRecordMetadata
public PLSQLRecordMetadata()INTERNAL: Used for XML loading. -
PLSQLRecordMetadata
INTERNAL: Used for annotation loading.
-
-
Method Details
-
equals
INTERNAL:- Overrides:
equalsin classPLSQLComplexTypeMetadata
-
hashCode
public int hashCode()- Overrides:
hashCodein classPLSQLComplexTypeMetadata
-
getFields
INTERNAL: Used for OX mapping. -
initXMLObject
public void initXMLObject(MetadataAccessibleObject accessibleObject, XMLEntityMappings entityMappings) INTERNAL:- Overrides:
initXMLObjectin classORMetadata
-
process
INTERNAL: Build a runtime record type from the meta-data.- Specified by:
processin classComplexTypeMetadata
-
setFields
INTERNAL: Used for OX mapping. -
isPLSQLRecordMetadata
public boolean isPLSQLRecordMetadata()Indicates an instance of PLSQLRecordMetadata.- Overrides:
isPLSQLRecordMetadatain classPLSQLComplexTypeMetadata
-