public interface Settable<E>
| Modifier and Type | Method and Description |
|---|---|
<V> void |
set(Attribute<E,V> attribute,
V value)
Set a value through this proxy and change it's corresponding
PropertyState to
PropertyState.MODIFIED. |
<V> void |
set(Attribute<E,V> attribute,
V value,
PropertyState state)
Set a value through this proxy and change it's corresponding
PropertyState. |
void |
setBoolean(Attribute<E,Boolean> attribute,
boolean value,
PropertyState state) |
void |
setByte(Attribute<E,Byte> attribute,
byte value,
PropertyState state) |
void |
setDouble(Attribute<E,Double> attribute,
double value,
PropertyState state) |
void |
setFloat(Attribute<E,Float> attribute,
float value,
PropertyState state) |
void |
setInt(Attribute<E,Integer> attribute,
int value,
PropertyState state) |
void |
setLong(Attribute<E,Long> attribute,
long value,
PropertyState state) |
void |
setObject(Attribute<E,?> attribute,
Object value,
PropertyState state)
Unchecked version of set, use only when the the attribute type is not known.
|
void |
setShort(Attribute<E,Short> attribute,
short value,
PropertyState state) |
<V> void set(Attribute<E,V> attribute, V value)
PropertyState to
PropertyState.MODIFIED.V - type of the valueattribute - attribute to changevalue - new property value<V> void set(Attribute<E,V> attribute, V value, PropertyState state)
PropertyState.V - type of the valueattribute - attribute to changevalue - new property valuestate - new property statevoid setObject(Attribute<E,?> attribute, Object value, PropertyState state)
attribute - attribute to changevalue - new property valuestate - new property statevoid setBoolean(Attribute<E,Boolean> attribute, boolean value, PropertyState state)
void setByte(Attribute<E,Byte> attribute, byte value, PropertyState state)
void setShort(Attribute<E,Short> attribute, short value, PropertyState state)
void setInt(Attribute<E,Integer> attribute, int value, PropertyState state)
void setLong(Attribute<E,Long> attribute, long value, PropertyState state)
void setDouble(Attribute<E,Double> attribute, double value, PropertyState state)
void setFloat(Attribute<E,Float> attribute, float value, PropertyState state)