public class Rule extends ValidationRule implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
Rule.Option
Java class for anonymous complex type.
|
Modifier and Type | Field and Description |
---|---|
protected String |
name |
protected List<Rule.Option> |
option |
protected String |
type |
message
Constructor and Description |
---|
Rule() |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Gets the value of the name property.
|
List<Rule.Option> |
getOption()
Gets the value of the option property.
|
String |
getType()
Gets the value of the type property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setType(String value)
Sets the value of the type property.
|
getMessage, setMessage
protected List<Rule.Option> option
protected String type
protected String name
public List<Rule.Option> getOption()
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 option property.
For example, to add a new item, do as follows:
getOption().add(newItem);
Objects of the following type(s) are allowed in the list
Rule.Option
public String getType()
String
public void setType(String value)
value
- allowed object is
String
public String getName()
String
Copyright © 2011–2019 aiticon GmbH. All rights reserved.