Class ReferenceInfo

java.lang.Object
org.exolab.castor.xml.ReferenceInfo

class ReferenceInfo extends Object
Internal class used to save state for reference resolution.
Version:
$Revision: 0000 $ $Date:$
Author:
Werner Guttmann
  • Constructor Details

    • ReferenceInfo

      public ReferenceInfo(String id, Object target, XMLFieldDescriptor descriptor)
      Creates a new ReferenceInfo.
      Parameters:
      id - The identity of this XML ID reference instance.
      target - The target object referenced by this IDREF instance.
      descriptor - The XMLFieldDescriptor for the target object.
  • Method Details

    • setNext

      public void setNext(ReferenceInfo info)
      Sets a reference to the 'next' ReferenceInfo instance.
      Parameters:
      info - The 'next' ReferenceInfo instance.
    • getDescriptor

      public FieldDescriptor getDescriptor()
      Returns the field descriptor referenced by this IDREF instance.
      Returns:
      the field descriptor referenced by this IDREF instance.
    • getTarget

      public Object getTarget()
      Returns the target object referenced by this IDREF instance.
      Returns:
      the target object referenced by this IDREF instance.
    • getNext

      public ReferenceInfo getNext()
      Returns the next 'ReferenceInfo' instance.
      Returns:
      the next 'ReferenceInfo' instance.
    • getId

      public String getId()
      Returns the ID value of the target object instance.
      Returns:
      the ID value of the target object instance.