@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen") public class FieldDefinition extends Object
| Constructor and Description |
|---|
FieldDefinition() |
| Modifier and Type | Method and Description |
|---|---|
FieldDefinition |
addListValuesItem(String listValuesItem) |
FieldDefinition |
constraint(String constraint) |
FieldDefinition |
constraintError(String constraintError) |
FieldDefinition |
currency(String currency) |
FieldDefinition |
defaultValue(String defaultValue) |
FieldDefinition |
description(String description) |
FieldDefinition |
displayName(String displayName) |
boolean |
equals(Object o) |
FieldDefinition |
fieldType(FieldType fieldType) |
FieldDefinition |
format(FieldFormat format) |
FieldDefinition |
formatPattern(String formatPattern) |
String |
getConstraint()
Returns the constraint for values stored in the represented field.
|
String |
getConstraintError()
Returns the error string that will be returned when the field constraint is violated when setting a value for this field.
|
String |
getCurrency()
Returns the name of the currency that will be using when formatting the represented field when the Format property is set to the Currency member of the WFieldFormat enumeration.
|
String |
getDefaultValue()
Returns the default value of the field for new entries that are assigned to a template the represented field is a member of.
|
String |
getDescription()
Returns the description of the field.
|
String |
getDisplayName()
Returns the localized name of the field.
|
FieldType |
getFieldType()
Returns fieldType
|
FieldFormat |
getFormat()
Returns format
|
String |
getFormatPattern()
Returns the custom format pattern for fields that are configured to use a custom format.
|
Integer |
getId()
Returns the ID of the field.
|
Integer |
getLength()
Returns the length of the field for variable length data types.
|
List<String> |
getListValues()
Returns the list of items assigned to the represented field.
|
String |
getName()
Returns the name of the field.
|
int |
hashCode() |
FieldDefinition |
id(Integer id) |
Boolean |
isMultiValue()
Returns a boolean indicating if the represented template field supports multiple values.
|
FieldDefinition |
isMultiValue(Boolean isMultiValue) |
Boolean |
isRequired()
Returns a boolean indicating if the represented field must have a value set on entries assigned to a template that the field is a member of.
|
FieldDefinition |
isRequired(Boolean isRequired) |
FieldDefinition |
length(Integer length) |
FieldDefinition |
listValues(List<String> listValues) |
FieldDefinition |
name(String name) |
void |
setConstraint(String constraint) |
void |
setConstraintError(String constraintError) |
void |
setCurrency(String currency) |
void |
setDefaultValue(String defaultValue) |
void |
setDescription(String description) |
void |
setDisplayName(String displayName) |
void |
setFieldType(FieldType fieldType) |
void |
setFormat(FieldFormat format) |
void |
setFormatPattern(String formatPattern) |
void |
setId(Integer id) |
void |
setIsMultiValue(Boolean isMultiValue) |
void |
setIsRequired(Boolean isRequired) |
void |
setLength(Integer length) |
void |
setListValues(List<String> listValues) |
void |
setName(String name) |
String |
toString() |
public FieldDefinition name(String name)
public String getName()
public void setName(String name)
public FieldDefinition displayName(String displayName)
public String getDisplayName()
public void setDisplayName(String displayName)
public FieldDefinition id(Integer id)
public Integer getId()
public void setId(Integer id)
public FieldDefinition description(String description)
public String getDescription()
public void setDescription(String description)
public FieldDefinition fieldType(FieldType fieldType)
public FieldType getFieldType()
public void setFieldType(FieldType fieldType)
public FieldDefinition length(Integer length)
public Integer getLength()
public void setLength(Integer length)
public FieldDefinition defaultValue(String defaultValue)
public String getDefaultValue()
public void setDefaultValue(String defaultValue)
public FieldDefinition isMultiValue(Boolean isMultiValue)
public Boolean isMultiValue()
public void setIsMultiValue(Boolean isMultiValue)
public FieldDefinition isRequired(Boolean isRequired)
public Boolean isRequired()
public void setIsRequired(Boolean isRequired)
public FieldDefinition constraint(String constraint)
public String getConstraint()
public void setConstraint(String constraint)
public FieldDefinition constraintError(String constraintError)
public String getConstraintError()
public void setConstraintError(String constraintError)
public FieldDefinition listValues(List<String> listValues)
public FieldDefinition addListValuesItem(String listValuesItem)
public List<String> getListValues()
public FieldDefinition format(FieldFormat format)
public FieldFormat getFormat()
public void setFormat(FieldFormat format)
public FieldDefinition currency(String currency)
public String getCurrency()
public void setCurrency(String currency)
public FieldDefinition formatPattern(String formatPattern)
public String getFormatPattern()
public void setFormatPattern(String formatPattern)
Copyright © 2025. All rights reserved.