public class SingleLineTextFieldProperty extends Object implements FieldProperty
Constructor and Description |
---|
SingleLineTextFieldProperty() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getCode()
The field code of the field.
|
String |
getDefaultValue()
The default value.
|
String |
getExpression()
The formula expression used in the field.
|
Boolean |
getHideExpression()
The "Hide formula" settings for the field.
|
String |
getLabel()
The field name.
|
Long |
getMaxLength()
The maximum number of digits for the field.
|
Long |
getMinLength()
The minimum number of digits for the field.
|
Boolean |
getNoLabel()
The "Hide field name" option.
|
Boolean |
getRequired()
The "Required field" option.
|
FieldType |
getType()
Get the field type.
|
Boolean |
getUnique()
The "Prohibit duplicate values" option.
|
int |
hashCode() |
SingleLineTextFieldProperty |
setCode(String code)
The field code of the field.
|
SingleLineTextFieldProperty |
setDefaultValue(String defaultValue)
The default value.
|
SingleLineTextFieldProperty |
setExpression(String expression)
The formula expression used in the field.
|
SingleLineTextFieldProperty |
setHideExpression(Boolean hideExpression)
The "Hide formula" settings for the field.
|
SingleLineTextFieldProperty |
setLabel(String label)
The field name.
|
SingleLineTextFieldProperty |
setMaxLength(Long maxLength)
The maximum number of digits for the field.
|
SingleLineTextFieldProperty |
setMinLength(Long minLength)
The minimum number of digits for the field.
|
SingleLineTextFieldProperty |
setNoLabel(Boolean noLabel)
The "Hide field name" option.
|
SingleLineTextFieldProperty |
setRequired(Boolean required)
The "Required field" option.
|
SingleLineTextFieldProperty |
setUnique(Boolean unique)
The "Prohibit duplicate values" option.
|
String |
toString() |
public FieldType getType()
getType
in interface FieldProperty
public String getCode()
getCode
in interface FieldProperty
public String getLabel()
public Boolean getNoLabel()
public Boolean getRequired()
public Boolean getUnique()
public Long getMaxLength()
public Long getMinLength()
public String getDefaultValue()
public String getExpression()
public Boolean getHideExpression()
public SingleLineTextFieldProperty setCode(String code)
this
.public SingleLineTextFieldProperty setLabel(String label)
this
.public SingleLineTextFieldProperty setNoLabel(Boolean noLabel)
this
.public SingleLineTextFieldProperty setRequired(Boolean required)
this
.public SingleLineTextFieldProperty setUnique(Boolean unique)
this
.public SingleLineTextFieldProperty setMaxLength(Long maxLength)
this
.public SingleLineTextFieldProperty setMinLength(Long minLength)
this
.public SingleLineTextFieldProperty setDefaultValue(String defaultValue)
this
.public SingleLineTextFieldProperty setExpression(String expression)
this
.public SingleLineTextFieldProperty setHideExpression(Boolean hideExpression)
this
.public boolean equals(Object o)
equals
in class Object
protected boolean canEqual(Object other)
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object