public class FieldDefinition extends Object implements Serializable
Constructor and Description |
---|
FieldDefinition() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
FieldType |
getFieldType()
Returns the type of this field.
|
String |
getName()
Return the name of the field.
|
int |
hashCode() |
boolean |
isReadOnly()
Checks if this field is read-only.
|
boolean |
isRequired()
Checks if this field is required.
|
boolean |
isSystemField()
Checks if this field is a system-field.
|
boolean |
isUnique()
Checks if this field is unique.
|
void |
setFieldType(FieldType fieldType)
Sets the type of this field.
|
void |
setName(String name)
Sets the name of the field.
|
void |
setReadOnly(boolean readOnly)
Sets whether this field is read-only or not.
|
void |
setRequired(boolean required)
Sets whether this field is required or not.
|
void |
setSystemField(boolean systemField)
Sets whether this field is a system-field or not.
|
void |
setUnique(boolean unique)
Sets whether this field is unique or not.
|
String |
toString() |
public String getName()
public void setName(String name)
name
- the name of the fieldpublic FieldType getFieldType()
public void setFieldType(FieldType fieldType)
fieldType
- the type of this fieldpublic boolean isReadOnly()
public void setReadOnly(boolean readOnly)
readOnly
- whether this field should be read-only or notpublic boolean isRequired()
public void setRequired(boolean required)
required
- whether this field should be read-only or notpublic boolean isUnique()
public void setUnique(boolean unique)
unique
- whether this field should be unique or notpublic boolean isSystemField()
public void setSystemField(boolean systemField)
systemField
- whether this field is a system-field or notCopyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.