de.akquinet.jbosscc.needle.db.testdata
Interface TestdataBuilder<T>

Type Parameters:
T - the type to build
All Known Implementing Classes:
AbstractTestdataBuilder

public interface TestdataBuilder<T>

Interface for a concrete TestDataBuilder implementation.


Method Summary
 T build()
          Creates a new instance of type T
 T buildAndSave()
          Creates a new instance of type T and saves the instance.
 

Method Detail

build

T build()
Creates a new instance of type T

Returns:
a new instance of type T

buildAndSave

T buildAndSave()
Creates a new instance of type T and saves the instance.

Returns:
a new persisted instance of type T


Copyright © 2013 akquinet AG. All Rights Reserved.