org.jclouds.gogrid.domain
Class Customer.Builder<T extends Customer.Builder<T>>

java.lang.Object
  extended by org.jclouds.gogrid.domain.Customer.Builder<T>
Enclosing class:
Customer

public abstract static class Customer.Builder<T extends Customer.Builder<T>>
extends Object


Field Summary
protected  long id
           
protected  String name
           
 
Constructor Summary
Customer.Builder()
           
 
Method Summary
 Customer build()
           
 T fromCustomer(Customer in)
           
 T id(long id)
           
 T name(String name)
           
protected abstract  T self()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected long id

name

protected String name
Constructor Detail

Customer.Builder

public Customer.Builder()
Method Detail

self

protected abstract T self()

id

public T id(long id)
See Also:
Customer.getId()

name

public T name(String name)
See Also:
Customer.getName()

build

public Customer build()

fromCustomer

public T fromCustomer(Customer in)


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