org.jclouds.gogrid.domain
Class ServerImage

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

public class ServerImage
extends Object
implements Comparable<ServerImage>

Author:
Oleksiy Yarmula

Constructor Summary
ServerImage()
          A no-args constructor is required for deserialization
ServerImage(long id, String name, String friendlyName, String description, Option os, Option architecture, ServerImageType type, ServerImageState state, double price, String location, boolean active, boolean aPublic, Date createdTime, Date updatedTime, Set<BillingToken> billingTokens, Customer owner)
           
 
Method Summary
 int compareTo(ServerImage o)
           
 boolean equals(Object o)
           
 Option getArchitecture()
           
 Set<BillingToken> getBillingTokens()
           
 Date getCreatedTime()
           
 String getDescription()
           
 String getFriendlyName()
           
 long getId()
           
 String getLocation()
           
 String getName()
           
 Option getOs()
           
 Customer getOwner()
           
 double getPrice()
           
 ServerImageState getState()
           
 ServerImageType getType()
           
 Date getUpdatedTime()
           
 int hashCode()
           
 boolean isActive()
           
 boolean isPublic()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServerImage

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


ServerImage

public ServerImage(long id,
                   String name,
                   String friendlyName,
                   String description,
                   Option os,
                   Option architecture,
                   ServerImageType type,
                   ServerImageState state,
                   double price,
                   String location,
                   boolean active,
                   boolean aPublic,
                   Date createdTime,
                   Date updatedTime,
                   Set<BillingToken> billingTokens,
                   Customer owner)
Method Detail

getId

public long getId()

getName

public String getName()

getFriendlyName

public String getFriendlyName()

getDescription

public String getDescription()

getOs

public Option getOs()

getArchitecture

public Option getArchitecture()

getType

public ServerImageType getType()

getState

public ServerImageState getState()

getPrice

public double getPrice()

getLocation

public String getLocation()

isActive

public boolean isActive()

isPublic

public boolean isPublic()

getCreatedTime

public Date getCreatedTime()

getUpdatedTime

public Date getUpdatedTime()

getBillingTokens

public Set<BillingToken> getBillingTokens()

getOwner

public Customer getOwner()

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2012 jclouds. All Rights Reserved.