public abstract static class DOFInterface.Item extends java.lang.Object implements DOFImmutable, java.lang.Comparable<DOFInterface.Item>, java.io.Serializable
DOFInterface
,
DOFInterface.Event
,
Exception
,
DOFInterface.Method
,
DOFInterface.Property
,
Serialized FormModifier and Type | Method and Description |
---|---|
int |
compareTo(DOFInterface.Item def)
compareTo compares this Item with another object lexicographically.
|
boolean |
equals(java.lang.Object obj) |
DOFInterface |
getInterface()
Get the interface that this item belongs to.
|
DOFInterfaceID |
getInterfaceID()
Get the interface identifier.
|
int |
getItemID()
Get the item ID.
|
DOFInterface.ItemType |
getItemType()
Get the item type of PROPERTY, METHOD, EVENT or EXCEPTION.
|
int |
hashCode() |
void |
marshal(DOFType.Context context,
DOFPacket packet)
Marshal the binary representation of this item into the specified
buffer beginning at the specified offset.
|
java.lang.String |
toString()
The item's string representation.
|
public DOFInterface.ItemType getItemType()
public int getItemID()
public DOFInterfaceID getInterfaceID()
public DOFInterface getInterface()
public int compareTo(DOFInterface.Item def)
compareTo
in interface java.lang.Comparable<DOFInterface.Item>
def
- Another Item. Must not be null.public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public void marshal(DOFType.Context context, DOFPacket packet) throws DOFMarshalException
context
- The context that all types should be written with.packet
- The packet to write into.DOFMarshalException
- If marshaling fails.