nl.cloudfarming.client.area.field.shape
Class Shape.Builder

java.lang.Object
  extended by nl.cloudfarming.client.area.field.shape.Shape.Builder
Enclosing class:
Shape

public static class Shape.Builder
extends Object

Shape builder class usage: Shape shape = new Shape.Builder().setName("someName").build();


Constructor Summary
Shape.Builder()
           
 
Method Summary
 Shape build()
           
 Shape.Builder setName(String name)
           
 Shape.Builder setType(Shape.ShapeType type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Shape.Builder

public Shape.Builder()
Method Detail

setName

public Shape.Builder setName(String name)

setType

public Shape.Builder setType(Shape.ShapeType type)

build

public Shape build()


Copyright © 2011. All Rights Reserved.