public class XBEItem extends java.lang.Object implements XBCItem, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Long |
id |
| Constructor and Description |
|---|
XBEItem()
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.
|
java.lang.Long |
getId()
Gets the id of this Item.
|
XBCItem |
getParent()
Gets owner or parent of item
|
java.lang.Long |
getXBIndex()
Gets basic indexing value
|
int |
hashCode()
Returns a hash code value for the object.
|
void |
setId(java.lang.Long id)
Sets the id of this Item to the specified value.
|
void |
setOwner(XBEItem owner) |
void |
setXBIndex(java.lang.Long xbIndex)
Sets the xbindex of this Item to the specified value.
|
java.lang.String |
toString()
Returns a string representation of the object.
|
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 java.lang.Long getId()
public void setId(java.lang.Long id)
id - the new idpublic java.lang.Long getXBIndex()
XBCItemgetXBIndex in interface XBCItempublic void setXBIndex(java.lang.Long xbIndex)
xbIndex - the new xbIndexpublic XBCItem getParent()
XBCItempublic void setOwner(XBEItem owner)
owner - the owner to set