|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jgpruitt.datamodeler.core.ModelBuilder
public class ModelBuilder
A Fluent Builder class for constructing Model objects.
Model
Field Summary | |
---|---|
protected Model |
model
|
Constructor Summary | |
---|---|
ModelBuilder()
Constructor |
Method Summary | |
---|---|
Model |
done()
Gets the Model that was constructed by the builder |
SchemaBuilder |
schema(java.lang.String name)
Adds a Schema by the given name to the Model and returns a SchemaBuilder for the new Schema. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final Model model
Constructor Detail |
---|
public ModelBuilder()
Method Detail |
---|
public Model done()
public SchemaBuilder schema(java.lang.String name)
name
- the name of the new Schema
SchemaBuilder
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |