org.jclouds.cloudstack.domain
Class Domain

java.lang.Object
  extended by org.jclouds.cloudstack.domain.Domain
All Implemented Interfaces:
Comparable<Domain>

public class Domain
extends Object
implements Comparable<Domain>

Representation of the API domain response

Author:
Andrei Savu

Nested Class Summary
static class Domain.Builder
           
 
Constructor Summary
Domain(long id, boolean hasChild, long level, String name, String networkDomain, long parentDomainId, String parentDomainName)
           
 
Method Summary
static Domain.Builder builder()
           
 int compareTo(Domain arg0)
           
 boolean equals(Object o)
           
 long getId()
           
 long getLevel()
           
 String getName()
           
 String getNetworkDomain()
           
 long getParentDomainId()
           
 String getParentDomainName()
           
 boolean hasChild()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Domain

public Domain(long id,
              boolean hasChild,
              long level,
              String name,
              String networkDomain,
              long parentDomainId,
              String parentDomainName)
Method Detail

builder

public static Domain.Builder builder()

getId

public long getId()

hasChild

public boolean hasChild()

getLevel

public long getLevel()

getName

public String getName()

getNetworkDomain

public String getNetworkDomain()

getParentDomainId

public long getParentDomainId()

getParentDomainName

public String getParentDomainName()

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

compareTo

public int compareTo(Domain arg0)
Specified by:
compareTo in interface Comparable<Domain>


Copyright © 2009-2012 jclouds. All Rights Reserved.