public class Field
extends Object
Constructor and Description |
---|
Field() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Field |
filterable(Boolean filterable)
Returns an Field instance initialized with filterable
|
Boolean |
getFilterable() |
String |
getName()
Get name
|
Boolean |
getRequired() |
FieldTypeEnum |
getType()
Get type
|
Boolean |
getUpdatable() |
String[] |
getValues() |
int |
hashCode() |
Boolean |
isFilterable()
Get filterable
|
Boolean |
isRequired()
Get required
|
Field |
name(String name)
Returns an Field instance initialized with name
|
Field |
required(Boolean required)
Returns an Field instance initialized with required
|
void |
setFilterable(Boolean filterable) |
void |
setName(String name) |
void |
setRequired(Boolean required) |
void |
setType(FieldTypeEnum type) |
void |
setUpdatable(Boolean updatable) |
void |
setValues(String[] values) |
String |
toString() |
Field |
type(FieldTypeEnum type)
Returns an Field instance initialized with type
|
public Field name(String name)
name
- name to be associated with Fieldpublic String getName()
public void setName(String name)
public Field filterable(Boolean filterable)
filterable
- filterable to be associated with Fieldpublic Boolean isFilterable()
public void setFilterable(Boolean filterable)
public Field required(Boolean required)
required
- required to be associated with Fieldpublic Boolean isRequired()
public void setRequired(Boolean required)
public Field type(FieldTypeEnum type)
type
- type to be associated with Fieldpublic FieldTypeEnum getType()
public void setType(FieldTypeEnum type)
public Boolean getUpdatable()
public void setUpdatable(Boolean updatable)
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