ch.sahits.codegen.model
Class ImmutableObjectFactory

java.lang.Object
  extended by ch.sahits.codegen.model.ImmutableObjectFactory

public final class ImmutableObjectFactory
extends java.lang.Object

This is a Builder factory for builders for immutable objects. The specific builder is defined through the specific builder interface. The following interfaces are supported:

Since:
1.2.0
Author:
Andi Hotz, Sahits GmbH

Constructor Summary
ImmutableObjectFactory()
           
 
Method Summary
static IBuilder newBuilder(java.lang.Class intervace)
          Create a Builder instance for the defined IBuilder interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImmutableObjectFactory

public ImmutableObjectFactory()
Method Detail

newBuilder

public static IBuilder newBuilder(java.lang.Class intervace)
Create a Builder instance for the defined IBuilder interface.

Parameters:
intervace - interface for which a Builder instance should be generated
Returns:
IBuilder instance