|
JBoss EJB client 1.0.5.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.ejb.client.EJBLocator<T> org.jboss.ejb.client.EntityEJBLocator<T>
T
- the remote view typepublic final class EntityEJBLocator<T extends javax.ejb.EJBObject>
A locator for an entity EJB.
Constructor Summary | |
---|---|
EntityEJBLocator(Class<T> viewType,
String appName,
String moduleName,
String beanName,
String distinctName,
Object primaryKey)
Construct a new instance. |
Method Summary | |
---|---|
boolean |
equals(EJBLocator<?> other)
Determine whether this object is equal to another. |
boolean |
equals(EntityEJBLocator<?> other)
Determine whether this object is equal to another. |
boolean |
equals(Object other)
Determine whether this object is equal to another. |
Object |
getPrimaryKey()
Get the primary key for the referenced entity. |
int |
hashCode()
Get the hash code for this instance. |
String |
toString()
|
Methods inherited from class org.jboss.ejb.client.EJBLocator |
---|
createProxyInstance, getAffinity, getAppName, getBeanName, getDistinctName, getModuleName, getProxyClass, getProxyConstructor, getViewType |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EntityEJBLocator(Class<T> viewType, String appName, String moduleName, String beanName, String distinctName, Object primaryKey)
viewType
- the view typeappName
- the application namemoduleName
- the module namebeanName
- the bean namedistinctName
- the distinct nameprimaryKey
- the entity primary keyMethod Detail |
---|
public Object getPrimaryKey()
public boolean equals(Object other)
equals
in class EJBLocator<T extends javax.ejb.EJBObject>
other
- the other object
true
if they are equal, false
otherwisepublic boolean equals(EJBLocator<?> other)
equals
in class EJBLocator<T extends javax.ejb.EJBObject>
other
- the other object
true
if they are equal, false
otherwisepublic boolean equals(EntityEJBLocator<?> other)
other
- the other object
true
if they are equal, false
otherwisepublic int hashCode()
hashCode
in class EJBLocator<T extends javax.ejb.EJBObject>
public String toString()
toString
in class Object
|
JBoss EJB client 1.0.5.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |