All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.txlayer.container.ContainerDescription

java.lang.Object
   |
   +----semper.txlayer.container.Container
           |
           +----semper.txlayer.container.ContainerDescription

public class ContainerDescription
extends Container
implements Description, Transferable
Description of a Container. Build recursively from the Descriptions of the contained objects.


Constructor Index

 o ContainerDescription()
 o ContainerDescription(Container)
Create a ContainerDescription from a Container.
 o ContainerDescription(Describable)
Construct ContainerDescription with one initial objects.
 o ContainerDescription(Describable, Describable)
Construct ContainerDescription with two initial objects.
 o ContainerDescription(Describable, Describable, Describable)
Construct ContainerDescription with three initial objects.
 o ContainerDescription(Describable, Describable, Describable, Describable)
Construct ContainerDescription with four initial objects.
 o ContainerDescription(Describable[])
Construct ContainerDescription from array of Describables.

Method Index

 o append(Describable)
Appends Describable to the internal Vector.
 o compareDescription(Description)
Compares ourselves with another Description.
 o getTransferTransaction()
Transferable interface.
 o getVectorOfDescribables()

Constructors

 o ContainerDescription
 public ContainerDescription()
 o ContainerDescription
 public ContainerDescription(Container c)
Create a ContainerDescription from a Container.

Parameters:
c - The Container for which to create the Description.
 o ContainerDescription
 public ContainerDescription(Describable c)
Construct ContainerDescription with one initial objects.

 o ContainerDescription
 public ContainerDescription(Describable c0,
                             Describable c1)
Construct ContainerDescription with two initial objects.

 o ContainerDescription
 public ContainerDescription(Describable c0,
                             Describable c1,
                             Describable c2)
Construct ContainerDescription with three initial objects.

 o ContainerDescription
 public ContainerDescription(Describable c0,
                             Describable c1,
                             Describable c2,
                             Describable c3)
Construct ContainerDescription with four initial objects.

 o ContainerDescription
 public ContainerDescription(Describable ca[])
Construct ContainerDescription from array of Describables.

Methods

 o compareDescription
 public boolean compareDescription(Description d)
Compares ourselves with another Description. All elements of both Descriptions are compared. If the comparision of the elements yields false at one time, false is returned-

Parameters:
d - The Description to compare with. d must be a ContainerDescription, otherwise false is returned.
Returns:
True when both are the same, false otherwise.
 o append
 public void append(Describable c)
Appends Describable to the internal Vector.

Parameters:
c - The Describable to append.
 o getVectorOfDescribables
 public Vector getVectorOfDescribables()
Returns:
The Vector of Describables inside us or null if there is none.
 o getTransferTransaction
 public TransferTransaction getTransferTransaction()
Transferable interface. Retrieve a suitable TransferTransaction for this class.

Returns:
A ContainerTransfer.
Overrides:
getTransferTransaction in class Container

All Packages  Class Hierarchy  This Package  Previous  Next  Index