org.jclouds.gogrid.domain
Class Customer

java.lang.Object
  extended by org.jclouds.gogrid.domain.Customer

public class Customer
extends Object

Class Customer


Nested Class Summary
static class Customer.Builder<T extends Customer.Builder<T>>
           
 
Constructor Summary
protected Customer(long id, String name)
           
 
Method Summary
static Customer.Builder<?> builder()
           
 boolean equals(Object obj)
           
 long getId()
           
 String getName()
           
 int hashCode()
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 Customer.Builder<?> toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Customer

@ConstructorProperties(value={"id","name"})
protected Customer(long id,
                                              String name)
Method Detail

builder

public static Customer.Builder<?> builder()

toBuilder

public Customer.Builder<?> toBuilder()

getId

public long getId()

getName

public String getName()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

string

protected com.google.common.base.Objects.ToStringHelper string()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.