org.exolab.castor.xml
Class ReferenceInfo

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

 class ReferenceInfo
extends java.lang.Object

Internal class used to save state for reference resolving.

Version:
$Revision: 0000 $ $Date:$
Author:
Werner Guttmann

Constructor Summary
ReferenceInfo(java.lang.String id, java.lang.Object target, XMLFieldDescriptor descriptor)
          Creates a new ReferenceInfo
 
Method Summary
 FieldDescriptor getDescriptor()
          Returns the field descriptor referenced by this IDREF instance.
 java.lang.String getId()
          Returns the ID value of the target object instance.
 ReferenceInfo getNext()
          Returns the next 'ReferenceInfo' instance.
 java.lang.Object getTarget()
          Returns the target object referenced by this IDREF instance.
 void setNext(ReferenceInfo info)
          Sets a refrence to the 'next' ReferenceInfo instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReferenceInfo

public ReferenceInfo(java.lang.String id,
                     java.lang.Object target,
                     XMLFieldDescriptor descriptor)
Creates a new ReferenceInfo

Parameters:
id -
target -
descriptor -
Method Detail

setNext

public void setNext(ReferenceInfo info)
Sets a refrence 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 java.lang.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 java.lang.String getId()
Returns the ID value of the target object instance.

Returns:
the ID value of the target object instance.


Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com