Oracle Fusion Middleware Java API Reference for Oracle TopLink (Deprecated)
11g Release 1 (11.1.1)

B32476-04

oracle.toplink.xml
Class XMLDescriptor

java.lang.Object
  extended by oracle.toplink.descriptors.ClassDescriptor
      extended by oracle.toplink.publicinterface.Descriptor
          extended by oracle.toplink.sdk.SDKDescriptor
              extended by oracle.toplink.xml.XMLDescriptor
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

Deprecated. since OracleAS TopLink 10g (10.1.3). This class is replaced by oracle.toplink.ox

public class XMLDescriptor
extends SDKDescriptor

XMLDescriptor extends the SDKDescriptor protocol with a number of defaults and helper methods that simplify the use of XML data store.

Since:
TOPLink/Java 3.0
See Also:
XMLCall, Serialized Form

Field Summary
 
Fields inherited from class oracle.toplink.descriptors.ClassDescriptor
DO_NOT_SEND_CHANGES, INVALIDATE_CHANGED_OBJECTS, ISOLATE_CACHE_AFTER_TRANSACTION, ISOLATE_CACHE_ALWAYS, ISOLATE_NEW_DATA_AFTER_TRANSACTION, SEND_NEW_OBJECTS_WITH_CHANGES, SEND_OBJECT_CHANGES, UNDEFINED_ISOLATATION, UNDEFINED_OBJECT_CHANGE_BEHAVIOR, USE_SESSION_CACHE_AFTER_TRANSACTION
 
Constructor Summary
XMLDescriptor()
          Deprecated. Default constructor.
 
Method Summary
 void addPrimaryKeyElementName(java.lang.String elementName)
          Deprecated. Add a primary key element for the descriptor.
 java.util.Vector getPrimaryKeyElementNames()
          Deprecated. Return the names of all the primary key elements.
 java.lang.String getRootElementName()
          Deprecated. Return the root element name for the class of objects the descriptor maps.
 java.lang.String getSequenceNumberElementName()
          Deprecated. Return sequence number element name.
 void setJavaClass(java.lang.Class javaClass)
          Deprecated. Set the Java class that this descriptor maps.
 void setPrimaryKeyElementName(java.lang.String elementName)
          Deprecated. Specify the primary key element for the descriptor.
 void setPrimaryKeyElementNames(java.lang.String[] primaryKeyElementNames)
          Deprecated. Specify an array of all the primary key element names, if the primary key is composed of multiple elements.
 void setPrimaryKeyElementNames(java.util.Vector primaryKeyElementNames)
          Deprecated. Specify a vector of all the primary key element names, if the primary key is composed of multiple elements.
 void setRootElementName(java.lang.String rootElementName)
          Deprecated. Specify the root element name for the class of objects the descriptor maps.
 void setSequenceNumberElementName(java.lang.String elementName)
          Deprecated. Set the sequence number element name.
 
Methods inherited from class oracle.toplink.sdk.SDKDescriptor
addReadAllCall, addReadAllCall, addReadAllCall, addReadAllCall, addReadAllCall, addReadAllCall, addReadObjectCall, addReadObjectCall, addReadObjectCall, addReadObjectCall, addReadObjectCall, addReadObjectCall, addReadTranslation, addReadTranslations, addReadTranslations, addWriteTranslation, addWriteTranslations, addWriteTranslations, getDataTypeName, setDataTypeName, setDeleteCall, setDoesExistCall, setInsertCall, setQueryManager, setReadAllCall, setReadObjectCall, setUpdateCall
 
Methods inherited from class oracle.toplink.descriptors.ClassDescriptor
addAbstractQueryKey, addConstraintDependencies, addDirectMapping, addDirectMapping, addDirectQueryKey, addForeignKeyFieldForMultipleTable, addForeignKeyFieldNameForMultipleTable, addMapping, addMultipleTableForeignKeyField, addMultipleTableForeignKeyFieldName, addMultipleTablePrimaryKeyField, addMultipleTablePrimaryKeyFieldName, addPrimaryKeyField, addPrimaryKeyFieldName, addQueryKey, addTable, addTableName, alwaysConformResultsInUnitOfWork, alwaysRefreshCache, alwaysRefreshCacheOnRemote, applyAmendmentMethod, createCopyPolicy, createInstantiationPolicy, descriptorIsAggregate, descriptorIsAggregateCollection, descriptorIsForInterface, descriptorIsNormal, disableCacheHits, disableCacheHitsOnRemote, dontAlwaysConformResultsInUnitOfWork, dontAlwaysRefreshCache, dontAlwaysRefreshCacheOnRemote, dontDisableCacheHits, dontDisableCacheHitsOnRemote, dontOnlyRefreshCacheIfNewerVersion, getAlias, getAmendmentClass, getAmendmentMethodName, getCacheInvalidationPolicy, getCacheSynchronizationType, getCMPPolicy, getConstraintDependencies, getDescriptorEventManager, getDescriptorInheritancePolicy, getDescriptorQueryManager, getDescriptorType, getEventManager, getFetchGroupManager, getHistoryPolicy, getIdentityMapSize, getInheritancePolicy, getInterfacePolicy, getJavaClass, getJavaClassName, getMappingForAttributeName, getMappings, getObjectChangePolicy, getOptimisticLockingPolicy, getPrimaryKeyFieldNames, getProperties, getProperty, getQueryKeys, getQueryManager, getRemoteIdentityMapSize, getReturningPolicy, getSequenceNumberFieldName, getSequenceNumberName, getTableName, getTableNames, getUnitOfWorkCacheIsolationLevel, getWrapperPolicy, isAggregateCollectionDescriptor, isAggregateDescriptor, isChildDescriptor, isDescriptorForInterface, isIsolated, isNativeConnectionRequired, isObjectRelationalDescriptor, onlyRefreshCacheIfNewerVersion, removeMappingForAttributeName, removeProperty, setAlias, setAmendmentClass, setAmendmentMethodName, setCacheInvalidationPolicy, setCacheSynchronizationType, setCMPPolicy, setConstraintDependencies, setDefaultTableName, setDescriptorType, setFetchGroupManager, setHistoryPolicy, setIdentityMapClass, setIdentityMapSize, setIsIsolated, setIsNativeConnectionRequired, setJavaInterface, setMultipleTableInsertOrder, setObjectChangePolicy, setOptimisticLockingPolicy, setPrimaryKeyFieldName, setPrimaryKeyFieldNames, setProperty, setReadOnly, setRemoteIdentityMapClass, setRemoteIdentityMapSize, setReturningPolicy, setSequenceNumberFieldName, setSequenceNumberName, setShouldAlwaysConformResultsInUnitOfWork, setShouldAlwaysRefreshCache, setShouldAlwaysRefreshCacheOnRemote, setShouldBeReadOnly, setShouldDisableCacheHits, setShouldDisableCacheHitsOnRemote, setShouldOnlyRefreshCacheIfNewerVersion, setShouldOrderMappings, setTableName, setTableNames, setTableQualifier, setUnitOfWorkCacheIsolationLevel, setWrapperPolicy, shouldAlwaysConformResultsInUnitOfWork, shouldAlwaysRefreshCache, shouldAlwaysRefreshCacheOnRemote, shouldBeReadOnly, shouldDisableCacheHits, shouldDisableCacheHitsOnRemote, shouldOnlyRefreshCacheIfNewerVersion, shouldUseCacheIdentityMap, shouldUseFullIdentityMap, shouldUseHardCacheWeakIdentityMap, shouldUseNoIdentityMap, shouldUseRemoteCacheIdentityMap, shouldUseRemoteFullIdentityMap, shouldUseRemoteHardCacheWeakIdentityMap, shouldUseRemoteNoIdentityMap, shouldUseRemoteSoftCacheWeakIdentityMap, shouldUseRemoteSoftIdentityMap, shouldUseRemoteWeakIdentityMap, shouldUseSoftCacheWeakIdentityMap, shouldUseSoftIdentityMap, shouldUseWeakIdentityMap, toString, useAllFieldsLocking, useCacheIdentityMap, useChangedFieldsLocking, useCloneCopyPolicy, useCloneCopyPolicy, useDefaultConstructorInstantiationPolicy, useFactoryInstantiationPolicy, useFactoryInstantiationPolicy, useFactoryInstantiationPolicy, useFullIdentityMap, useHardCacheWeakIdentityMap, useInstantiationCopyPolicy, useMethodInstantiationPolicy, useNoIdentityMap, useRemoteCacheIdentityMap, useRemoteFullIdentityMap, useRemoteHardCacheWeakIdentityMap, useRemoteNoIdentityMap, useRemoteSoftCacheWeakIdentityMap, useRemoteSoftIdentityMap, useRemoteWeakIdentityMap, useSelectedFieldsLocking, useSoftCacheWeakIdentityMap, useSoftIdentityMap, usesOptimisticLocking, usesSequenceNumbers, usesVersionLocking, useTimestampLocking, useTimestampLocking, useVersionLocking, useVersionLocking, useWeakIdentityMap
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XMLDescriptor

public XMLDescriptor()
Deprecated. 
Default constructor.

Method Detail

addPrimaryKeyElementName

public void addPrimaryKeyElementName(java.lang.String elementName)
Deprecated. 
Add a primary key element for the descriptor. This should be called for each element that makes up the primary key. The order in which these elements are added may be significant.


getPrimaryKeyElementNames

public java.util.Vector getPrimaryKeyElementNames()
Deprecated. 
Return the names of all the primary key elements.


getRootElementName

public java.lang.String getRootElementName()
                                    throws DescriptorException
Deprecated. 
Return the root element name for the class of objects the descriptor maps.

Throws:
DescriptorException

getSequenceNumberElementName

public java.lang.String getSequenceNumberElementName()
Deprecated. 
Return sequence number element name.


setJavaClass

public void setJavaClass(java.lang.Class javaClass)
Deprecated. 
Set the Java class that this descriptor maps. Every descriptor maps one and only one class.

Overrides:
setJavaClass in class ClassDescriptor

setPrimaryKeyElementName

public void setPrimaryKeyElementName(java.lang.String elementName)
Deprecated. 
Specify the primary key element for the descriptor. This should only be called if primary key is made up of a single element; otherwise #addPrimaryKeyElementName() should be called.

See Also:
addPrimaryKeyElementName(String)

setPrimaryKeyElementNames

public void setPrimaryKeyElementNames(java.lang.String[] primaryKeyElementNames)
Deprecated. 
Specify an array of all the primary key element names, if the primary key is composed of multiple elements. The order of these elements may be significant.

See Also:
addPrimaryKeyElementName(String)

setPrimaryKeyElementNames

public void setPrimaryKeyElementNames(java.util.Vector primaryKeyElementNames)
Deprecated. 
Specify a vector of all the primary key element names, if the primary key is composed of multiple elements. The order of these elements may be significant.

See Also:
addPrimaryKeyElementName(String)

setRootElementName

public void setRootElementName(java.lang.String rootElementName)
                        throws DescriptorException
Deprecated. 
Specify the root element name for the class of objects the descriptor maps.

Throws:
DescriptorException

setSequenceNumberElementName

public void setSequenceNumberElementName(java.lang.String elementName)
Deprecated. 
Set the sequence number element name. This is the field whose value is to be generated by TopLink. This is normally the primary key element for the descriptor.


Copyright © 1998, 2012, Oracle. All Rights Reserved.