Module org.eclipse.persistence.jpa
Class ClassAccessor
java.lang.Object
org.eclipse.persistence.internal.jpa.metadata.ORMetadata
org.eclipse.persistence.internal.jpa.metadata.accessors.MetadataAccessor
org.eclipse.persistence.internal.jpa.metadata.accessors.classes.ClassAccessor
- Direct Known Subclasses:
EmbeddableAccessor
,InterfaceAccessor
,MappedSuperclassAccessor
INTERNAL:
A abstract class accessor. Holds common metadata for entities, embeddables
and mapped superclasses.
Key notes:
- all metadata mapped from XML to this class must be compared in the
equals method.
- all metadata mapped from XML must be initialized in the initXMLObject
method.
- all metadata mapped from XML to this class must be handled in the merge
method. (merging is done at the accessor/mapping level)
- any metadata mapped from XML to this class must be initialized in the
initXMLObject method.
- methods should be preserved in alphabetical order.
- Since:
- TopLink EJB 3.0 Reference Implementation
-
Field Summary
Fields inherited from class org.eclipse.persistence.internal.jpa.metadata.ORMetadata
m_project
-
Constructor Summary
ModifierConstructorDescriptionprotected
ClassAccessor
(String xmlElement) INTERNAL:protected
ClassAccessor
(MetadataAnnotation annotation, MetadataClass cls, MetadataDescriptor descriptor) INTERNAL: Called from MappedSuperclassAccessor.ClassAccessor
(MetadataAnnotation annotation, MetadataClass cls, MetadataProject project) INTERNAL: -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAccessor
(MappingAccessor accessor) INTERNAL: Add the accessor to the descriptorprotected void
addAccessorFields
(boolean processingInverse) INTERNAL: Create mappings from the fields directly.protected void
addAccessorMethods
(boolean processingInverse) INTERNAL: Create mappings via the class properties.void
INTERNAL: Add the accessors from this class accessors java class to the descriptor tied to this class accessor.protected void
addPotentialEmbeddableAccessor
(MetadataClass potentialEmbeddableClass, ClassAccessor embeddingAccessor) INTERNAL Add an embeddable class to the embeddable accessor list if it is indeed an embeddable.protected void
addPotentialMappedSuperclass
(MetadataClass metadataClass, boolean addMappedSuperclassAccessors) INTERNAL: Add mapped superclass accessors to inheriting entities.protected MappingAccessor
buildAccessor
(MetadataAnnotatedElement accessibleObject) INTERNAL: Create and return the appropriate accessor based on the accessible object given.protected void
INTERNAL:void
INTERNAL: In some cases the pre-processing may need to be re-done.boolean
INTERNAL:boolean
INTERNAL: Return true if this class accessor has been set to metadata complete.protected MetadataField
getAccessibleField
(MappingAccessor accessor) INTERNAL: Return the accessible field for the given mapping accessor.protected MetadataMethod
getAccessibleMethod
(MappingAccessor accessor) INTERNAL: Return the accessible method for the given mapping accessor.protected MetadataMethod
getAccessibleVirtualMethod
(MappingAccessor accessor) INTERNAL: This method should only be called when using virtual access and presumably for dynamic persistence.INTERNAL: Return the access type of this accessor.protected MetadataAnnotation
getAnnotation
(String annotation) INTERNAL: Return the annotation if it exists.INTERNAL: Used for OX mapping.INTERNAL: Used for OX mapping.INTERNAL: Used for OX mapping.INTERNAL: Used for OX mapping.INTERNAL: Used for OX mapping.INTERNAL: Used for OX mappingINTERNAL:INTERNAL: Used for OX mappingINTERNAL:INTERNAL: Used for OX mapping.INTERNAL: Used for OX mapping.INTERNAL: Used for OX mapping.INTERNAL: To satisfy the abstract getIdentifier() method from ORMetadata.INTERNAL: Used for OX mappingINTERNAL: Return the java class that defines this accessor.INTERNAL: Return the java class name that defines this accessor.INTERNAL: Return the mapped superclasses associated with this entity accessor.INTERNAL: Used for OX mapping.getNoSql()
INTERNAL: Used for OX mapping.Returns the list of OracleArrayType instances.Returns the list of OracleObjectType instances.INTERNAL: In most cases the owning descriptor is the descriptor associated with this class accessor.INTERNAL: In most cases the owning descriptors is the single descriptor associated with this class accessor.protected MetadataClass
INTERNAL:INTERNAL: Used for OX mapping.INTERNAL: Used for OX mapping.INTERNAL: Used for OX mapping.INTERNAL: Used for OX mapping.boolean
INTERNAL:int
hashCode()
protected boolean
INTERNAL:boolean
INTERNAL: Return true if this class accessor has been set to metadata complete.void
initXMLClassAccessor
(MetadataAccessibleObject accessibleObject, MetadataDescriptor descriptor, MetadataProject project, XMLEntityMappings entityMappings) INTERNAL: This method should be subclassed in those methods that need to do extra initialization.void
initXMLObject
(MetadataAccessibleObject accessibleObject, XMLEntityMappings entityMappings) INTERNAL:boolean
isAnnotationPresent
(String annotation) INTERNAL: Indicates whether the specified annotation is present on the annotated element for this accessor.boolean
INTERNAL: Return true if this accessor represents a class.boolean
INTERNAL: Return true if this accessor represents an embeddable class.boolean
INTERNAL: Return true if this accessor represents an entity class.boolean
INTERNAL: Return whether this ClassAccessor is a MappedSuperclassAccessorboolean
INTERNAL:boolean
INTERNAL: Return true if this accessor has been pre-processed.boolean
INTERNAL: Return true if this accessor has been processed.void
merge
(ORMetadata metadata) INTERNAL: Generic class level merging details for entities, mapped superclasses and embeddables.void
INTERNAL: The pre-process method is called during regular deployment and metadata processing.void
INTERNAL: The pre-process for canonical model method is called (and only called) during the canonical model generation.protected void
preProcessMappedSuperclassMetadata
(MappedSuperclassAccessor mappedSuperclass) INTERNAL: Sub classes that support extending mapped superclasses should override this method to control what is pre-processed from a mapped superclass.void
process()
INTERNAL: This method should be overridden by all class accessors to process their specific class metadata first then call up to this method to process the common metadata.protected abstract void
INTERNAL:protected void
processAssociationOverride
(AssociationOverrideMetadata associationOverride) INTERNAL: Process the association override metadata specified on an entity or mapped superclass.protected void
INTERNAL: Process the association override metadata specified on an entity or mapped superclass.protected void
processAttributeOverride
(AttributeOverrideMetadata attributeOverride) INTERNAL: Process the attribute override metadata specified on an entity or mapped superclass.protected void
INTERNAL: Process the attribute override metadata specified on an entity or mapped superclass.protected void
INTERNAL: Process the change tracking setting for this accessor.void
Process PL/SQL record and table types, Oracle object array and XMLType types.protected void
INTERNAL:protected void
INTERNAL:void
processDerivedId
(HashSet<ClassAccessor> processing, HashSet<ClassAccessor> processed) INTERNAL: Allows for processing derived ids, either from an Id or MapsId specification.protected void
processMappedSuperclassMetadata
(MappedSuperclassAccessor mappedSuperclass) INTERNAL Sub classes that support extending mapped superclasses should override this method to control what is processed from a mapped superclass.void
INTERNAL: Process the accessors for the given class.protected void
INTERNAL: Check for and process a NoSql annotation and configure the correct descriptor type.void
INTERNAL: If the user specified a parent class set it on the metadata class for this accessor.protected void
INTERNAL: Adds properties to the descriptor.protected void
Check for and process a Struct annotation and configure the correct descriptor type.protected void
INTERNAL: If this class accessor uses VIRTUAL access and is not accessible, add it to our list of virtual classes that will be dynamically created.protected void
resolveGenericTypes
(List<String> genericTypes, MetadataClass parent) INTERNAL: This method resolves generic types.void
setAssociationOverrides
(List<AssociationOverrideMetadata> associationOverrides) INTERNAL: Used for OX mapping.void
setAttributeOverrides
(List<AttributeOverrideMetadata> attributeOverrides) INTERNAL: Used for OX mapping.void
setAttributes
(XMLAttributes attributes) INTERNAL: Used for OX mapping.void
setChangeTracking
(ChangeTrackingMetadata changeTracking) INTERNAL: Used for OX mapping.void
setClassName
(String className) INTERNAL: Used for OX mapping.void
setCloneCopyPolicy
(CloneCopyPolicyMetadata copyPolicy) INTERNAL: set the copy policy metadatavoid
setCustomCopyPolicy
(CustomCopyPolicyMetadata copyPolicy) INTERNAL: set the copy policy metadatavoid
setCustomizerClassName
(String customizerClassName) INTERNAL: Used for OX mapping.void
setDescription
(String description) INTERNAL: Used for OX mapping.void
setExcludeDefaultMappings
(Boolean excludeDefaultMappings) INTERNAL: Used for OX mapping.void
INTERNAL: set the copy policy metadataprotected void
INTERNAL:protected void
INTERNAL:void
INTERNAL: Set the java class for this accessor.void
setMetadataComplete
(Boolean metadataComplete) INTERNAL: Used for OX mapping.void
setNoSql
(NoSqlMetadata noSql) INTERNAL: Used for OX mapping.void
setOracleArrayTypes
(List<OracleArrayTypeMetadata> oracleArrayTypes) Sets the list of OracleArrayType instances.void
setOracleObjectTypes
(List<OracleObjectTypeMetadata> oracleObjectTypes) Sets the list of OracleObjectType instances.protected void
setParentClass
(MetadataClass parentClass) INTERNAL:void
setParentClassName
(String parentClassName) INTERNAL: Used for OX mapping.void
setPLSQLRecords
(List<PLSQLRecordMetadata> records) INTERNAL: Used for OX mapping.void
setPLSQLTables
(List<PLSQLTableMetadata> tables) INTERNAL: Used for OX mapping.void
setStruct
(StructMetadata struct) INTERNAL: Used for OX mapping.toString()
INTERNAL:boolean
INTERNAL: Returns true if this class uses field access.boolean
INTERNAL: Returns true if this class uses property access.boolean
INTERNAL: Returns true if this class uses virtual access.Methods inherited from class org.eclipse.persistence.internal.jpa.metadata.accessors.MetadataAccessor
getAccess, getAccessibleObject, getAccessMethods, getAnnotatedElement, getAnnotatedElementName, getAnnotation, getAttributeName, getConverters, getDefaultAttributeName, getDescriptor, getDescriptorJavaClass, getHashPartitioning, getName, getObjectTypeConverters, getPartitioned, getPartitioning, getPinnedPartitioning, getProperties, getRangePartitioning, getReferencedField, getReferencedField, getReplicationPartitioning, getRoundRobinPartitioning, getSerializedConverters, getStructConverters, getTypeConverters, getUnionPartitioning, getUpperCaseShortJavaClassName, getValue, getValue, getValuePartitioning, hasAccess, hasAccessMethods, initAccess, initXMLAccessor, isAnnotationPresent, processConverters, processCustomConverters, processObjectTypeConverters, processPartitioned, processPartitioning, processPrimaryKeyJoinColumns, processSerializedConverters, processStructConverters, processTable, processTypeConverters, setAccess, setAccessMethods, setConverters, setDescriptor, setHashPartitioning, setName, setObjectTypeConverters, setPartitioned, setPartitioning, setPinnedPartitioning, setProperties, setRangePartitioning, setReplicationPartitioning, setRoundRobinPartitioning, setSerializedConverters, setStructConverters, setTypeConverters, setUnionPartitioning, setValuePartitioning
Methods inherited from class org.eclipse.persistence.internal.jpa.metadata.ORMetadata
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, mergeORObjectLists, mergeORObjects, mergeSimpleObjects, reloadEntity, reloadMappedSuperclass, setAccessibleObject, setEntityMappings, setFieldName, setFieldName, setProject, shouldOverride, valuesMatch, valuesMatch
-
Constructor Details
-
ClassAccessor
INTERNAL: -
ClassAccessor
INTERNAL: -
ClassAccessor
protected ClassAccessor(MetadataAnnotation annotation, MetadataClass cls, MetadataDescriptor descriptor) INTERNAL: Called from MappedSuperclassAccessor. We want to avoid setting the class accessor on the descriptor to be the MappedSuperclassAccessor.
-
-
Method Details
-
addAccessor
INTERNAL: Add the accessor to the descriptor -
addAccessors
public void addAccessors()INTERNAL: Add the accessors from this class accessors java class to the descriptor tied to this class accessor. This method is called for every class accessor and is also called from parent class accessors to each of its subclasses of a TABLE_PER_CLASS inheritance strategy. Add accessors is called in the preProcess stage and must not be called until its owning class accessor has processed its access type. -
addAccessorFields
protected void addAccessorFields(boolean processingInverse) INTERNAL: Create mappings from the fields directly. If the mustBeExplicit flag is true, then we are processing the inverse of an explicit access setting and for a field to be processed it must have a Access(FIELD) setting. -
addAccessorMethods
protected void addAccessorMethods(boolean processingInverse) INTERNAL: Create mappings via the class properties. If the mustBeExplicit flag is true, then we are processing the inverse of an explicit access setting and for a field to be processed it must have a Access(PROPERTY) setting. -
addPotentialEmbeddableAccessor
protected void addPotentialEmbeddableAccessor(MetadataClass potentialEmbeddableClass, ClassAccessor embeddingAccessor) INTERNAL Add an embeddable class to the embeddable accessor list if it is indeed an embeddable. This method is overridden in EmbeddableAccessor and is called during pre-process. At the entity level all we want to do is set the owning descriptor whereas for nested embeddables they'll need the list of owning descriptors. Any nested embeddables will be discovered and pre-processed when pre-processing the known list of root embeddables.- See Also:
-
addPotentialMappedSuperclass
protected void addPotentialMappedSuperclass(MetadataClass metadataClass, boolean addMappedSuperclassAccessors) INTERNAL: Add mapped superclass accessors to inheriting entities. Add new descriptors for these mapped superclasses to the core project. -
buildAccessor
INTERNAL: Create and return the appropriate accessor based on the accessible object given. Order of checking is important, careful when modifying or adding, check what the isXyz call does to determine if the accessor is of type xyz. -
clearMappedSuperclassesAndInheritanceParents
protected void clearMappedSuperclassesAndInheritanceParents()INTERNAL: -
clearPreProcessed
public void clearPreProcessed()INTERNAL: In some cases the pre-processing may need to be re-done. Namely, during the canonical model generation between compile rounds. -
equals
INTERNAL:- Overrides:
equals
in classMetadataAccessor
-
hashCode
public int hashCode()- Overrides:
hashCode
in classMetadataAccessor
-
excludeDefaultMappings
public boolean excludeDefaultMappings()INTERNAL: Return true if this class accessor has been set to metadata complete. -
getAccessibleField
INTERNAL: Return the accessible field for the given mapping accessor. Validation is performed on the existence of the field. -
getAccessibleMethod
INTERNAL: Return the accessible method for the given mapping accessor. Validation is performed on the existence of the method by property name or by the access methods if specified. -
getAccessibleVirtualMethod
INTERNAL: This method should only be called when using virtual access and presumably for dynamic persistence. No method validation is done and either the access methods specified or the default get and set methods for name access will be used. -
getAccessType
INTERNAL: Return the access type of this accessor. Assumes all access processing has been performed before calling this method. -
getAnnotation
INTERNAL: Return the annotation if it exists.- Specified by:
getAnnotation
in classMetadataAccessor
-
getAssociationOverrides
INTERNAL: Used for OX mapping. -
getAttributeOverrides
INTERNAL: Used for OX mapping. -
getAttributes
INTERNAL: Used for OX mapping. -
getChangeTracking
INTERNAL: Used for OX mapping. -
getClassName
INTERNAL: Used for OX mapping. -
getCopyPolicy
INTERNAL: -
getCloneCopyPolicy
INTERNAL: Used for OX mapping -
getCustomCopyPolicy
INTERNAL: Used for OX mapping -
getCustomizerClass
INTERNAL: -
getCustomizerClassName
INTERNAL: Used for OX mapping. -
getDescription
INTERNAL: Used for OX mapping. -
getExcludeDefaultMappings
INTERNAL: Used for OX mapping. -
getIdentifier
INTERNAL: To satisfy the abstract getIdentifier() method from ORMetadata.- Overrides:
getIdentifier
in classMetadataAccessor
- See Also:
-
getInstantiationCopyPolicy
INTERNAL: Used for OX mapping -
getJavaClass
INTERNAL: Return the java class that defines this accessor. It may be an entity, embeddable or mapped superclass.- Overrides:
getJavaClass
in classMetadataAccessor
-
getJavaClassName
INTERNAL: Return the java class name that defines this accessor. It may be an entity, embeddable or mapped superclass.- Overrides:
getJavaClassName
in classMetadataAccessor
-
getMappedSuperclasses
INTERNAL: Return the mapped superclasses associated with this entity accessor. A call to discoverMappedSuperclassesAndInheritanceParents() should be made before calling this method.- See Also:
-
getMetadataComplete
INTERNAL: Used for OX mapping. -
getNoSql
INTERNAL: Used for OX mapping. -
setNoSql
INTERNAL: Used for OX mapping. -
getOwningDescriptor
INTERNAL: In most cases the owning descriptor is the descriptor associated with this class accessor. Owning descriptors come into play when dealing with embeddable classes and their accessors. Processing certain accessors from an embeddable class requires knowledge of owning descriptors that require metadata settings from processing the embeddable metadata.- See Also:
-
getOwningDescriptors
INTERNAL: In most cases the owning descriptors is the single descriptor associated with this class accessor. Owning descriptors come into play when dealing with shared embeddable classes (included nested) and their accessors. Processing certain accessors from an embeddable class requires knowledge of owning descriptors that require metadata settings from processing the embeddable metadata.- See Also:
-
getParentClass
INTERNAL: -
getParentClassName
INTERNAL: Used for OX mapping. -
getPLSQLRecords
INTERNAL: Used for OX mapping. -
getPLSQLTables
INTERNAL: Used for OX mapping. -
getStruct
INTERNAL: Used for OX mapping. -
hasDerivedId
public boolean hasDerivedId()INTERNAL: -
hasParentClass
protected boolean hasParentClass()INTERNAL: -
isMappedSuperclass
public boolean isMappedSuperclass()INTERNAL: Return whether this ClassAccessor is a MappedSuperclassAccessor -
isMetadataComplete
public boolean isMetadataComplete()INTERNAL: -
isPreProcessed
public boolean isPreProcessed()INTERNAL: Return true if this accessor has been pre-processed. -
isProcessed
public boolean isProcessed()INTERNAL: Return true if this accessor has been processed.- Specified by:
isProcessed
in classMetadataAccessor
-
ignoreAnnotations
public boolean ignoreAnnotations()INTERNAL: Return true if this class accessor has been set to metadata complete. -
initXMLClassAccessor
public void initXMLClassAccessor(MetadataAccessibleObject accessibleObject, MetadataDescriptor descriptor, MetadataProject project, XMLEntityMappings entityMappings) INTERNAL: This method should be subclassed in those methods that need to do extra initialization. -
initXMLObject
public void initXMLObject(MetadataAccessibleObject accessibleObject, XMLEntityMappings entityMappings) INTERNAL:- Overrides:
initXMLObject
in classMetadataAccessor
-
isAnnotationPresent
INTERNAL: Indicates whether the specified annotation is present on the annotated element for this accessor. Method checks against the metadata complete flag.- Specified by:
isAnnotationPresent
in classMetadataAccessor
-
isClassAccessor
public boolean isClassAccessor()INTERNAL: Return true if this accessor represents a class. -
isEmbeddableAccessor
public boolean isEmbeddableAccessor()INTERNAL: Return true if this accessor represents an embeddable class. -
isEntityAccessor
public boolean isEntityAccessor()INTERNAL: Return true if this accessor represents an entity class. -
merge
INTERNAL: Generic class level merging details for entities, mapped superclasses and embeddables.- Overrides:
merge
in classMetadataAccessor
-
preProcess
public void preProcess()INTERNAL: The pre-process method is called during regular deployment and metadata processing. -
preProcessForCanonicalModel
public void preProcessForCanonicalModel()INTERNAL: The pre-process for canonical model method is called (and only called) during the canonical model generation. The use of this pre-process allows us to remove some items from the regular pre-process that do not apply to the canonical model generation. -
preProcessMappedSuperclassMetadata
INTERNAL: Sub classes that support extending mapped superclasses should override this method to control what is pre-processed from a mapped superclass. By default it does full pre-processing.- See Also:
-
process
public void process()INTERNAL: This method should be overridden by all class accessors to process their specific class metadata first then call up to this method to process the common metadata.- Specified by:
process
in classMetadataAccessor
-
processAccessType
protected abstract void processAccessType()INTERNAL: -
processAssociationOverride
INTERNAL: Process the association override metadata specified on an entity or mapped superclass. For any given class, XML association overrides are always added first (see processAssociationOverrides()). -
processAssociationOverrides
protected void processAssociationOverrides()INTERNAL: Process the association override metadata specified on an entity or mapped superclass. Once the association overrides are processed from XML process the association overrides from annotations. This order of processing must be maintained. -
processAttributeOverride
INTERNAL: Process the attribute override metadata specified on an entity or mapped superclass. For any given class, XML attribute overrides are always added first (see processAttributeOverrides()). -
processAttributeOverrides
protected void processAttributeOverrides()INTERNAL: Process the attribute override metadata specified on an entity or mapped superclass. Once the attribute overrides are processed from XML process the attribute overrides from annotations. This order of processing must be maintained. -
processChangeTracking
protected void processChangeTracking()INTERNAL: Process the change tracking setting for this accessor. -
processComplexMetadataTypes
public void processComplexMetadataTypes()Process PL/SQL record and table types, Oracle object array and XMLType types. -
processCopyPolicy
protected void processCopyPolicy()INTERNAL: -
processCustomizer
protected void processCustomizer()INTERNAL: -
processDerivedId
INTERNAL: Allows for processing derived ids, either from an Id or MapsId specification. All referenced accessors are processed first to ensure the necessary fields are set before the derived id is processed and circular references are checked. -
processMappedSuperclassMetadata
INTERNAL Sub classes that support extending mapped superclasses should override this method to control what is processed from a mapped superclass. By default it does full processing.- See Also:
-
processMappingAccessors
public void processMappingAccessors()INTERNAL: Process the accessors for the given class. -
processNoSql
protected void processNoSql()INTERNAL: Check for and process a NoSql annotation and configure the correct descriptor type. NOTE: NoSql metadata is supported only on Entity and Embeddable. -
processParentClass
public void processParentClass()INTERNAL: If the user specified a parent class set it on the metadata class for this accessor. The parent class is only ever required in a VIRTUAL case when no java class file is available (otherwise we look at the class for the parent). -
processProperties
protected void processProperties()INTERNAL: Adds properties to the descriptor. -
processStruct
protected void processStruct()Check for and process a Struct annotation and configure the correct descriptor type. NOTE: Struct metadata is supported only on Entity and Embeddable. -
processVirtualClass
protected void processVirtualClass()INTERNAL: If this class accessor uses VIRTUAL access and is not accessible, add it to our list of virtual classes that will be dynamically created. -
resolveGenericTypes
INTERNAL: This method resolves generic types. Resolving generic types will be the responsibility of the metadata factory since each factory could have its own means to do so and not respect a generic format on the metadata objects. -
setAssociationOverrides
INTERNAL: Used for OX mapping. -
setAttributeOverrides
INTERNAL: Used for OX mapping. -
setAttributes
INTERNAL: Used for OX mapping. -
setChangeTracking
INTERNAL: Used for OX mapping. -
setClassName
INTERNAL: Used for OX mapping. -
setCloneCopyPolicy
INTERNAL: set the copy policy metadata -
setCustomCopyPolicy
INTERNAL: set the copy policy metadata -
setCustomizerClassName
INTERNAL: Used for OX mapping. -
setDescription
INTERNAL: Used for OX mapping. -
setExcludeDefaultMappings
INTERNAL: Used for OX mapping. -
setInstantiationCopyPolicy
INTERNAL: set the copy policy metadata -
setIsPreProcessed
protected void setIsPreProcessed()INTERNAL: -
setIsProcessed
protected void setIsProcessed()INTERNAL: -
setJavaClass
INTERNAL: Set the java class for this accessor. This is currently called after the class loader has changed and we are adding entity listeners. -
setMetadataComplete
INTERNAL: Used for OX mapping. -
setParentClass
INTERNAL: -
setParentClassName
INTERNAL: Used for OX mapping. -
setPLSQLRecords
INTERNAL: Used for OX mapping. -
setPLSQLTables
INTERNAL: Used for OX mapping. -
setStruct
INTERNAL: Used for OX mapping. -
toString
INTERNAL: -
usesFieldAccess
public boolean usesFieldAccess()INTERNAL: Returns true if this class uses field access. It will first check for an explicit access type specification, otherwise will use the default access as specified on the descriptor for this accessor since we may be processing a mapped superclass. -
usesPropertyAccess
public boolean usesPropertyAccess()INTERNAL: Returns true if this class uses property access. It will first check for an explicit access type specification, otherwise will use the default access as specified on the descriptor for this accessor since we may be processing a mapped superclass. -
usesVirtualAccess
public boolean usesVirtualAccess()INTERNAL: Returns true if this class uses virtual access. It will first check for an explicit access type specification, otherwise will use the default access as specified on the descriptor for this accessor since we may be processing a mapped superclass. -
getOracleObjectTypes
Returns the list of OracleObjectType instances. -
setOracleObjectTypes
Sets the list of OracleObjectType instances. -
getOracleArrayTypes
Returns the list of OracleArrayType instances. -
setOracleArrayTypes
Sets the list of OracleArrayType instances.
-