org.exolab.castor.xml

Class ReferenceInfo


(package private) 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(String id, Object target, XMLFieldDescriptor descriptor)
Creates a new ReferenceInfo

Method Summary

FieldDescriptor
getDescriptor()
Returns the field descriptor referenced by this IDREF instance.
String
getId()
Returns the ID value of the target object instance.
ReferenceInfo
getNext()
Returns the next 'ReferenceInfo' instance.
Object
getTarget()
Returns the target object referenced by this IDREF instance.
void
setNext(ReferenceInfo info)
Sets a refrence to the 'next' ReferenceInfo instance.

Constructor Details

ReferenceInfo

public ReferenceInfo(String id,
                     Object target,
                     XMLFieldDescriptor descriptor)
Creates a new ReferenceInfo
Parameters:
id -
target -
descriptor -

Method Details

getDescriptor

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

getId

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

getNext

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

getTarget

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

setNext

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

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