public class PolicyList
extends java.lang.Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="Policy" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="ParameterList"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="Parameter" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="Name" use="required"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <minLength value="1"/> <maxLength value="255"/> </restriction> </simpleType> </attribute> <attribute name="Value" use="required"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <minLength value="1"/> <maxLength value="255"/> </restriction> </simpleType> </attribute> <anyAttribute/> </restriction> </complexContent> </complexType> </element> </sequence> </restriction> </complexContent> </complexType> </element> <element name="LogicalDeviceList"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="LogicalDevice" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="ParameterList"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="Parameter" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="Name" use="required"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <minLength value="1"/> <maxLength value="255"/> </restriction> </simpleType> </attribute> <attribute name="Value" use="required"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <minLength value="1"/> <maxLength value="255"/> </restriction> </simpleType> </attribute> <anyAttribute/> </restriction> </complexContent> </complexType> </element> </sequence> </restriction> </complexContent> </complexType> </element> </sequence> <attribute name="LogicalDeviceId" use="required"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <minLength value="1"/> <maxLength value="127"/> </restriction> </simpleType> </attribute> <anyAttribute/> </restriction> </complexContent> </complexType> </element> </sequence> </restriction> </complexContent> </complexType> </element> <any maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="Id" use="required"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <minLength value="36"/> <maxLength value="36"/> </restriction> </simpleType> </attribute> <attribute name="Name" use="required"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <minLength value="1"/> <maxLength value="255"/> </restriction> </simpleType> </attribute> <attribute name="DeviceDefinitionId" use="required"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <minLength value="36"/> <maxLength value="36"/> </restriction> </simpleType> </attribute> <anyAttribute/> </restriction> </complexContent> </complexType> </element> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected java.util.List<Policy> |
policy |
Constructor and Description |
---|
PolicyList() |
protected java.util.List<Policy> policy
public java.util.List<Policy> getPolicy()
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 policy property.
For example, to add a new item, do as follows:
getPolicy().add(newItem);
Objects of the following type(s) are allowed in the list
Policy