oracle.toplink.descriptors
Class InterfacePolicy
java.lang.Object
|
+--oracle.toplink.descriptors.InterfacePolicy
- All Implemented Interfaces:
- java.io.Serializable
- public class InterfacePolicy
- extends java.lang.Object
- implements java.io.Serializable
Purpose: Allows for a descriptor's implemented interfaces to be configured.
Generally Interface Descriptors are used for 1 of 2 reasons.
a. Interface descriptors can be used to query across a set of classes
that do not share a table.
b. As a target of a variable one to one mapping.
- Since:
- TOPLink/Java 2.0
- See Also:
- Serialized Form
Type | Method |
void |
addParentInterface(java.lang.Class parentInterface)
PUBLIC:
Add the parent Interface class. |
void |
setParentInterfaces(java.util.Vector parentInterfaces)
Set the vector to store parent interfaces |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
addParentInterface
public void addParentInterface(java.lang.Class parentInterface)
- PUBLIC:
Add the parent Interface class.
This method should be called once for each parent Interface of the Descriptor.
setParentInterfaces
public void setParentInterfaces(java.util.Vector parentInterfaces)
- Set the vector to store parent interfaces