All Packages Class Hierarchy This Package Previous Next Index
Interface semper.txlayer.attribute.Attribute
- public interface Attribute
- extends Serializable
This is the base interface for all other attributes in this packages
and in txlayer-extensions.
-
acceptBeingPutInto(Class)
- This method tests if an attribute allows others
to put it into another class.
-
init()
- This method may perform initializations.
acceptBeingPutInto
public abstract boolean acceptBeingPutInto(Class c)
- This method tests if an attribute allows others
to put it into another class.
It's used for TransferTransactions, where we
don't want allow an, e.g., PaymentAttribute
be put into an HomeBrewedTransfer; PaymentAttributes
should only be put into PaymentTransfers.
In addition to it's own "friends" an attribute must
agree on being put into VectorTransfers and
ContainerTransfers for txlayer internal reasons.
- Parameters:
- The - class to test for.
- Returns:
- Whether the attribute wants to be put
into an Object of class c or not.
init
public abstract void init()
- This method may perform initializations.
It must be taken care that this method
is executed, up to now this is only guaranteed for
Attributes that are put into prepareXXX-methods
of TransferTransaction.
All Packages Class Hierarchy This Package Previous Next Index