| Modifier and Type | Method and Description |
|---|---|
static <T> Objs.Property<T> |
create(Objs obj,
Class<? extends Object> propertyType,
String property)
Creates new property for the object.
|
T |
get()
Get value of the property.
|
void |
set(T value)
Sets value of the property.
|
public static <T> Objs.Property<T> create(Objs obj, Class<? extends Object> propertyType, String property)
T - type of the propertyobj - the object the property belongs topropertyType - type of the propertyproperty - name of the propertyto use laterpublic T get()
public void set(T value)
value - the value to setCopyright © 2018. All rights reserved.