© 2005 BEA Systems, Inc.

com.bea.netuix.application.identifier
Class PageInstanceId

java.lang.Object
  extended bycom.bea.netuix.application.identifier.Id
      extended bycom.bea.netuix.application.identifier.PageInstanceId
All Implemented Interfaces:
InstanceId, NavigableInstanceId, Serializable

public class PageInstanceId
extends Id
implements NavigableInstanceId

Represents the primary keys of Page objects in the database, and is used to uniquely identify them. PageInstanceId will be needed when customizing Page instances on a desktop.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.bea.netuix.application.identifier.Id
id
 
Constructor Summary
PageInstanceId(int id)
           
 
Method Summary
protected  Object clone()
           
static PageInstanceId clone(PageInstanceId pageInstanceId)
           
static PageInstanceId createPageInstanceId(int id)
           
 boolean equals(Object o)
           
 int hashCode()
           
 
Methods inherited from class com.bea.netuix.application.identifier.Id
equals, getId, getUniqueLabel, setId, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.bea.netuix.application.identifier.NavigableInstanceId
getId
 

Constructor Detail

PageInstanceId

public PageInstanceId(int id)
Method Detail

clone

protected Object clone()
Returns:
a new PageInstanceId with the exact same id value as this PageInstanceId

clone

public static PageInstanceId clone(PageInstanceId pageInstanceId)
Parameters:
pageInstanceId - the PageInstanceId to be cloned.
Returns:
a new PageInstanceId with the exact same id value as the PageInstanceId passed in.

createPageInstanceId

public static PageInstanceId createPageInstanceId(int id)
Parameters:
id - the integer value that this PageInstanceId should be set to.
Returns:
a new PageInstanceId with the id value set to the integer passed in.

equals

public boolean equals(Object o)
Overrides:
equals in class Id
Parameters:
o - a PageInstanceId object to compare to this PageInstanceId.
Returns:
true if this PageInstanceId object is the same as the PageInstanceId object argument; false otherwise.

hashCode

public int hashCode()
Overrides:
hashCode in class Id
Returns:
a hash code value for this object.

© 2005 BEA Systems, Inc.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved