Top Description Fields Constructors Methods
org.eclipse.persistence.internal.oxm

public Class XMLSequencedDescriptor

extends XMLDescriptor
Class Inheritance
Imports
java.lang.reflect.Method, org.eclipse.persistence.exceptions.DescriptorException, org.eclipse.persistence.internal.security.PrivilegedAccessHelper, org.eclipse.persistence.internal.sessions.AbstractSession, org.eclipse.persistence.oxm.XMLDescriptor

Purpose:An extnesion of XMLDescriptor that's used for sequened objects.

Responsibilities:

Field Summary

Modifier and TypeField and Description
private Method
private String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Method

Returns:

The method to be invoked.
getGetSettingsMethod
()

INTERNAL: Return the actual method to be invoked to obtain an ordered list of TopLinkSetting objects Only used with Sequenced Objects.

public String

Returns:

The name of the method to be invoked.
getGetSettingsMethodName
()

INTERNAL: Get the method that will be used to obtain an ordered list of TopLinkSetting objects at runtime.

public void
initialize(AbstractSession session)

Overrides org.eclipse.persistence.oxm.XMLDescriptor.initialize.

INTERNAL: Initialize the mappings as a separate step.
public void
setGetSettingsMethodName(String
The name of the method.
methodName
)

INTERNAL: Set the name of the method to be invoked to obtain an ordered list of TopLinkSetting objects at runtime.

Inherited from org.eclipse.persistence.oxm.XMLDescriptor:
addDirectMappingaddDirectMappingaddPrimaryKeyFieldaddPrimaryKeyFieldNameaddRootElementbuildDirectValuesFromFieldValuebuildFieldbuildFieldbuildFieldValueFromDirectValuesbuildFieldValueFromNestedRowsbuildNestedRowFromFieldValuebuildNestedRowsFromFieldValueconvertClassNamesToClassesextractDefaultTablegetDefaultRootElementgetDefaultRootElementFieldgetDefaultRootElementTypegetInheritancePolicygetLocationAccessorgetNamespaceResolvergetNonNullNamespaceResolvergetPrimaryKeyFieldNamesgetSchemaReferencegetTypedFieldgetTypedFieldhasReferenceMappingsinitializeAggregateInheritancePolicyisLazilyInitializedisResultAlwaysXMLRootisSequencedObjectisWrapperisXMLDescriptornewAggregateCollectionMappingnewAggregateMappingnewDirectCollectionMappingnewDirectMappingpostInitializepreInitializepreInitializeInheritancePolicyrequiresInitializationsetDefaultRootElementsetDefaultRootElementFieldsetDefaultRootElementTypesetIsWrappersetLazilyInitializedsetLocationAccessorsetNamespaceResolversetPrimaryKeyFieldssetResultAlwaysXMLRootsetSchemaReferencesetSequencedObjectsetShouldPreserveDocumentsetTableNamessetTablesshouldPreserveDocumentshouldWrapObjectvalidateMappingTypewrapObjectInXMLRootwrapObjectInXMLRootwrapObjectInXMLRoot

Field Detail

getSettingsMethodback to summary
private Method getSettingsMethod
getSettingsMethodNameback to summary
private String getSettingsMethodName

Constructor Detail

XMLSequencedDescriptorback to summary
public XMLSequencedDescriptor()

Method Detail

getGetSettingsMethodback to summary
public Method getGetSettingsMethod()

INTERNAL: Return the actual method to be invoked to obtain an ordered list of TopLinkSetting objects Only used with Sequenced Objects. Is set during initialize.

Returns:Method

The method to be invoked.

getGetSettingsMethodNameback to summary
public String getGetSettingsMethodName()

INTERNAL: Get the method that will be used to obtain an ordered list of TopLinkSetting objects at runtime. Only used with Sequenced objects

Returns:String

The name of the method to be invoked.

initializeback to summary
public void initialize(AbstractSession session) throws DescriptorException

Overrides org.eclipse.persistence.oxm.XMLDescriptor.initialize.

Doc from org.eclipse.persistence.oxm.XMLDescriptor.initialize.

INTERNAL: Initialize the mappings as a separate step. This is done as a separate step to ensure that inheritance has been first resolved.

Annotations
@Override
setGetSettingsMethodNameback to summary
public void setGetSettingsMethodName(String methodName)

INTERNAL: Set the name of the method to be invoked to obtain an ordered list of TopLinkSetting objects at runtime. Only used with Sequenced objects.

Parameters
methodName:String

The name of the method.