org.erights.e.elib.sealing
Class SealedBox
java.lang.Object
|
+--org.erights.e.elib.sealing.SealedBox
- All Implemented Interfaces:
- Marker, PassByProxy, Persistent, Serializable
- public class SealedBox
- extends Object
- implements PassByProxy, Persistent
Untamed:
- See Also:
- Serialized Form
Field Summary
Fields inherited from interface org.erights.e.elib.serial.PassByProxy
Fields inherited from interface org.erights.e.elib.serial.Persistent
Constructor Summary
Method Summary
Brand
getBrand()
Enabled: The Brand of the
Sealer that sealed this box,
and therefore the Brand of the
Unsealer required to
obtain my contents.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail
serialVersionUID
static final long serialVersionUID
myContents
final Object myContents
myBrand
private final Brand myBrand
Constructor Detail
SealedBox
SealedBox(Object contents,
Brand brand)
Method Detail
getBrand
public Brand getBrand()
- Enabled: The Brand of the
Sealer that sealed this box,
and therefore the Brand of the Unsealer required to
obtain my contents.
-
-
__printOn
public void __printOn(TextWriter out)
throws IOException
- Enabled: Prints using the Brand's name
-
IOException