BookInstanceId Class

com.bea.netuix.application.identifier
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

Field Summary

   
Fields from  com.bea.netuix.application.identifier.Id
id
 

Constructor Summary

BookInstanceId(int id)

 

Method Summary

public static BookInstanceId
clone(BookInstanceId bookInstanceId)
protected Object
clone()
public static BookInstanceId
createBookInstanceId(int id)
public boolean
equals(Object o)
public int
hashCode()
 
Methods from  com.bea.netuix.application.identifier.Id
getId, setId, toString
 
Methods from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   
Methods from interface com.bea.netuix.application.identifier.NavigableInstanceId
getId
 
Methods from interface com.bea.netuix.application.identifier.PlaceableInstanceId
getId
 

Constructor Detail

BookInstanceId

public BookInstanceId(int id)
 

Method Detail

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.