public interface Gettable<E>
| Modifier and Type | Method and Description |
|---|---|
<V> V |
get(Attribute<E,V> attribute)
get the current value for an attribute through this proxy.
|
<V> V |
get(Attribute<E,V> attribute,
boolean fetch)
get the current value for an attribute through this proxy.
|
boolean |
getBoolean(Attribute<E,Boolean> attribute) |
byte |
getByte(Attribute<E,Byte> attribute) |
double |
getDouble(Attribute<E,Double> attribute) |
float |
getFloat(Attribute<E,Float> attribute) |
int |
getInt(Attribute<E,Integer> attribute) |
long |
getLong(Attribute<E,Long> attribute) |
short |
getShort(Attribute<E,Short> attribute) |
<V> V get(Attribute<E,V> attribute)
V - type of the attributeattribute - to getPropertyLoader instance to
retrieve it if required.<V> V get(Attribute<E,V> attribute, boolean fetch)
V - type fo the attributeattribute - to getfetch - true to fetch the value through the PropertyLoader if setPropertyLoader instance to
retrieve it if fetch = true.