jp.gr.javacons.jim
インタフェース DataReferencerOwner
- public interface DataReferencerOwner
The DataReferencerOwner interface provides a method to return information
concerning the DataHolder object types that the DataReferencer object can
refer to. The object that holds the DataReference object should have this
DataReferencerOwner interface implemented.
getReferableDataHolderTypeInfo
public Class[][] getReferableDataHolderTypeInfo(DataReferencer dr)
- This returns information on DataHolder types that can be referred
to from the argument myDataRef.
This DataHolder type information is represented by as an array
(Class[][]) of which each element is also an array where the first
element is the Class object which represents the class of the
DataHolder object. The second and subsequent elements are the Class
objects for the value classes of the DataHolder object.
If the Class object of the value class is defined as fixed by the
getValueClass method of a DataHolder subclass, the Class objects
after the second element can be omitted. The Class objects above
can include abstract classes.