org.jclouds.trmk.vcloud_0_8.domain.internal
Class OrgImpl

java.lang.Object
  extended by org.jclouds.trmk.vcloud_0_8.domain.internal.ReferenceTypeImpl
      extended by org.jclouds.trmk.vcloud_0_8.domain.internal.OrgImpl
All Implemented Interfaces:
Comparable<ReferenceType>, Org, ReferenceType
Direct Known Subclasses:
ECloudOrgImpl

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 description, Map<String,ReferenceType> catalogs, Map<String,ReferenceType> vdcs, Map<String,ReferenceType> tasksLists, ReferenceType keys)
           
 
Method Summary
 int compareTo(ReferenceType o)
           
 boolean equals(Object obj)
           
 Map<String,ReferenceType> getCatalogs()
           
 String getDescription()
          optional description
 ReferenceType getKeys()
           
 Map<String,ReferenceType> getTasksLists()
          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.trmk.vcloud_0_8.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.trmk.vcloud_0_8.domain.ReferenceType
getHref, getName, getType
 

Constructor Detail

OrgImpl

public OrgImpl(String name,
               String type,
               URI id,
               String description,
               Map<String,ReferenceType> catalogs,
               Map<String,ReferenceType> vdcs,
               Map<String,ReferenceType> tasksLists,
               ReferenceType keys)
Method Detail

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

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

getTasksLists

public Map<String,ReferenceType> getTasksLists()
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. there are multiple tasks lists in a terremark org

Specified by:
getTasksLists in interface Org

getKeys

public ReferenceType getKeys()
Specified by:
getKeys in interface Org


Copyright © 2009-2012 jclouds. All Rights Reserved.