com.bankframe.ei.ldap
Class LDAPEntityBeanPK

java.lang.Object
  extended bycom.bankframe.ei.ldap.LDAPEntityBeanPK
All Implemented Interfaces:
LDAPPrimaryKey, java.io.Serializable

public class LDAPEntityBeanPK
extends java.lang.Object
implements LDAPPrimaryKey

This class is the base class for all LDAP Entity Bean primary key classes. This class is used by the EJB server to identify the primary key value of each LDAP object, namely the relative distinguished name of the LDAP object.

Author:
etu
See Also:
Serialized Form

Field Summary
 java.lang.String rdnValue
           
 
Constructor Summary
LDAPEntityBeanPK()
          Default constructor
LDAPEntityBeanPK(java.lang.String rdnValue)
          Constructor
 
Method Summary
 boolean equals(java.lang.Object o)
          This method is required by the EJB1.1 spec
 java.lang.String getRdnAttributeValue()
          This method gets the rdn for this primary key
 int hashCode()
          This method is required by the EJB 1.1 spc
 void setRdnAttributeValue(java.lang.String value)
          This method sets the rdn for this primary key
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rdnValue

public java.lang.String rdnValue
Constructor Detail

LDAPEntityBeanPK

public LDAPEntityBeanPK()
Default constructor


LDAPEntityBeanPK

public LDAPEntityBeanPK(java.lang.String rdnValue)
Constructor

Method Detail

equals

public boolean equals(java.lang.Object o)
This method is required by the EJB1.1 spec

Specified by:
equals in interface LDAPPrimaryKey
Returns:
True if the referenced object is equal to this object

getRdnAttributeValue

public java.lang.String getRdnAttributeValue()
This method gets the rdn for this primary key

Specified by:
getRdnAttributeValue in interface LDAPPrimaryKey
Returns:
String reprsentation of the rdn

hashCode

public int hashCode()
This method is required by the EJB 1.1 spc

Specified by:
hashCode in interface LDAPPrimaryKey
Returns:
a hashing code for this object

setRdnAttributeValue

public void setRdnAttributeValue(java.lang.String value)
This method sets the rdn for this primary key

Specified by:
setRdnAttributeValue in interface LDAPPrimaryKey
Parameters:
value - The rdn for this primary key


Copyright © 2004 Siebel Systems, Inc. All rights reserved.