Module org.eclipse.persistence.jpa
Class PLSQLTableMetadata
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.PLSQLTableMetadata
INTERNAL:
Object to hold onto a PLSQL table 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.PLSQLTableMetadata(MetadataAnnotation record, MetadataAccessor accessor) INTERNAL: Used for annotation loading. -
Method Summary
Modifier and TypeMethodDescriptionbooleanINTERNAL:Indicates if the instance represents a Nested Table (as opposed to Varray).INTERNAL: Used for OX mapping.inthashCode()booleanIndicates if the instance represents a Nested Table (as opposed to Varray).booleanIndicates an instance of PLSQLTableMetadata.process()INTERNAL: Build a runtime record type from the meta-data.voidsetNestedTable(Boolean isNestedTable) Set boolean that indicates if the instance represents a Nested Table (as opposed to Varray)voidsetNestedType(String nestedType) INTERNAL: Used for OX mapping.Methods inherited from class org.eclipse.persistence.internal.jpa.metadata.queries.PLSQLComplexTypeMetadata
getCompatibleType, getJavaType, isPLSQLComplexTypeMetadata, isPLSQLRecordMetadata, 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, initXMLObject, initXMLObjects, initXMLTextObject, loadedFromAnnotation, loadedFromEclipseLinkXML, loadedFromXML, merge, mergeORObjectLists, mergeORObjects, mergeSimpleObjects, reloadEntity, reloadMappedSuperclass, setAccessibleObject, setEntityMappings, setFieldName, setFieldName, setProject, shouldOverride, valuesMatch, valuesMatch
-
Constructor Details
-
PLSQLTableMetadata
public PLSQLTableMetadata()INTERNAL: Used for XML loading. -
PLSQLTableMetadata
INTERNAL: Used for annotation loading.
-
-
Method Details
-
equals
INTERNAL:- Overrides:
equalsin classPLSQLComplexTypeMetadata
-
hashCode
public int hashCode()- Overrides:
hashCodein classPLSQLComplexTypeMetadata
-
getNestedTable
Indicates if the instance represents a Nested Table (as opposed to Varray). Defaults to false, i.e. Varray. -
getNestedType
INTERNAL: Used for OX mapping. -
isNestedTable
public boolean isNestedTable()Indicates if the instance represents a Nested Table (as opposed to Varray). Defaults to false, i.e. Varray. -
process
INTERNAL: Build a runtime record type from the meta-data.- Specified by:
processin classComplexTypeMetadata
-
setNestedTable
Set boolean that indicates if the instance represents a Nested Table (as opposed to Varray) -
setNestedType
INTERNAL: Used for OX mapping. -
isPLSQLTableMetadata
public boolean isPLSQLTableMetadata()Indicates an instance of PLSQLTableMetadata.- Overrides:
isPLSQLTableMetadatain classPLSQLComplexTypeMetadata
-