public class ActionFieldConfigDetail extends AbstractModel
header, skipSign
Constructor and Description |
---|
ActionFieldConfigDetail() |
ActionFieldConfigDetail(ActionFieldConfigDetail source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getConfig()
Get The supported configuration items are as follows.
|
String |
getDefaultValue()
Get Default value
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getField()
Get Unique identifier of the component, key when it is sent back to the backend
|
String |
getLable()
Get Component label
|
Long |
getRequired()
Get Whether it is required (0: no; 1: yes)
|
String |
getType()
Get Component type
The options are as follows:
input: text box
textarea: multi-line text box
number: number input box
select: selector
cascader: cascade selector
radio: single choice
time: time selection
|
String |
getValidate()
Get The compute configuration passes the verification when other fields that it depends on meet the conditions.
|
String |
getVisible()
Get Whether it is visible
|
void |
setConfig(String Config)
Set The supported configuration items are as follows.
|
void |
setDefaultValue(String DefaultValue)
Set Default value
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setField(String Field)
Set Unique identifier of the component, key when it is sent back to the backend
|
void |
setLable(String Lable)
Set Component label
|
void |
setRequired(Long Required)
Set Whether it is required (0: no; 1: yes)
|
void |
setType(String Type)
Set Component type
The options are as follows:
input: text box
textarea: multi-line text box
number: number input box
select: selector
cascader: cascade selector
radio: single choice
time: time selection
|
void |
setValidate(String Validate)
Set The compute configuration passes the verification when other fields that it depends on meet the conditions.
|
void |
setVisible(String Visible)
Set Whether it is visible
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ActionFieldConfigDetail()
public ActionFieldConfigDetail(ActionFieldConfigDetail source)
public String getType()
public void setType(String Type)
Type
- Component type
The options are as follows:
input: text box
textarea: multi-line text box
number: number input box
select: selector
cascader: cascade selector
radio: single choice
time: time selectionpublic String getLable()
public void setLable(String Lable)
Lable
- Component labelpublic String getField()
public void setField(String Field)
Field
- Unique identifier of the component, key when it is sent back to the backendpublic String getDefaultValue()
public void setDefaultValue(String DefaultValue)
DefaultValue
- Default value
Note: This field may return null, indicating that no valid values can be obtained.public String getConfig()
public void setConfig(String Config)
Config
- The supported configuration items are as follows. You can select the configuration items as needed. If no configuration is required, set the value to {}.
{ placeholder: string (placeholder)
tooltip: string (prompt message)
reg: RegExp (regular expression for the input content format)
max: number (maximum number of input characters for text boxes and upper limit of the input number for number input boxes)
min: number (lower limit of the input number for number input boxes)
step: number (step size for number input boxes; default value: 1)
format: string (format for time selection, for example YYYY-MM-DD and YYYY-MM-DD HH:mm:ss)
separator: string[] (separator for multi-line input boxes. If it is left blank, no separator is used, and the text string entered by the user is returned directly.)
multiple: boolean (multiple-choice or not, valid for selectors and cascade selectors)
options: selector options (support the following two forms)
Directly provide the option array: { value: string; label: string }[]
Obtain options by calling the API: { api: string (API URL), params: string[] (interface parameters, corresponding to field of the parameter configuration. The frontend uses the input values of all components corresponding to field as parameters to query data. If no value is input, the frontend directly requests data when components are loaded.)
}
}public Long getRequired()
public void setRequired(Long Required)
Required
- Whether it is required (0: no; 1: yes)public String getValidate()
public void setValidate(String Validate)
Validate
- The compute configuration passes the verification when other fields that it depends on meet the conditions. (For example, at least one of the three form items must be filled in.)
[fieldName,
{ config: This item is retained and will be refined based on subsequent scenes. }
]public String getVisible()
public void setVisible(String Visible)
Visible
- Whether it is visibleCopyright © 2024. All rights reserved.