public class BrowseField extends Object implements Serializable
Java class for BrowseField complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="BrowseField"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="helpText" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="defaultValue" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="allowedValue" type="{http://www.boomi.com/connector/api/ui}AllowedValue" maxOccurs="unbounded" minOccurs="0"/> <element name="customPropertiesConfiguration" type="{http://www.boomi.com/connector/api/ui}CustomPropertiesFieldConfig" minOccurs="0"/> <element name="visibilityCondition" type="{http://www.boomi.com/connector/api/ui}VisibilityCondition" maxOccurs="10" minOccurs="0"/> </sequence> <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" /> <attribute name="label" type="{http://www.w3.org/2001/XMLSchema}normalizedString" /> <attribute name="type" use="required" type="{http://www.boomi.com/connector/api/ui}DataType" /> <attribute name="displayType" type="{http://www.boomi.com/connector/api/ui}DisplayType" default="list" /> <attribute name="overrideable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<AllowedValue> |
allowedValues |
protected CustomPropertiesFieldConfig |
customPropertiesConfiguration |
protected String |
defaultValue |
protected DisplayType |
displayType |
static BrowseField |
EMPTY_INSTANCE |
protected String |
helpText |
protected String |
id |
protected String |
label |
protected Boolean |
overrideable |
protected DataType |
type |
protected List<VisibilityCondition> |
visibilityConditions |
Constructor and Description |
---|
BrowseField() |
Modifier and Type | Method and Description |
---|---|
BrowseField |
copy()
Deep copies the fields of the this model into a new instance of this class and returns it.
|
BrowseField |
copy(boolean isDeep)
Copies the fields of the this model (optionally deeply) into a new instance of this class and returns it.
|
protected BrowseField |
copy(BrowseField nobj,
boolean isDeep)
Copies the fields of the this model (optionally deeply) into the given instance and returns it.
|
boolean |
equals(Object o) |
List<AllowedValue> |
getAllowedValues()
Optional set of allowed values for this field.
|
CustomPropertiesFieldConfig |
getCustomPropertiesConfiguration()
Configuration of the key value pairs for a field.
|
String |
getDefaultValue()
Optional default value for this field presented to the user in the GUI.
|
DisplayType |
getDisplayType()
The type of UI element to use when displaying the field
|
String |
getHelpText()
Optional help text displayed for the field in the GUI.
|
String |
getId()
The actual name of the field which will be passed as the property key to the connector.
|
String |
getLabel()
Optional text string which will be displayed in the GUI for this field.
|
DataType |
getType()
The type of the property value which will be passed to the connector.
|
List<VisibilityCondition> |
getVisibilityConditions()
Configuration of a rule that controls the visibility of the current field based on the value of another field within the same screen.
|
int |
hashCode() |
boolean |
isOverrideable()
When specified as true, this attribute will allow the operation field to be overriden on the process level.
|
CustomPropertiesFieldConfig |
safeGetCustomPropertiesConfiguration()
Returns the current customPropertiesConfiguration property value if non-
null , otherwise CustomPropertiesFieldConfig.EMPTY_INSTANCE . |
void |
setCustomPropertiesConfiguration(CustomPropertiesFieldConfig value)
Sets the value of the customPropertiesConfiguration property.
|
void |
setDefaultValue(String value)
Sets the value of the defaultValue property.
|
void |
setDisplayType(DisplayType value)
Sets the value of the displayType property.
|
void |
setHelpText(String value)
Sets the value of the helpText property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setLabel(String value)
Sets the value of the label property.
|
void |
setOverrideable(Boolean value)
Sets the value of the overrideable property.
|
void |
setType(DataType value)
Sets the value of the type property.
|
String |
toString() |
BrowseField |
withAllowedValues(AllowedValue... newValues)
Adds the given newValues to the current allowedValues property List and returns this instance.
|
BrowseField |
withAllowedValues(Collection<? extends AllowedValue> newValues)
Adds the given newValues to the current allowedValues property List and returns this instance.
|
BrowseField |
withCustomPropertiesConfiguration(CustomPropertiesFieldConfig newValue)
Sets the customPropertiesConfiguration property to the given newValue and returns this instance.
|
BrowseField |
withDefaultValue(String newValue)
Sets the defaultValue property to the given newValue and returns this instance.
|
BrowseField |
withDisplayType(DisplayType newValue)
Sets the displayType property to the given newValue and returns this instance.
|
BrowseField |
withHelpText(String newValue)
Sets the helpText property to the given newValue and returns this instance.
|
BrowseField |
withId(String newValue)
Sets the id property to the given newValue and returns this instance.
|
BrowseField |
withLabel(String newValue)
Sets the label property to the given newValue and returns this instance.
|
BrowseField |
withOverrideable(Boolean newValue)
Sets the overrideable property to the given newValue and returns this instance.
|
BrowseField |
withType(DataType newValue)
Sets the type property to the given newValue and returns this instance.
|
BrowseField |
withVisibilityConditions(Collection<? extends VisibilityCondition> newValues)
Adds the given newValues to the current visibilityConditions property List and returns this instance.
|
BrowseField |
withVisibilityConditions(VisibilityCondition... newValues)
Adds the given newValues to the current visibilityConditions property List and returns this instance.
|
protected String helpText
protected String defaultValue
protected List<AllowedValue> allowedValues
protected CustomPropertiesFieldConfig customPropertiesConfiguration
protected List<VisibilityCondition> visibilityConditions
protected String id
protected String label
protected DataType type
protected DisplayType displayType
protected Boolean overrideable
public static final BrowseField EMPTY_INSTANCE
public String getHelpText()
String
public void setHelpText(String value)
value
- allowed object is
String
public String getDefaultValue()
String
public void setDefaultValue(String value)
value
- allowed object is
String
public List<AllowedValue> getAllowedValues()
Gets the value of the allowedValues property.
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the allowedValues property.
For example, to add a new item, do as follows:
getAllowedValues().add(newItem);
Objects of the following type(s) are allowed in the list
AllowedValue
public CustomPropertiesFieldConfig getCustomPropertiesConfiguration()
CustomPropertiesFieldConfig
public void setCustomPropertiesConfiguration(CustomPropertiesFieldConfig value)
value
- allowed object is
CustomPropertiesFieldConfig
public List<VisibilityCondition> getVisibilityConditions()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the visibilityConditions property.
For example, to add a new item, do as follows:
getVisibilityConditions().add(newItem);
Objects of the following type(s) are allowed in the list
VisibilityCondition
public String getId()
String
public void setId(String value)
value
- allowed object is
String
public String getLabel()
String
public void setLabel(String value)
value
- allowed object is
String
public DataType getType()
DataType
public void setType(DataType value)
value
- allowed object is
DataType
public DisplayType getDisplayType()
DisplayType
public void setDisplayType(DisplayType value)
value
- allowed object is
DisplayType
public boolean isOverrideable()
Boolean
public void setOverrideable(Boolean value)
value
- allowed object is
Boolean
public BrowseField copy()
public BrowseField copy(boolean isDeep)
protected BrowseField copy(BrowseField nobj, boolean isDeep)
public BrowseField withHelpText(String newValue)
public BrowseField withDefaultValue(String newValue)
public BrowseField withAllowedValues(AllowedValue... newValues)
public BrowseField withAllowedValues(Collection<? extends AllowedValue> newValues)
public BrowseField withCustomPropertiesConfiguration(CustomPropertiesFieldConfig newValue)
public CustomPropertiesFieldConfig safeGetCustomPropertiesConfiguration()
null
, otherwise CustomPropertiesFieldConfig.EMPTY_INSTANCE
.public BrowseField withVisibilityConditions(VisibilityCondition... newValues)
public BrowseField withVisibilityConditions(Collection<? extends VisibilityCondition> newValues)
public BrowseField withId(String newValue)
public BrowseField withLabel(String newValue)
public BrowseField withType(DataType newValue)
public BrowseField withDisplayType(DisplayType newValue)
public BrowseField withOverrideable(Boolean newValue)