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
private  Brand myBrand
           
(package private)  Object myContents
           
(package private) static long serialVersionUID
           
 
Fields inherited from interface org.erights.e.elib.serial.PassByProxy
HONORARY, HONORED_NAMES
 
Fields inherited from interface org.erights.e.elib.serial.Persistent
HONORARY, HONORED_NAMES
 
Constructor Summary
(package private) SealedBox(Object contents, Brand brand)
           
 
Method Summary
 void __printOn(TextWriter out)
          Enabled: Prints using the Brand's name
 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


comments?