Module org.eclipse.persistence.jpa
Class ComplexTypeMetadata
java.lang.Object
org.eclipse.persistence.internal.jpa.metadata.ORMetadata
org.eclipse.persistence.internal.jpa.metadata.queries.ComplexTypeMetadata
- Direct Known Subclasses:
OracleComplexTypeMetadata,PLSQLComplexTypeMetadata
INTERNAL:
Object to hold onto complex type meta-data, including PL/SQL records
and collections, as well as advanced Oracle JDBC types.
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.5
-
Field Summary
FieldsFields inherited from class org.eclipse.persistence.internal.jpa.metadata.ORMetadata
m_project -
Constructor Summary
ConstructorsConstructorDescriptionComplexTypeMetadata(String element) INTERNAL: Used for XML loading.ComplexTypeMetadata(MetadataAnnotation record, MetadataAccessor accessor) INTERNAL: Used for annotation loading. -
Method Summary
Modifier and TypeMethodDescriptionbooleanINTERNAL:INTERNAL: The unique identifier of named subgraph metadata.getName()INTERNAL: Used for OX mapping.inthashCode()booleanIndicates an instance of OracleComplexTypeMetadata.booleanIndicates an instance of PLSQLComplexTypeMetadata.abstract ComplexDatabaseTypeprocess()Build a runtime type from the meta-data.protected voidprocess(ComplexDatabaseType type) Build a runtime record type from the meta-data.voidINTERNAL: Used for OX mapping.Methods 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, initXMLObject, initXMLObjects, initXMLTextObject, loadedFromAnnotation, loadedFromEclipseLinkXML, loadedFromXML, merge, mergeORObjectLists, mergeORObjects, mergeSimpleObjects, reloadEntity, reloadMappedSuperclass, setAccessibleObject, setEntityMappings, setFieldName, setFieldName, setProject, shouldOverride, valuesMatch, valuesMatch
-
Field Details
-
name
-
-
Constructor Details
-
ComplexTypeMetadata
INTERNAL: Used for XML loading. -
ComplexTypeMetadata
INTERNAL: Used for annotation loading.
-
-
Method Details
-
equals
INTERNAL:- Specified by:
equalsin classORMetadata
-
hashCode
public int hashCode() -
getIdentifier
INTERNAL: The unique identifier of named subgraph metadata.- Overrides:
getIdentifierin classORMetadata- See Also:
-
getName
INTERNAL: Used for OX mapping. -
process
Build a runtime type from the meta-data. -
process
Build a runtime record type from the meta-data. -
setName
INTERNAL: Used for OX mapping. -
isOracleComplexTypeMetadata
public boolean isOracleComplexTypeMetadata()Indicates an instance of OracleComplexTypeMetadata. -
isPLSQLComplexTypeMetadata
public boolean isPLSQLComplexTypeMetadata()Indicates an instance of PLSQLComplexTypeMetadata.
-