java.lang.Object
com.labs64.netlicensing.schema.context.List
All Implemented Interfaces:
Serializable

public class List extends Object implements Serializable
A list element groups properties and nested lists

Java class for list complex type

.

The following schema fragment specifies the expected content contained within this class.


 <complexType name="list">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="property" type="{http://netlicensing.labs64.com/schema/context}property" maxOccurs="unbounded" minOccurs="0"/>
         <element name="list" type="{http://netlicensing.labs64.com/schema/context}list" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • property

      protected List<Property> property
      Simple property list element
    • list

      protected List<List> list
      Nested list
    • name

      protected String name
      Name of the list. Identifies this list if multiple lists are present at the same level.
  • Constructor Details

    • List

      public List()
      Default no-arg constructor
    • List

      public List(List<Property> property, List<List> list, String name)
      Fully-initialising value constructor
  • Method Details

    • getProperty

      public List<Property> getProperty()
      Simple property list element Gets the value of the property property.

      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 property property.

      For example, to add a new item, do as follows:

       getProperty().add(newItem);
       

      Objects of the following type(s) are allowed in the list Property

      Returns:
      The value of the property property.
    • getList

      public List<List> getList()
      Nested list Gets the value of the list property.

      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 list property.

      For example, to add a new item, do as follows:

       getList().add(newItem);
       

      Objects of the following type(s) are allowed in the list List

      Returns:
      The value of the list property.
    • getName

      public String getName()
      Name of the list. Identifies this list if multiple lists are present at the same level.
      Returns:
      possible object is String
    • setName

      public void setName(String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String
      See Also: