public interface ModelBuilder
This interface only defines a common build()
method which is
used to return an instance of the object once state has been set on the
builder to a point where construction of an object instance is deemed
acceptable by the client code. Definition of type-specific setter methods
are defined by the classes which implement this interface.
This version of the builder pattern is proposed by Joshua Bloch in his book "Effective Java". See "Effective Java" 2nd ed. page 15 for more information.
Object build()
Copyright © 2005-2015 The Kuali Foundation. All Rights Reserved.