All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.txlayer.extensions.serializable.SerializableItemDescription

java.lang.Object
   |
   +----semper.txlayer.extensions.serializable.SerializableItemDescription

public class SerializableItemDescription
extends Object
implements Transferable, Containable, Description
The description of a SerializableItem. Simply the item itself with a String "Description" in front of it.


Constructor Index

 o SerializableItemDescription(SerializableItem)
Constructor.

Method Index

 o compareDescription(Description)
Compare ourselves to another Description.
 o getTransferTransaction()
 o registerContainer(Container)
Register the Container.
 o toString()

Constructors

 o SerializableItemDescription
 public SerializableItemDescription(SerializableItem s)
Constructor.

Parameters:
s - The SerializableItem to construct a Description for.

Methods

 o toString
 public String toString()
Returns:
String representation of ourselves.
Overrides:
toString in class Object
 o getTransferTransaction
 public TransferTransaction getTransferTransaction()
Returns:
A new SerializingTransfer that can be used to transfer the description.
 o registerContainer
 public boolean registerContainer(Container c)
Register the Container. Is not implemented yet!

Parameters:
c - The Container to connect us to.
Returns:
false in any way.
 o compareDescription
 public boolean compareDescription(Description d)
Compare ourselves to another Description.

Parameters:
d - The Description to compare us to.
Returns:
true if d and ourselves are equal, false if we are not equal.

All Packages  Class Hierarchy  This Package  Previous  Next  Index