public class CalcFieldProperty extends Object implements FieldProperty
| Constructor and Description |
|---|
CalcFieldProperty() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getCode()
The field code of the field.
|
Long |
getDisplayScale()
The number of decimal places to display for the field.
|
String |
getExpression()
The formula expression used in the field.
|
DisplayFormat |
getFormat()
The display format for fields with calculations
|
Boolean |
getHideExpression()
The "Hide formula" settings for the field.
|
String |
getLabel()
The field name.
|
Boolean |
getNoLabel()
The "Hide field name" option.
|
Boolean |
getRequired()
The "Required field" option.
|
FieldType |
getType()
Get the field type.
|
String |
getUnit()
The currency settings of the field.
|
UnitPosition |
getUnitPosition()
The display position of the currency.
|
int |
hashCode() |
CalcFieldProperty |
setCode(String code)
The field code of the field.
|
CalcFieldProperty |
setDisplayScale(Long displayScale)
The number of decimal places to display for the field.
|
CalcFieldProperty |
setExpression(String expression)
The formula expression used in the field.
|
CalcFieldProperty |
setFormat(DisplayFormat format)
The display format for fields with calculations
|
CalcFieldProperty |
setHideExpression(Boolean hideExpression)
The "Hide formula" settings for the field.
|
CalcFieldProperty |
setLabel(String label)
The field name.
|
CalcFieldProperty |
setNoLabel(Boolean noLabel)
The "Hide field name" option.
|
CalcFieldProperty |
setRequired(Boolean required)
The "Required field" option.
|
CalcFieldProperty |
setUnit(String unit)
The currency settings of the field.
|
CalcFieldProperty |
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 String getExpression()
public DisplayFormat getFormat()
public Long getDisplayScale()
public Boolean getHideExpression()
public String getUnit()
public UnitPosition getUnitPosition()
public CalcFieldProperty setCode(String code)
this.public CalcFieldProperty setLabel(String label)
this.public CalcFieldProperty setNoLabel(Boolean noLabel)
this.public CalcFieldProperty setRequired(Boolean required)
this.public CalcFieldProperty setExpression(String expression)
this.public CalcFieldProperty setFormat(DisplayFormat format)
this.public CalcFieldProperty setDisplayScale(Long displayScale)
this.public CalcFieldProperty setHideExpression(Boolean hideExpression)
this.public CalcFieldProperty setUnit(String unit)
this.public CalcFieldProperty 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