org.jclouds.cloudstack.domain
Class OSType

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

public class OSType
extends Object
implements Comparable<OSType>

Author:
Adrian Cole

Nested Class Summary
static class OSType.Builder
           
 
Constructor Summary
OSType(long id, long OSCategoryId, String description)
           
 
Method Summary
static OSType.Builder builder()
           
 int compareTo(OSType arg0)
           
 boolean equals(Object obj)
           
 String getDescription()
           
 long getId()
           
 long getOSCategoryId()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OSType

public OSType(long id,
              long OSCategoryId,
              String description)
Method Detail

builder

public static OSType.Builder builder()

getId

public long getId()
Returns:
the ID of the OS type

getOSCategoryId

public long getOSCategoryId()
Returns:
the ID of the OS category

getDescription

public String getDescription()
Returns:
the name/description of the OS type

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

toString

public String toString()
Overrides:
toString in class Object

compareTo

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


Copyright © 2009-2012 jclouds. All Rights Reserved.