Oracle Application Server TopLink API Reference
10g Release 2 (10.1.2)

B15903-01


oracle.toplink.descriptors
Class InterfacePolicy

java.lang.Object
  extended byoracle.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

Method Summary
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

Method Detail

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

Copyright © 1998, 2005 Oracle Corporation. All Rights Reserved.