org.vrprep.model.instance
Class Instance.Resources

java.lang.Object
  extended by org.vrprep.model.instance.Instance.Resources
Enclosing class:
Instance

public static class Instance.Resources
extends 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="resource" maxOccurs="unbounded">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
                 <attribute name="renewable" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
                 <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class Instance.Resources.Resource
          Java class for anonymous complex type.
 
Field Summary
protected  List<Instance.Resources.Resource> resource
           
 
Constructor Summary
Instance.Resources()
           
 
Method Summary
 List<Instance.Resources.Resource> getResource()
          Gets the value of the resource property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

resource

protected List<Instance.Resources.Resource> resource
Constructor Detail

Instance.Resources

public Instance.Resources()
Method Detail

getResource

public List<Instance.Resources.Resource> getResource()
Gets the value of the resource 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 resource property.

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

    getResource().add(newItem);
 

Objects of the following type(s) are allowed in the list Instance.Resources.Resource



Copyright © 2014 VRP-REP. All rights reserved.