public class Rules
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
group |
protected java.lang.String |
key |
protected java.util.List<Rule> |
rule |
Constructor and Description |
---|
Rules()
Creates a new
Rules instance. |
Rules(Rules o)
Creates a new
Rules instance by deeply copying a given Rules instance. |
Modifier and Type | Method and Description |
---|---|
Rules |
clone()
Creates and returns a deep copy of this object.
|
java.lang.String |
getGroup()
Key used to group rules and root urls.
|
java.lang.String |
getKey()
How to interpret these rules.
|
java.util.List<Rule> |
getRule()
Gets the value of the rule property.
|
void |
setGroup(java.lang.String value)
Sets the value of the group property.
|
void |
setKey(java.lang.String value)
Sets the value of the key property.
|
Rules |
withGroup(java.lang.String value) |
Rules |
withKey(java.lang.String value) |
Rules |
withRule(java.util.Collection<Rule> values) |
Rules |
withRule(Rule... values) |
protected java.util.List<Rule> rule
protected java.lang.String key
protected java.lang.String group
public Rules()
Rules
instance.public Rules(Rules o)
Rules
instance by deeply copying a given Rules
instance.o
- The instance to copy.java.lang.NullPointerException
- if o
is null
.public java.util.List<Rule> getRule()
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 rule property.
For example, to add a new item, do as follows:
getRule().add(newItem);
Objects of the following type(s) are allowed in the list
Rule
public java.lang.String getKey()
String
public void setKey(java.lang.String value)
value
- allowed object is
String
public java.lang.String getGroup()
String
public void setGroup(java.lang.String value)
value
- allowed object is
String
public Rules withKey(java.lang.String value)
public Rules withGroup(java.lang.String value)
public Rules clone()
clone
in class java.lang.Object
Copyright © 2021 Dassault Systèmes, All Rights Reserved.