org.jclouds.vcloud.domain.internal
Class OrgImpl

java.lang.Object
  extended by org.jclouds.vcloud.domain.internal.ReferenceTypeImpl
      extended by org.jclouds.vcloud.domain.internal.OrgImpl
All Implemented Interfaces:
Comparable<ReferenceType>, Org, ReferenceType

public class OrgImpl
extends ReferenceTypeImpl
implements Org

Locations of resources in vCloud

Author:
Adrian Cole

Constructor Summary
OrgImpl(String name, String type, URI id, String fullName, String description, Map<String,ReferenceType> catalogs, Map<String,ReferenceType> vdcs, Map<String,ReferenceType> networks, ReferenceType tasksList, Iterable<Task> tasks)
           
 
Method Summary
 int compareTo(ReferenceType o)
           
 boolean equals(Object obj)
           
 Map<String,ReferenceType> getCatalogs()
           
 String getDescription()
          optional description
 String getFullName()
          full name of the organization
 Map<String,ReferenceType> getNetworks()
           
 List<Task> getTasks()
          read‐only container for Task elements.
 ReferenceType getTasksList()
          If there are any queued, running, or recently completed tasks owned by a member of the organization, it also contains a TasksList.
 Map<String,ReferenceType> getVDCs()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class org.jclouds.vcloud.domain.internal.ReferenceTypeImpl
getHref, getName, getType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jclouds.vcloud.domain.ReferenceType
getHref, getName, getType
 

Constructor Detail

OrgImpl

public OrgImpl(String name,
               String type,
               URI id,
               String fullName,
               String description,
               Map<String,ReferenceType> catalogs,
               Map<String,ReferenceType> vdcs,
               Map<String,ReferenceType> networks,
               @Nullable
               ReferenceType tasksList,
               Iterable<Task> tasks)
Method Detail

getFullName

public String getFullName()
Description copied from interface: Org
full name of the organization

Specified by:
getFullName in interface Org

getDescription

public String getDescription()
Description copied from interface: Org
optional description

Specified by:
getDescription in interface Org

getCatalogs

public Map<String,ReferenceType> getCatalogs()
Specified by:
getCatalogs in interface Org

getVDCs

public Map<String,ReferenceType> getVDCs()
Specified by:
getVDCs in interface Org

getNetworks

public Map<String,ReferenceType> getNetworks()
Specified by:
getNetworks in interface Org

getTasksList

public ReferenceType getTasksList()
Description copied from interface: Org
If there are any queued, running, or recently completed tasks owned by a member of the organization, it also contains a TasksList.

Specified by:
getTasksList in interface Org

getTasks

public List<Task> getTasks()
Description copied from interface: Org
read‐only container for Task elements. Each element in the container represents a queued, running, or failed task owned by this object.

Specified by:
getTasks in interface Org

hashCode

public int hashCode()
Overrides:
hashCode in class ReferenceTypeImpl

equals

public boolean equals(Object obj)
Overrides:
equals in class ReferenceTypeImpl

compareTo

public int compareTo(ReferenceType o)
Specified by:
compareTo in interface Comparable<ReferenceType>
Overrides:
compareTo in class ReferenceTypeImpl

toString

public String toString()
Overrides:
toString in class ReferenceTypeImpl


Copyright © 2009-2012 jclouds. All Rights Reserved.