Package net.officefloor.model.generate
Class ModelGenerator
- java.lang.Object
-
- net.officefloor.model.generate.ModelGenerator
-
public class ModelGenerator extends java.lang.Object
Generates the Model.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description ModelGenerator(ModelMetaData metaData, GraphNodeMetaData graphNode)
Initiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModelFile
generateModel(ModelContext context)
Generates the Model.void
removeConnectionMethod()
Remove connection method.
-
-
-
Constructor Detail
-
ModelGenerator
public ModelGenerator(ModelMetaData metaData, GraphNodeMetaData graphNode)
Initiate.- Parameters:
metaData
- Meta-data of the Model.graphNode
-GraphNodeMetaData
for creating the Model.
-
-
Method Detail
-
generateModel
public ModelFile generateModel(ModelContext context) throws java.lang.Exception
Generates the Model.- Parameters:
context
- Context to create the Model.- Returns:
ModelFile
for the Model.- Throws:
java.lang.Exception
- If fail.
-
removeConnectionMethod
public void removeConnectionMethod() throws java.lang.Exception
Remove connection method.- Throws:
java.lang.Exception
- If fails to create the remove connectionMethod
.
-
-