public class DateFieldProperty extends Object implements FieldProperty
Constructor and Description |
---|
DateFieldProperty() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getCode()
The field code of the field.
|
Boolean |
getDefaultNowValue()
The "Default to the record creation date" option.
|
LocalDate |
getDefaultValue()
The default value.
|
String |
getLabel()
The field name.
|
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() |
DateFieldProperty |
setCode(String code)
The field code of the field.
|
DateFieldProperty |
setDefaultNowValue(Boolean defaultNowValue)
The "Default to the record creation date" option.
|
DateFieldProperty |
setDefaultValue(LocalDate defaultValue)
The default value.
|
DateFieldProperty |
setLabel(String label)
The field name.
|
DateFieldProperty |
setNoLabel(Boolean noLabel)
The "Hide field name" option.
|
DateFieldProperty |
setRequired(Boolean required)
The "Required field" option.
|
DateFieldProperty |
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 LocalDate getDefaultValue()
public Boolean getDefaultNowValue()
public DateFieldProperty setCode(String code)
this
.public DateFieldProperty setLabel(String label)
this
.public DateFieldProperty setNoLabel(Boolean noLabel)
this
.public DateFieldProperty setRequired(Boolean required)
this
.public DateFieldProperty setUnique(Boolean unique)
this
.public DateFieldProperty setDefaultValue(LocalDate defaultValue)
this
.public DateFieldProperty setDefaultNowValue(Boolean defaultNowValue)
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