org.jclouds.cloudsigma.domain
Class Item

java.lang.Object
  extended by org.jclouds.cloudsigma.domain.Item
Direct Known Subclasses:
Drive, Server

public class Item
extends Object

Author:
Adrian Cole

Nested Class Summary
static class Item.Builder
           
 
Field Summary
protected  String name
           
protected  Set<String> use
           
protected  String uuid
           
 
Constructor Summary
Item(String uuid, String name, Iterable<String> use)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getName()
           
 Set<String> getUse()
           
 String getUuid()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

uuid

@Nullable
protected final String uuid

name

protected final String name

use

protected final Set<String> use
Constructor Detail

Item

public Item(@Nullable
            String uuid,
            String name,
            Iterable<String> use)
Method Detail

getUuid

@Nullable
public String getUuid()
Returns:
uuid of the item.

getName

public String getName()
Returns:
name of the item

getUse

public Set<String> getUse()
Returns:
list of use

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


Copyright © 2009-2012 jclouds. All Rights Reserved.