Id Class

com.bea.netuix.application.identifier
Id Class

public class Id

    extends Object
    implements Serializable

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.


Hierarchy
Object
  Id
All Implemented Interfaces

Serializable
Direct Known Subclasses

BookDefinitionId, BookGroupId, BookInstanceId, DesktopInstanceId, LayoutDefinitionId, LocalizationIntersectionId, LocalizationLocaleId, LookAndFeelDefinitionId, MarkupDefinitionId, MenuDefinitionId, PageDefinitionId, PageInstanceId, PlaceholderDefinitionId, PlacementId, PortletDefinitionId, PortletInstanceId, ShellDefinitionId, ThemeDefinitionId

Field Summary

protected int
id
int
 

Constructor Summary

Id(int id)

 

Method Summary

public boolean
equals(Object o)
public int
getId()
public int
hashCode()
public void
setId(int id)
public String
toString()
 
Methods from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
   

Field Detail

id

protected int id

 

Constructor Detail

Id

public Id(int id)
 

Method Detail

equals(Object) Method

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

Parameters

o
an Id object to compare to this Id.

Returns

true if this object is the same as the obj argument; false otherwise.

getId() Method

public int getId()

Returns

the integer value of the Id.

hashCode() Method

public int hashCode()
Overrides
Object.hashCode()

Returns

a hash code value for this object.

setId(int) Method

public void setId(int id)

Parameters

id
the integer value that this Id should be set to.

toString() Method

public String toString()
Overrides
Object.toString()

Returns

the string value of the integer representing the Id.