Class XMLSequencedDescriptor

All Implemented Interfaces:
Serializable, Cloneable, Descriptor<AttributeAccessor,DatabaseMapping,DatabaseField,InheritancePolicy,InstantiationPolicy,NamespaceResolver,ObjectBuilder,DatabaseTable,UnmarshalRecord,XMLUnmarshaller>

public class XMLSequencedDescriptor extends XMLDescriptor

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

Responsibilities:

See Also:
  • Constructor Details

    • XMLSequencedDescriptor

      public XMLSequencedDescriptor()
  • Method Details

    • initialize

      public void initialize(AbstractSession session) throws DescriptorException
      Description copied from class: XMLDescriptor
      INTERNAL: Initialize the mappings as a separate step. This is done as a separate step to ensure that inheritance has been first resolved.
      Overrides:
      initialize in class XMLDescriptor
      Throws:
      DescriptorException
    • getGetSettingsMethodName

      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:
      The name of the method to be invoked.
    • setGetSettingsMethodName

      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 - The name of the method.
    • getGetSettingsMethod

      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:
      The method to be invoked.