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
name
Fields inherited from class org.eclipse.persistence.internal.jpa.metadata.ORMetadata
m_project
-
Constructor Summary
ConstructorDescriptionINTERNAL: Used for XML loading.PLSQLTableMetadata
(MetadataAnnotation record, MetadataAccessor accessor) INTERNAL: Used for annotation loading. -
Method Summary
Modifier and TypeMethodDescriptionboolean
INTERNAL:Indicates if the instance represents a Nested Table (as opposed to Varray).INTERNAL: Used for OX mapping.int
hashCode()
boolean
Indicates if the instance represents a Nested Table (as opposed to Varray).boolean
Indicates an instance of PLSQLTableMetadata.process()
INTERNAL: Build a runtime record type from the meta-data.void
setNestedTable
(Boolean isNestedTable) Set boolean that indicates if the instance represents a Nested Table (as opposed to Varray)void
setNestedType
(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, setJavaType
Methods inherited from class org.eclipse.persistence.internal.jpa.metadata.queries.ComplexTypeMetadata
getIdentifier, getName, isOracleComplexTypeMetadata, setName
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
-
Constructor Details
-
PLSQLTableMetadata
public PLSQLTableMetadata()INTERNAL: Used for XML loading. -
PLSQLTableMetadata
INTERNAL: Used for annotation loading.
-
-
Method Details
-
equals
INTERNAL:- Overrides:
equals
in classPLSQLComplexTypeMetadata
-
hashCode
public int hashCode()- Overrides:
hashCode
in 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:
process
in 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:
isPLSQLTableMetadata
in classPLSQLComplexTypeMetadata
-