Package org.exolab.castor.xml
Class ReferenceInfo
java.lang.Object
org.exolab.castor.xml.ReferenceInfo
Internal class used to save state for reference resolution.
- Version:
- $Revision: 0000 $ $Date:$
- Author:
- Werner Guttmann
-
Constructor Summary
ConstructorsConstructorDescriptionReferenceInfo
(String id, Object target, XMLFieldDescriptor descriptor) Creates a newReferenceInfo
. -
Method Summary
Modifier and TypeMethodDescriptionReturns the field descriptor referenced by this IDREF instance.getId()
Returns the ID value of the target object instance.getNext()
Returns the next 'ReferenceInfo' instance.Returns the target object referenced by this IDREF instance.void
setNext
(ReferenceInfo info) Sets a reference to the 'next' ReferenceInfo instance.
-
Constructor Details
-
ReferenceInfo
Creates a newReferenceInfo
.- Parameters:
id
- The identity of this XML ID reference instance.target
- The target object referenced by this IDREF instance.descriptor
- TheXMLFieldDescriptor
for the target object.
-
-
Method Details
-
setNext
Sets a reference to the 'next' ReferenceInfo instance.- Parameters:
info
- The 'next' ReferenceInfo instance.
-
getDescriptor
Returns the field descriptor referenced by this IDREF instance.- Returns:
- the field descriptor referenced by this IDREF instance.
-
getTarget
Returns the target object referenced by this IDREF instance.- Returns:
- the target object referenced by this IDREF instance.
-
getNext
Returns the next 'ReferenceInfo' instance.- Returns:
- the next 'ReferenceInfo' instance.
-
getId
Returns the ID value of the target object instance.- Returns:
- the ID value of the target object instance.
-