public class NumberFieldProperty extends Object implements FieldProperty
| Constructor and Description |
|---|
NumberFieldProperty() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getCode()
The field code of the field.
|
BigDecimal |
getDefaultValue()
The default value.
|
Boolean |
getDigit()
The "Use thousands separators" option.
|
Long |
getDisplayScale()
The number of decimal places to display for the field.
|
String |
getLabel()
The field name.
|
BigDecimal |
getMaxValue()
The maximum number of characters for the field
|
BigDecimal |
getMinValue()
The minimum number of characters 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.
|
String |
getUnit()
The Currency settings of the field.
|
UnitPosition |
getUnitPosition()
The display position of the Currency.
|
int |
hashCode() |
NumberFieldProperty |
setCode(String code)
The field code of the field.
|
NumberFieldProperty |
setDefaultValue(BigDecimal defaultValue)
The default value.
|
NumberFieldProperty |
setDigit(Boolean digit)
The "Use thousands separators" option.
|
NumberFieldProperty |
setDisplayScale(Long displayScale)
The number of decimal places to display for the field.
|
NumberFieldProperty |
setLabel(String label)
The field name.
|
NumberFieldProperty |
setMaxValue(BigDecimal maxValue)
The maximum number of characters for the field
|
NumberFieldProperty |
setMinValue(BigDecimal minValue)
The minimum number of characters for the field.
|
NumberFieldProperty |
setNoLabel(Boolean noLabel)
The "Hide field name" option.
|
NumberFieldProperty |
setRequired(Boolean required)
The "Required field" option.
|
NumberFieldProperty |
setUnique(Boolean unique)
The "Prohibit duplicate values" option.
|
NumberFieldProperty |
setUnit(String unit)
The Currency settings of the field.
|
NumberFieldProperty |
setUnitPosition(UnitPosition unitPosition)
The display position of the Currency.
|
String |
toString() |
public FieldType getType()
getType in interface FieldPropertypublic String getCode()
getCode in interface FieldPropertypublic String getLabel()
public Boolean getNoLabel()
public Boolean getRequired()
public Boolean getUnique()
public BigDecimal getMaxValue()
public BigDecimal getMinValue()
public BigDecimal getDefaultValue()
public Boolean getDigit()
public Long getDisplayScale()
public String getUnit()
public UnitPosition getUnitPosition()
public NumberFieldProperty setCode(String code)
this.public NumberFieldProperty setLabel(String label)
this.public NumberFieldProperty setNoLabel(Boolean noLabel)
this.public NumberFieldProperty setRequired(Boolean required)
this.public NumberFieldProperty setUnique(Boolean unique)
this.public NumberFieldProperty setMaxValue(BigDecimal maxValue)
this.public NumberFieldProperty setMinValue(BigDecimal minValue)
this.public NumberFieldProperty setDefaultValue(BigDecimal defaultValue)
this.public NumberFieldProperty setDigit(Boolean digit)
this.public NumberFieldProperty setDisplayScale(Long displayScale)
this.public NumberFieldProperty setUnit(String unit)
this.public NumberFieldProperty setUnitPosition(UnitPosition unitPosition)
this.public boolean equals(Object o)
equals in class Objectprotected boolean canEqual(Object other)
public int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object