public class XBEItemInfo extends java.lang.Object implements XBCItemInfo, java.io.Serializable
| Constructor and Description |
|---|
XBEItemInfo()
Creates a new instance of XBEItem
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object object)
Determines whether another object is equal to this Item.
|
User |
getCreatedByUser() |
java.sql.Time |
getCreationDate() |
java.lang.Long |
getId()
Gets item identification
|
XBCItem |
getItem()
Related item.
|
User |
getOwner()
Item owner.
|
int |
hashCode()
Returns a hash code value for the object.
|
void |
setCreatedByUser(User createdByUser) |
void |
setCreationDate(java.sql.Time creationDate) |
void |
setId(java.lang.Long id) |
void |
setItem(XBCItem item) |
void |
setItem(XBEItem item) |
void |
setOwner(User owner) |
java.lang.String |
toString()
Returns a string representation of the object.
|
public java.lang.Long getId()
XBCBasepublic void setId(java.lang.Long id)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object object)
true if and only if the argument is not null and is a Item object that
has the same id field values as this object.equals in class java.lang.Objectobject - the reference object with which to comparetrue if this object is the same as the argument;
false otherwise.public java.lang.String toString()
toString in class java.lang.Objectpublic XBCItem getItem()
XBCItemInfogetItem in interface XBCItemInfopublic void setItem(XBCItem item)
public User getOwner()
XBCItemInfogetOwner in interface XBCItemInfopublic User getCreatedByUser()
getCreatedByUser in interface XBCItemInfopublic java.sql.Time getCreationDate()
getCreationDate in interface XBCItemInfopublic void setItem(XBEItem item)
item - the item to setpublic void setOwner(User owner)
owner - the owner to setpublic void setCreatedByUser(User createdByUser)
createdByUser - the createdByUser to setpublic void setCreationDate(java.sql.Time creationDate)
creationDate - the creationDate to set