Modifier and Type | Class and Description |
---|---|
static class |
Field.FieldType
Field type.
|
Modifier and Type | Field and Description |
---|---|
protected String |
_id
The field ID.
|
protected String |
_label
The field label.
|
protected String |
_name
The field name.
|
protected Map<String,String> |
_properties
The field properties.
|
protected Field.FieldType |
_type
The field type.
|
Constructor and Description |
---|
Field(Field.FieldType type)
Default constructor.
|
Field(String id,
Field.FieldType type,
String name,
String label,
Map<String,String> properties)
Constructor with parameters.
|
Modifier and Type | Method and Description |
---|---|
String |
getId()
Get the id.
|
String |
getLabel()
Get the label.
|
String |
getName()
Get the name.
|
Map<String,String> |
getProperties()
Get the properties.
|
Field.FieldType |
getType()
Get the type.
|
void |
setId(String id)
Set the id.
|
void |
setLabel(String label)
Set the label.
|
void |
setName(String name)
Set the name.
|
void |
setProperties(Map<String,String> properties)
Set the properties.
|
void |
setType(Field.FieldType type)
Set the type.
|
protected Field.FieldType _type
protected Map<String,String> _properties
public Field(Field.FieldType type)
type
- the field type.public Field.FieldType getType()
public void setType(Field.FieldType type)
type
- the type to setpublic Map<String,String> getProperties()
public void setProperties(Map<String,String> properties)
properties
- the properties to set