|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) B32476-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.toplink.ejb.EJBWrapperPolicy
public abstract class EJBWrapperPolicy
Purpose: Allow for EntityBean descriptors to store information about the bean properties.
Constructor Summary | |
---|---|
EJBWrapperPolicy()
Default constructor. |
Method Summary | |
---|---|
java.lang.Class |
getHomeInterface()
The home interface defines how a bean is accessed and queried. |
java.lang.String |
getHomeName()
The home name is the name or URL that the bean's home is stored in JNDI under. |
java.lang.Class |
getPrimaryKeyClass()
The primary key class is the class that represents the bean's primary key. |
java.lang.Class |
getRemoteInterface()
The remote interface defines a bean's public interface. |
boolean |
hasCustomPrimaryKey()
Answer whether the primary key is custom (such as AccountPK) or non-custom (such as java.lang.Integer) |
boolean |
isTraversable()
REQUIRED: Return if the wrapped value should be traverse. |
void |
setHasCustomPrimaryKey(boolean hasCustomPrimaryKey)
Used to set whether the primary key is custom (such as AccountPK) or non-custom (such as java.lang.Integer) |
void |
setHomeInterface(java.lang.Class homeInterface)
The home interface defines how a bean is accessed and queried. |
void |
setHomeName(java.lang.String homeName)
The home name is the name or URL that the bean's home is stored in JNDI under. |
void |
setPrimaryKeyClass(java.lang.Class primaryKeyClass)
The primary key class is the class that represents the bean's primary key. |
void |
setRemoteInterface(java.lang.Class remoteInterface)
The remote interface defines a bean's public interface. |
java.lang.Object |
unwrapObject(java.lang.Object remote,
oracle.toplink.internal.sessions.AbstractSession session)
Unwrap the object to return the implementation that is meant to be used by TopLink. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.toplink.descriptors.WrapperPolicy |
---|
wrapObject |
Constructor Detail |
---|
public EJBWrapperPolicy()
Method Detail |
---|
public java.lang.Class getHomeInterface()
public java.lang.String getHomeName()
public java.lang.Class getPrimaryKeyClass()
public java.lang.Class getRemoteInterface()
public boolean hasCustomPrimaryKey()
public boolean isTraversable()
isTraversable
in interface WrapperPolicy
public void setHasCustomPrimaryKey(boolean hasCustomPrimaryKey)
public void setHomeInterface(java.lang.Class homeInterface)
public void setHomeName(java.lang.String homeName)
public void setPrimaryKeyClass(java.lang.Class primaryKeyClass)
public void setRemoteInterface(java.lang.Class remoteInterface)
public java.lang.Object unwrapObject(java.lang.Object remote, oracle.toplink.internal.sessions.AbstractSession session)
unwrapObject
in interface WrapperPolicy
remote
- the wrapped objectsession
- the session to unwrap into
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |