com.bea.netuix.application.identifier
Class Id
java.lang.Object
com.bea.netuix.application.identifier.Id
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- BookDefinitionId, BookGroupId, BookInstanceId, CategoryDefinitionId, DesktopInstanceId, LayoutDefinitionId, LocalizationIntersectionId, LocalizationLocaleId, LookAndFeelDefinitionId, MarkupDefinitionId, MenuDefinitionId, PageDefinitionId, PageInstanceId, PlaceholderDefinitionId, PlacementId, PortalTemplateDefinitionId, PortletDefinitionId, PortletInstanceId, ShellDefinitionId, ThemeDefinitionId
- 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.
- See Also:
- Serialized Form
Field Summary |
protected int |
id
|
Constructor Summary |
Id(int id)
|
id
protected int id
Id
public Id(int id)
- Parameters:
id
- the integer value that this Id
should be set to.
getId
public int getId()
- Returns:
- the integer value of the
Id
.
setId
public void setId(int id)
- Parameters:
id
- the integer value that this Id
should be set to.
equals
public boolean equals(Object o)
- Parameters:
o
- an Id
object to compare to this Id
.
- Returns:
true
if this object is the same as the obj
argument; false
otherwise.
hashCode
public int hashCode()
- Returns:
- a hash code value for this object.
toString
public String toString()
- Returns:
- the string value of the integer representing the
Id
.
Copyright © 2004 BEA Systems, Inc. All Rights Reserved