public class DateTimeFieldProperty extends Object implements FieldProperty
| Constructor and Description |
|---|
DateTimeFieldProperty() |
| 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.
|
LocalDateTime |
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() |
DateTimeFieldProperty |
setCode(String code)
The field code of the field.
|
DateTimeFieldProperty |
setDefaultNowValue(Boolean defaultNowValue)
The "Default to the record creation date" option.
|
DateTimeFieldProperty |
setDefaultValue(LocalDateTime defaultValue)
The default value.
|
DateTimeFieldProperty |
setLabel(String label)
The field name.
|
DateTimeFieldProperty |
setNoLabel(Boolean noLabel)
The "Hide field name" option.
|
DateTimeFieldProperty |
setRequired(Boolean required)
The "Required field" option.
|
DateTimeFieldProperty |
setUnique(Boolean unique)
The "Prohibit duplicate values" option.
|
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 LocalDateTime getDefaultValue()
public Boolean getDefaultNowValue()
public DateTimeFieldProperty setCode(String code)
this.public DateTimeFieldProperty setLabel(String label)
this.public DateTimeFieldProperty setNoLabel(Boolean noLabel)
this.public DateTimeFieldProperty setRequired(Boolean required)
this.public DateTimeFieldProperty setUnique(Boolean unique)
this.public DateTimeFieldProperty setDefaultValue(LocalDateTime defaultValue)
this.public DateTimeFieldProperty setDefaultNowValue(Boolean defaultNowValue)
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