public class XBEItem
extends java.lang.Object
implements org.xbup.lib.xb.catalog.base.XBCItem, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected java.lang.Long |
id |
Constructor and Description |
---|
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() |
org.xbup.lib.xb.catalog.base.XBCItem |
getParent() |
java.lang.Long |
getXBIndex() |
int |
hashCode()
Returns a hash code value for the object.
|
void |
setId(java.lang.Long id) |
void |
setParent(XBEItem owner) |
void |
setXBIndex(java.lang.Long xbIndex) |
java.lang.String |
toString()
Returns a string representation of the object.
|
public int hashCode()
hashCode
in class java.lang.Object
public 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.Object
object
- 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.Object
public java.lang.Long getId()
getId
in interface org.xbup.lib.xb.catalog.base.XBCBase
public void setId(java.lang.Long id)
public java.lang.Long getXBIndex()
getXBIndex
in interface org.xbup.lib.xb.catalog.base.XBCItem
public void setXBIndex(java.lang.Long xbIndex)
public org.xbup.lib.xb.catalog.base.XBCItem getParent()
getParent
in interface org.xbup.lib.xb.catalog.base.XBCItem
public void setParent(XBEItem owner)