com.bankframe.ei.ldap
Interface LDAPPrimaryKey

All Superinterfaces:
Serializable
All Known Implementing Classes:
LDAPEntityBeanPK

public interface LDAPPrimaryKey
extends Serializable

This interface defines the methods required by LDAPEntityBean for LDAP based primary keys, LDAPEntityBeanPK provides a standard implementation of this interface.


Method Summary
 boolean equals(Object o)
          This method is required by the EJB1.1 spec
 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(String value)
          This method sets the rdn for this primary key
 

Method Detail

equals

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

Overrides:
equals in class Object
Parameters:
o - java.lang.Object The object to test for equality
Returns:
True if the referenced object is equal to this object

getRdnAttributeValue

String getRdnAttributeValue()
This method gets the rdn for this primary key

Returns:
String reprsentation of the rdn

hashCode

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

Overrides:
hashCode in class Object
Returns:
a hashing code for this object

setRdnAttributeValue

void setRdnAttributeValue(String value)
This method sets the rdn for this primary key

Parameters:
value - The rdn for this primary key


Copyright © 2005, 2007, Oracle. All rights reserved.