public class Restrictions extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected List<Restriction> |
restriction |
Constructor and Description |
---|
Restrictions() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
List<Restriction> |
getRestriction()
Gets the value of the restriction property.
|
int |
hashCode() |
protected List<Restriction> restriction
public List<Restriction> getRestriction()
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 restriction property.
For example, to add a new item, do as follows:
getRestriction().add(newItem);
Objects of the following type(s) are allowed in the list
Restriction
Copyright © 2020 JBoss by Red Hat. All rights reserved.