org.jclouds.softlayer.domain
Class Address

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

public class Address
extends Object
implements Comparable<Address>

Author:
Jason King
See Also:

Nested Class Summary
static class Address.Builder
           
 
Constructor Summary
Address(int id, String country, String state, String description)
           
 
Method Summary
static Address.Builder builder()
           
 int compareTo(Address arg0)
           
 boolean equals(Object obj)
           
 String getCountry()
           
 String getDescription()
           
 int getId()
           
 String getState()
           
 int hashCode()
           
 Address.Builder toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Address

public Address(int id,
               String country,
               String state,
               String description)
Method Detail

builder

public static Address.Builder builder()

compareTo

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

getId

public int getId()
Returns:
The unique id of the address.

getCountry

public String getCountry()
Returns:
The country of the address.

getState

public String getState()
Returns:
The state of the address.

getDescription

public String getDescription()
Returns:
The description of the address.

toBuilder

public Address.Builder toBuilder()

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-2011 jclouds. All Rights Reserved.