org.jclouds.softlayer.domain
Class Address

java.lang.Object
  extended by org.jclouds.softlayer.domain.Address

public class Address
extends Object

Class Address

See Also:

Nested Class Summary
static class Address.Builder<T extends Address.Builder<T>>
           
 
Constructor Summary
protected Address(int id, String country, String state, String description, int accountId, String address, String city, String contactName, int isActive, int locationId, String postalCode)
           
 
Method Summary
static Address.Builder<?> builder()
           
 boolean equals(Object obj)
           
 int getAccountId()
           
 String getAddress1()
           
 String getCity()
           
 String getContactName()
           
 String getCountry()
           
 String getDescription()
           
 int getId()
           
 int getLocationId()
           
 String getPostalCode()
           
 String getState()
           
 int hashCode()
           
 int isActive()
           
 Address.Builder<?> toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Address

@ConstructorProperties(value={"id","country","state","description","accountId","address1","city","contactName","isActive","locationId","postalCode"})
protected Address(int id,
                                             String country,
                                             @Nullable
                                             String state,
                                             @Nullable
                                             String description,
                                             int accountId,
                                             @Nullable
                                             String address,
                                             @Nullable
                                             String city,
                                             @Nullable
                                             String contactName,
                                             int isActive,
                                             int locationId,
                                             @Nullable
                                             String postalCode)
Method Detail

builder

public static Address.Builder<?> builder()

toBuilder

public Address.Builder<?> toBuilder()

getId

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

getCountry

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

getState

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

getDescription

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

getAccountId

@Nullable
public int getAccountId()
Returns:
The id of the account.

getAddress1

@Nullable
public String getAddress1()
Returns:
The value of the address.

getCity

@Nullable
public String getCity()
Returns:
The name of the city.

getContactName

@Nullable
public String getContactName()
Returns:
The name of the contact.

isActive

@Nullable
public int isActive()
Returns:
The name of the contact.

getLocationId

@Nullable
public int getLocationId()
Returns:
The id of the location.

getPostalCode

@Nullable
public String getPostalCode()
Returns:
The postal code of the address.

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-2014 The Apache Software Foundation. All Rights Reserved.