org.jclouds.openstack.nova.v2_0.domain.zonescoped
Class ZoneAndId

java.lang.Object
  extended by org.jclouds.openstack.nova.v2_0.domain.zonescoped.ZoneAndId
Direct Known Subclasses:
FlavorInZone, ImageInZone, ServerInZone

public class ZoneAndId
extends Object

Author:
Adam Lowe

Field Summary
protected  String id
           
protected  String zoneId
           
 
Constructor Summary
protected ZoneAndId(String zoneId, String id)
           
 
Method Summary
 boolean equals(Object obj)
           
static ZoneAndId fromSlashEncoded(String id)
           
static ZoneAndId fromZoneAndId(String zoneId, String id)
           
 String getId()
           
 String getZone()
           
 int hashCode()
           
 String slashEncode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

zoneId

protected final String zoneId

id

protected final String id
Constructor Detail

ZoneAndId

protected ZoneAndId(String zoneId,
                    String id)
Method Detail

fromSlashEncoded

public static ZoneAndId fromSlashEncoded(String id)

fromZoneAndId

public static ZoneAndId fromZoneAndId(String zoneId,
                                      String id)

slashEncode

public String slashEncode()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

getZone

public String getZone()

getId

public String getId()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2012 jclouds. All Rights Reserved.