gnu.mapping

Class ConstrainedLocation

public class ConstrainedLocation extends Location

Field Summary
protected Locationbase
protected Procedureconverter
Method Summary
protected Objectcoerce(Object newValue)
Objectget(Object defaultValue)
ObjectgetKeyProperty()
SymbolgetKeySymbol()
booleanisBound()
booleanisConstant()
static ConstrainedLocationmake(Location base, Procedure converter)
voidset(Object newValue)
voidsetRestore(Object oldValue, CallContext ctx)
ObjectsetWithSave(Object newValue, CallContext ctx)

Field Detail

base

protected Location base

converter

protected Procedure converter

Method Detail

coerce

protected Object coerce(Object newValue)

get

public final Object get(Object defaultValue)

getKeyProperty

public Object getKeyProperty()

getKeySymbol

public Symbol getKeySymbol()

isBound

public boolean isBound()

isConstant

public boolean isConstant()

make

public static ConstrainedLocation make(Location base, Procedure converter)

set

public final void set(Object newValue)

setRestore

public void setRestore(Object oldValue, CallContext ctx)

setWithSave

public Object setWithSave(Object newValue, CallContext ctx)