ConfigurableEntityPk Class

com.bea.p13n.property
ConfigurableEntityPk Class

public class ConfigurableEntityPk

    extends Object
    implements Serializable

Primary key class for Configurable Entity EJB's


Hierarchy
Object
  ConfigurableEntityPk
All Implemented Interfaces

Serializable
Direct Known Subclasses

CustomerPk

Field Summary

public String
identifier
String
 

Constructor Summary

ConfigurableEntityPk()

Default constructor.
ConfigurableEntityPk(String identifier)

Constructor that takes in all of the primary key attributes as parameters.
 

Method Summary

public int
compareTo(Object o)
Implements the compareTo method.
public boolean
equals(Object o)
public int
hashCode()
override the hashCode() method
public String
toString()
Returns the stringified version of the key class.
 
Methods from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
   

Field Detail

identifier

public String identifier

 

Constructor Detail

ConfigurableEntityPk

public ConfigurableEntityPk()
Default constructor.

ConfigurableEntityPk

public ConfigurableEntityPk(String identifier)
Constructor that takes in all of the primary key attributes as parameters. All attribute values will be set to the input parameter values.
 

Method Detail

compareTo(Object) Method

public int compareTo(Object o)
Implements the compareTo method. The following conditions hold true:
   (a > b) ==> (b < a)
   (a < b) ==> (b > a)
   (a = b) ==> (b = a)
 


equals(Object) Method

public boolean equals(Object o)
Overrides
Object.equals(Object)

hashCode() Method

public int hashCode()
override the hashCode() method

Overrides
Object.hashCode()

toString() Method

public String toString()
Returns the stringified version of the key class.

Overrides
Object.toString()