org.erights.e.elib.slot
Interface Slot

All Known Subinterfaces:
EverReporter
All Known Implementing Classes:
FinalSlot, ForwardingSlot, LazyEvalSlot, RuinedSlot, SettableSlot, SimpleSlot

public interface Slot

Untamed:


Method Summary
 Object getValue()
          Enabled: Get the current value of the variable.
 void setValue(Object specimen)
          Enabled: Sets the current value of the variable to be a coercion of specimen to a value that meets the constraints represented by this slot.
 

Method Detail

getValue

public Object getValue()
Enabled: Get the current value of the variable.


setValue

public void setValue(Object specimen)
Enabled: Sets the current value of the variable to be a coercion of specimen to a value that meets the constraints represented by this slot.

getValue() will then return this value. If the variable is final (immutable), then throw an informative exception instead.



comments?