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.
-
ContainerDescription()
-
-
ContainerDescription(Container)
- Create a ContainerDescription from a Container.
-
ContainerDescription(Describable)
- Construct ContainerDescription with one initial objects.
-
ContainerDescription(Describable, Describable)
- Construct ContainerDescription with two initial objects.
-
ContainerDescription(Describable, Describable, Describable)
- Construct ContainerDescription with three initial objects.
-
ContainerDescription(Describable, Describable, Describable, Describable)
- Construct ContainerDescription with four initial objects.
-
ContainerDescription(Describable[])
- Construct ContainerDescription from array of Describables.
-
append(Describable)
- Appends Describable to the internal Vector.
-
compareDescription(Description)
- Compares ourselves with another Description.
-
getTransferTransaction()
- Transferable interface.
-
getVectorOfDescribables()
-
ContainerDescription
public ContainerDescription()
ContainerDescription
public ContainerDescription(Container c)
- Create a ContainerDescription from a Container.
- Parameters:
- c - The Container for which to create the Description.
ContainerDescription
public ContainerDescription(Describable c)
- Construct ContainerDescription with one initial objects.
ContainerDescription
public ContainerDescription(Describable c0,
Describable c1)
- Construct ContainerDescription with two initial objects.
ContainerDescription
public ContainerDescription(Describable c0,
Describable c1,
Describable c2)
- Construct ContainerDescription with three initial objects.
ContainerDescription
public ContainerDescription(Describable c0,
Describable c1,
Describable c2,
Describable c3)
- Construct ContainerDescription with four initial objects.
ContainerDescription
public ContainerDescription(Describable ca[])
- Construct ContainerDescription from array of Describables.
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.
append
public void append(Describable c)
- Appends Describable to the internal Vector.
- Parameters:
- c - The Describable to append.
getVectorOfDescribables
public Vector getVectorOfDescribables()
- Returns:
- The Vector of Describables inside us
or null if there is none.
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