BookInstanceId Class
- 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.
-
Hierarchy
-
Object
Id
BookInstanceId
-
All Implemented Interfaces
-
InstanceId, NavigableInstanceId, PlaceableInstanceId, Serializable
Fields from com.bea.netuix.application.identifier.Id |
id |
BookInstanceId
public BookInstanceId(int id)
clone(BookInstanceId) Method
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.
clone() Method
protected Object clone()
-
Overrides
-
Object.clone()
Returns
- a new
BookInstanceId with the exact same parameters as this
BookInstanceId.
createBookInstanceId(int) Method
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(Object) Method
public boolean equals(Object o)
-
Overrides
-
Id.equals(Object)
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() Method
public int hashCode()
-
Overrides
-
Id.hashCode()
Returns
- a hash code value for this object.