public class LinkFieldProperty extends Object implements FieldProperty
Constructor and Description |
---|
LinkFieldProperty() |
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 |
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.
|
LinkProtocol |
getProtocol()
The Link type settings for the field.
|
Boolean |
getRequired()
The "Required field" option.
|
FieldType |
getType()
Get the field type.
|
Boolean |
getUnique()
The "Prohibit duplicate values" option.
|
int |
hashCode() |
LinkFieldProperty |
setCode(String code)
The field code of the field.
|
LinkFieldProperty |
setDefaultValue(String defaultValue)
The default value.
|
LinkFieldProperty |
setLabel(String label)
The field name.
|
LinkFieldProperty |
setMaxLength(Long maxLength)
The maximum number of digits for the field.
|
LinkFieldProperty |
setMinLength(Long minLength)
The minimum number of digits for the field.
|
LinkFieldProperty |
setNoLabel(Boolean noLabel)
The "Hide field name" option.
|
LinkFieldProperty |
setProtocol(LinkProtocol protocol)
The Link type settings for the field.
|
LinkFieldProperty |
setRequired(Boolean required)
The "Required field" option.
|
LinkFieldProperty |
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 String getDefaultValue()
public Long getMaxLength()
public Long getMinLength()
public LinkProtocol getProtocol()
public LinkFieldProperty setCode(String code)
this
.public LinkFieldProperty setLabel(String label)
this
.public LinkFieldProperty setNoLabel(Boolean noLabel)
this
.public LinkFieldProperty setRequired(Boolean required)
this
.public LinkFieldProperty setUnique(Boolean unique)
this
.public LinkFieldProperty setDefaultValue(String defaultValue)
this
.public LinkFieldProperty setMaxLength(Long maxLength)
this
.public LinkFieldProperty setMinLength(Long minLength)
this
.public LinkFieldProperty setProtocol(LinkProtocol protocol)
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