public class CustomPropertiesFieldConfig extends Object implements Serializable
Java class for CustomPropertiesFieldConfig complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CustomPropertiesFieldConfig"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="blacklistedKey" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> <element name="restrictedKey" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<String> |
blacklistedKeys |
static CustomPropertiesFieldConfig |
EMPTY_INSTANCE |
protected List<String> |
restrictedKeys |
Constructor and Description |
---|
CustomPropertiesFieldConfig() |
Modifier and Type | Method and Description |
---|---|
CustomPropertiesFieldConfig |
copy()
Deep copies the fields of the this model into a new instance of this class and returns it.
|
CustomPropertiesFieldConfig |
copy(boolean isDeep)
Copies the fields of the this model (optionally deeply) into a new instance of this class and returns it.
|
protected CustomPropertiesFieldConfig |
copy(CustomPropertiesFieldConfig nobj,
boolean isDeep)
Copies the fields of the this model (optionally deeply) into the given instance and returns it.
|
boolean |
equals(Object o) |
List<String> |
getBlacklistedKeys()
This has been deprecated in favor of restrictedKeys.
|
List<String> |
getRestrictedKeys()
Optional set of restricted keys for Custom Properties DataType.
|
int |
hashCode() |
String |
toString() |
CustomPropertiesFieldConfig |
withBlacklistedKeys(Collection<? extends String> newValues)
Adds the given newValues to the current blacklistedKeys property List and returns this instance.
|
CustomPropertiesFieldConfig |
withBlacklistedKeys(String... newValues)
Adds the given newValues to the current blacklistedKeys property List and returns this instance.
|
CustomPropertiesFieldConfig |
withRestrictedKeys(Collection<? extends String> newValues)
Adds the given newValues to the current restrictedKeys property List and returns this instance.
|
CustomPropertiesFieldConfig |
withRestrictedKeys(String... newValues)
Adds the given newValues to the current restrictedKeys property List and returns this instance.
|
public static final CustomPropertiesFieldConfig EMPTY_INSTANCE
public List<String> getBlacklistedKeys()
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 blacklistedKeys property.
For example, to add a new item, do as follows:
getBlacklistedKeys().add(newItem);
Objects of the following type(s) are allowed in the list
String
public List<String> getRestrictedKeys()
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 restrictedKeys property.
For example, to add a new item, do as follows:
getRestrictedKeys().add(newItem);
Objects of the following type(s) are allowed in the list
String
public CustomPropertiesFieldConfig copy()
public CustomPropertiesFieldConfig copy(boolean isDeep)
protected CustomPropertiesFieldConfig copy(CustomPropertiesFieldConfig nobj, boolean isDeep)
public CustomPropertiesFieldConfig withBlacklistedKeys(String... newValues)
public CustomPropertiesFieldConfig withBlacklistedKeys(Collection<? extends String> newValues)
public CustomPropertiesFieldConfig withRestrictedKeys(String... newValues)
public CustomPropertiesFieldConfig withRestrictedKeys(Collection<? extends String> newValues)