|
Copyright © 2008 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bea.netuix.application.identifier.Id
public class Id
All other Id classes extend this class. It represents the primary keys of
portal objects in the database, and is used to uniquely identify them.
Id will be needed when customizing most portal objects on a
desktop.
WARNING: This class should only be created through classes that extend it and never directly using its constructor.
| Field Summary | |
|---|---|
protected int |
id
|
| Constructor Summary | |
|---|---|
Id(int id)
WARNING: This class should only be created through classes that extend it and never directly using its constructor. |
|
| Method Summary | |
|---|---|
static boolean |
equals(Id id1,
Id id2)
Return true if the two IDs are equal (like Id.equals(), but allowing null values for both operands). |
boolean |
equals(Object o)
|
int |
getId()
This method should only be used internally by the framework. |
String |
getUniqueLabel()
Deprecated This method has inconsistent and unexpected behavior and should not be used. It will be removed in a future release. |
int |
hashCode()
|
void |
setId(int id)
This method should only be used internally by the framework. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected int id
| Constructor Detail |
|---|
public Id(int id)
id - the integer value that this Id should be set to.| Method Detail |
|---|
public int getId()
Id.public void setId(int id)
id - the integer value that this Id should be set to.public boolean equals(Object o)
equals in class Objecto - an Id object to compare to this Id.
true if this object is the same as the obj
argument; false otherwise.
public static boolean equals(Id id1,
Id id2)
public int hashCode()
hashCode in class Objectpublic String toString()
toString in class ObjectId.@Deprecated public String getUniqueLabel()
|
Copyright © 2008 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||