public class DynamicField extends Object
| Constructor and Description |
|---|
DynamicField(String name,
String t,
List<DynamicField> fields) |
DynamicField(String name,
String t,
List<DynamicField> fields,
String category,
String subcategory) |
DynamicField(String name,
String t,
String value) |
DynamicField(String name,
String t,
String value,
List<DynamicField> fields) |
DynamicField(String name,
String t,
String value,
List<DynamicField> fields,
String category,
String subcategory) |
DynamicField(String name,
String t,
String value,
String category,
String subcategory) |
| Modifier and Type | Method and Description |
|---|---|
void |
addField(DynamicField field) |
void |
addFields(List<DynamicField> fields) |
List<DynamicField> |
getFields() |
String |
getName() |
String |
getT() |
String |
getValue() |
void |
setFields(List<DynamicField> fields) |
void |
setName(String name) |
void |
setT(String t) |
void |
setValue(String value) |
public DynamicField(String name, String t, String value)
name - The name of the fieldt - Field type. One of int, string, float, bool, constant, list or dictvalue - The value in case of an int, string, float, bool or constantpublic DynamicField(String name, String t, String value, String category, String subcategory)
name - The name of the fieldt - Field type. One of int, string, float, bool, constant, list or dictvalue - The value in case of an int, string, float, bool or constantcategory - Main category of the elementsubcategory - Subcategory of the elementpublic DynamicField(String name, String t, String value, List<DynamicField> fields, String category, String subcategory)
name - The name of the fieldt - Field type. One of int, string, float, bool, constant, list or dictvalue - The value in case of an int, string, float, bool or constantfields - Value in case of a list or dictcategory - Main category of the elementsubcategory - Subcategory of the elementpublic DynamicField(String name, String t, List<DynamicField> fields)
name - The name of the fieldt - Field type. One of int, string, float, bool, constant, list or dictfields - Value in case of a list or dictpublic DynamicField(String name, String t, String value, List<DynamicField> fields)
name - The name of the fieldt - Field type. One of int, string, float, bool, constant, list or dictfields - Value in case of a list or dictpublic DynamicField(String name, String t, List<DynamicField> fields, String category, String subcategory)
name - The name of the fieldt - Field type. One of int, string, float, bool, constant, list or dictfields - Value in case of a list or dictcategory - Main category of the elementsubcategory - Subcategory of the elementpublic String getName()
public void setName(String name)
name - the name to setpublic String getT()
public void setT(String t)
t - the type to setpublic String getValue()
public void setValue(String value)
value - the value to setpublic List<DynamicField> getFields()
public void setFields(List<DynamicField> fields)
fields - the fields to setpublic void addField(DynamicField field)
field - Single DynamicField to add to the existing arraypublic void addFields(List<DynamicField> fields)
fields - Array with the fields to add to the existing array