public class DataSchemaBuilder
extends java.lang.Object
| Constructor and Description | 
|---|
| DataSchemaBuilder(java.util.Map<java.lang.String,Element> schemaMap)The constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | build(SpecificationData specData)Constructs the expanded data schema, using the user-defined-types map passed
 in via the constructor | 
| java.lang.String | build(TaskInformation taskInfo)Constructs the expanded data schema, using the user-defined-types map passed
 in via the constructor | 
| java.lang.String | buildSchema(java.lang.String rootName,
           java.util.List<? extends YVariable> parameters)Constructs the expanded data schema, using the user-defined-types map passed
 in via the constructor. | 
| java.lang.String | buildSchema(java.lang.String rootName,
           java.lang.String varName,
           java.lang.String dataType)Constructs a data schema for a single variable name and data type | 
public DataSchemaBuilder(java.util.Map<java.lang.String,Element> schemaMap)
schemaMap - a map of user defined types of this particular specificationpublic java.lang.String build(SpecificationData specData)
specData - the SpecificationData object for the spec to construct a schema forpublic java.lang.String build(TaskInformation taskInfo)
taskInfo - the TaskInformation object for the task to construct a schema forpublic java.lang.String buildSchema(java.lang.String rootName,
                                    java.util.List<? extends YVariable> parameters)
rootName - the name of the root element (task or root net name)parameters - the List of parameters to build the schema forpublic java.lang.String buildSchema(java.lang.String rootName,
                                    java.lang.String varName,
                                    java.lang.String dataType)
rootName - the name to give to the root elementvarName - the name to give to the data elementdataType - the datatype for the data elementCopyright © 2004-2014 The YAWL Foundation.