org.jclouds.gogrid.domain
Class Option

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

public class Option
extends Object
implements Comparable<Option>

Author:
Oleksiy Yarmula

Constructor Summary
Option()
          A no-args constructor is required for deserialization
Option(Long id)
           
Option(Long id, String name, String description)
           
Option(String name)
           
 
Method Summary
 int compareTo(Option o)
           
 boolean equals(Object o)
           
 String getDescription()
           
 long getId()
           
 String getName()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Option

public Option()
A no-args constructor is required for deserialization


Option

public Option(Long id)

Option

public Option(String name)

Option

public Option(Long id,
              String name,
              String description)
Method Detail

getId

public long getId()

getName

public String getName()

getDescription

public String getDescription()

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(Option o)
Specified by:
compareTo in interface Comparable<Option>

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2011 jclouds. All Rights Reserved.