org.jclouds.vcloud.director.v1_5.domain
Class References

java.lang.Object
  extended by org.jclouds.vcloud.director.v1_5.domain.Resource
      extended by org.jclouds.vcloud.director.v1_5.domain.query.ContainerType
          extended by org.jclouds.vcloud.director.v1_5.domain.References

public class References
extends ContainerType

This is the container for returned elements in referenceView

 <complexType name="References">
   <complexContent>
     <extension base="{http://www.vmware.com/vcloud/v1.5}ContainerType">
       <sequence>
         <element ref="{http://www.vmware.com/vcloud/v1.5}Reference" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <anyAttribute processContents='lax' namespace='##other'/>
     </extension>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class References.Builder<T extends References.Builder<T>>
           
 
Field Summary
protected  Set<Reference> references
           
 
Fields inherited from class org.jclouds.vcloud.director.v1_5.domain.Resource
logger
 
Method Summary
static References.Builder<?> builder()
           
 boolean equals(Object o)
           
 Set<Reference> getReferences()
          Gets the value of the reference property.
 int hashCode()
           
 com.google.common.base.Objects.ToStringHelper string()
           
 References.Builder<?> toBuilder()
           
 
Methods inherited from class org.jclouds.vcloud.director.v1_5.domain.query.ContainerType
getName, getPage, getPageSize, getTotal
 
Methods inherited from class org.jclouds.vcloud.director.v1_5.domain.Resource
clone, getHref, getLinks, getType, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

references

protected Set<Reference> references
Method Detail

builder

public static References.Builder<?> builder()

toBuilder

public References.Builder<?> toBuilder()
Overrides:
toBuilder in class ContainerType

getReferences

public Set<Reference> getReferences()
Gets the value of the reference 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 reference property.

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

    getReference().add(newItem);
 

Objects of the following type(s) are allowed in the list JAXBElement<ReferenceType>


equals

public boolean equals(Object o)
Overrides:
equals in class ContainerType

hashCode

public int hashCode()
Overrides:
hashCode in class ContainerType

string

public com.google.common.base.Objects.ToStringHelper string()
Overrides:
string in class ContainerType


Copyright © 2009-2012 jclouds. All Rights Reserved.