public class Field
extends Object
implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
Field.TypeEnum
Note that the LINK type is not a plain HREF.
|
Constructor and Description |
---|
Field() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Field |
filterable(Boolean filterable) |
Boolean |
getFilterable() |
String |
getName()
Get name
|
Boolean |
getRequired() |
Field.TypeEnum |
getType()
Note that the LINK type is not a plain HREF.
|
String[] |
getValues()
This field is applicable only if the field's type is ENUM, otherwise it should be skipped.
|
int |
hashCode() |
Boolean |
isFilterable()
Get filterable
|
Boolean |
isRequired()
Get required
|
Boolean |
isUpdatable()
Get updatable
|
Field |
name(String name) |
Field |
required(Boolean required) |
void |
setFilterable(Boolean filterable) |
void |
setName(String name) |
void |
setRequired(Boolean required) |
void |
setType(Field.TypeEnum type) |
void |
setUpdatable(Boolean updatable) |
void |
setValues(String[] values) |
String |
toString() |
Field |
type(Field.TypeEnum type) |
Field |
updatable(Boolean updatable) |
Field |
values(String[] values) |
public Field name(String name)
public String getName()
public void setName(String name)
public Field filterable(Boolean filterable)
public Boolean isFilterable()
public void setFilterable(Boolean filterable)
public Field required(Boolean required)
public Boolean isRequired()
public void setRequired(Boolean required)
public Field updatable(Boolean updatable)
public Boolean isUpdatable()
public void setUpdatable(Boolean updatable)
public Field type(Field.TypeEnum type)
public Field.TypeEnum getType()
public void setType(Field.TypeEnum type)
public Field values(String[] values)
public String[] getValues()
public void setValues(String[] values)
public Boolean getFilterable()
public Boolean getRequired()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object