@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen") public class WFieldInfo extends Object
| Constructor and Description |
|---|
WFieldInfo() |
| Modifier and Type | Method and Description |
|---|---|
WFieldInfo |
addListValuesItem(String listValuesItem) |
WFieldInfo |
constraint(String constraint) |
WFieldInfo |
constraintError(String constraintError) |
WFieldInfo |
currency(String currency) |
WFieldInfo |
defaultValue(String defaultValue) |
WFieldInfo |
description(String description) |
WFieldInfo |
displayName(String displayName) |
boolean |
equals(Object o) |
WFieldInfo |
fieldType(WFieldType fieldType) |
WFieldInfo |
format(WFieldFormat format) |
WFieldInfo |
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.
|
WFieldType |
getFieldType()
Returns fieldType
|
WFieldFormat |
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() |
WFieldInfo |
id(Integer id) |
Boolean |
isMultiValue()
Returns a boolean indicating if the represented template field supports multiple values.
|
WFieldInfo |
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.
|
WFieldInfo |
isRequired(Boolean isRequired) |
WFieldInfo |
length(Integer length) |
WFieldInfo |
listValues(List<String> listValues) |
WFieldInfo |
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(WFieldType fieldType) |
void |
setFormat(WFieldFormat 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 WFieldInfo name(String name)
public String getName()
public void setName(String name)
public WFieldInfo displayName(String displayName)
public String getDisplayName()
public void setDisplayName(String displayName)
public WFieldInfo id(Integer id)
public Integer getId()
public void setId(Integer id)
public WFieldInfo description(String description)
public String getDescription()
public void setDescription(String description)
public WFieldInfo fieldType(WFieldType fieldType)
public WFieldType getFieldType()
public void setFieldType(WFieldType fieldType)
public WFieldInfo length(Integer length)
public Integer getLength()
public void setLength(Integer length)
public WFieldInfo defaultValue(String defaultValue)
public String getDefaultValue()
public void setDefaultValue(String defaultValue)
public WFieldInfo isMultiValue(Boolean isMultiValue)
public Boolean isMultiValue()
public void setIsMultiValue(Boolean isMultiValue)
public WFieldInfo isRequired(Boolean isRequired)
public Boolean isRequired()
public void setIsRequired(Boolean isRequired)
public WFieldInfo constraint(String constraint)
public String getConstraint()
public void setConstraint(String constraint)
public WFieldInfo constraintError(String constraintError)
public String getConstraintError()
public void setConstraintError(String constraintError)
public WFieldInfo listValues(List<String> listValues)
public WFieldInfo addListValuesItem(String listValuesItem)
public List<String> getListValues()
public WFieldInfo format(WFieldFormat format)
public WFieldFormat getFormat()
public void setFormat(WFieldFormat format)
public WFieldInfo currency(String currency)
public String getCurrency()
public void setCurrency(String currency)
public WFieldInfo formatPattern(String formatPattern)
public String getFormatPattern()
public void setFormatPattern(String formatPattern)
Copyright © 2025. All rights reserved.