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
-
public class PLSQLTableMetadata extends PLSQLComplexTypeMetadata
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
- Author:
- James Sutherland
-
-
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
Constructors Constructor Description PLSQLTableMetadata()INTERNAL: Used for XML loading.PLSQLTableMetadata(MetadataAnnotation record, MetadataAccessor accessor)INTERNAL: Used for annotation loading.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object objectToCompare)INTERNAL:java.lang.BooleangetNestedTable()Indicates if the instance represents a Nested Table (as opposed to Varray).java.lang.StringgetNestedType()INTERNAL: Used for OX mapping.inthashCode()booleanisNestedTable()Indicates if the instance represents a Nested Table (as opposed to Varray).booleanisPLSQLTableMetadata()Indicates an instance of PLSQLTableMetadata.org.eclipse.persistence.platform.database.oracle.plsql.PLSQLCollectionprocess()INTERNAL: Build a runtime record type from the meta-data.voidsetNestedTable(java.lang.Boolean isNestedTable)Set boolean that indicates if the instance represents a Nested Table (as opposed to Varray)voidsetNestedType(java.lang.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 Detail
-
PLSQLTableMetadata
public PLSQLTableMetadata()
INTERNAL: Used for XML loading.
-
PLSQLTableMetadata
public PLSQLTableMetadata(MetadataAnnotation record, MetadataAccessor accessor)
INTERNAL: Used for annotation loading.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object objectToCompare)
INTERNAL:- Overrides:
equalsin classPLSQLComplexTypeMetadata
-
hashCode
public int hashCode()
- Overrides:
hashCodein classPLSQLComplexTypeMetadata
-
getNestedTable
public java.lang.Boolean getNestedTable()
Indicates if the instance represents a Nested Table (as opposed to Varray). Defaults to false, i.e. Varray.
-
getNestedType
public java.lang.String 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
public org.eclipse.persistence.platform.database.oracle.plsql.PLSQLCollection process()
INTERNAL: Build a runtime record type from the meta-data.- Specified by:
processin classComplexTypeMetadata
-
setNestedTable
public void setNestedTable(java.lang.Boolean isNestedTable)
Set boolean that indicates if the instance represents a Nested Table (as opposed to Varray)
-
setNestedType
public void setNestedType(java.lang.String nestedType)
INTERNAL: Used for OX mapping.
-
isPLSQLTableMetadata
public boolean isPLSQLTableMetadata()
Indicates an instance of PLSQLTableMetadata.- Overrides:
isPLSQLTableMetadatain classPLSQLComplexTypeMetadata
-
-