com.bea.netuix.application.identifier
Class BookInstanceId
java.lang.Object
com.bea.netuix.application.identifier.Id
com.bea.netuix.application.identifier.BookInstanceId
- All Implemented Interfaces:
- InstanceId, NavigableInstanceId, PlaceableInstanceId, Serializable
- public class BookInstanceId
- extends Id
- implements NavigableInstanceId, PlaceableInstanceId
Represents the primary keys of Book instance objects in the database, and is used to
uniquely identify them. BookInstanceId will be needed when customizing
specific instances of books on a desktop.
- See Also:
- Serialized Form
| Fields inherited from class com.bea.netuix.application.identifier.Id |
id |
BookInstanceId
public BookInstanceId(int id)
clone
protected Object clone()
- Returns:
- a new
BookInstanceId with the exact same parameters as this
BookInstanceId.
clone
public static BookInstanceId clone(BookInstanceId bookInstanceId)
- Parameters:
bookInstanceId - the BookInstanceId to clone.
- Returns:
- a new
BookInstanceId with the exact same parameters as the
BookInstanceId passed in.
createBookInstanceId
public static BookInstanceId createBookInstanceId(int id)
- Parameters:
id - the integer value that this BookInstanceId should be set to.
- Returns:
- a new
BookInstanceId with the id value set to the integer passed in.
equals
public boolean equals(Object o)
- Overrides:
equals in class Id
- Parameters:
o - a BookInstanceId object to compare to this BookInstanceId.
- Returns:
true if this BookInstanceId is the same as the
BookInstanceId object passed in; false otherwise.
hashCode
public int hashCode()
- Overrides:
hashCode in class Id
- Returns:
- a hash code value for this object.
Copyright © 2004 BEA Systems, Inc. All Rights Reserved