org.yawlfoundation.yawl.engine.interfce
Class SpecificationData

java.lang.Object
  extended by org.yawlfoundation.yawl.engine.interfce.SpecificationData

public class SpecificationData
extends Object

Just some summary data about a workflow specification.

Author:
Lachlan Aldred Date: 8/03/2004 Time: 12:16:02, Michael Adams - updated for v2.1

Constructor Summary
SpecificationData(YSpecificationID specID, String specificationName, String documentation, String status, YSchemaVersion version)
           
 
Method Summary
 void addAuthor(String author)
           
 void addInputParam(YParameter parameter)
           
 String getAsXML()
           
 String getAuthors()
           
 String getDataType(String typeName)
           
 String getDocumentation()
           
 String getExternalDataGateway()
           
 YSpecificationID getID()
           
 Map getInputParamMap()
           
 List<YParameter> getInputParams()
           
 String getMetaTitle()
           
 String getName()
           
 String getRootNetID()
           
 String getSchema()
           
 String getSchemaLibrary()
          If the specification contains a schema library this method returns the schema library as a string (in XML Schema format).
 YSchemaVersion getSchemaVersion()
           
 String getSpecIdentifier()
           
 String getSpecURI()
           
 String getSpecVersion()
           
 String getStatus()
           
 boolean hasExternalCaseDataGateway()
           
 boolean isSecondGenSchemaVersion()
           
 void setAuthors(String... authors)
           
 void setDataType(String nameSpaceURI, String typeName, String typeSpecification)
           
 void setExternalDataGateway(String gateway)
           
 void setMetaTitle(String title)
           
 void setRootNetID(String rootNetID)
           
 void setSchema(String schema)
           
 void setSchemaVersion(YSchemaVersion version)
           
 void setSpecAsXML(String specAsXML)
           
 void setSpecVersion(String version)
           
 boolean usesSimpleRootData()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpecificationData

public SpecificationData(YSpecificationID specID,
                         String specificationName,
                         String documentation,
                         String status,
                         YSchemaVersion version)
Method Detail

getStatus

public String getStatus()

getID

public YSpecificationID getID()

getName

public String getName()

getDocumentation

public String getDocumentation()

getAsXML

public String getAsXML()

setSpecAsXML

public void setSpecAsXML(String specAsXML)

getSchema

public String getSchema()

setSchema

public void setSchema(String schema)

addInputParam

public void addInputParam(YParameter parameter)

getInputParams

public List<YParameter> getInputParams()

getInputParamMap

public Map getInputParamMap()

setDataType

public void setDataType(String nameSpaceURI,
                        String typeName,
                        String typeSpecification)

getDataType

public String getDataType(String typeName)

getSchemaLibrary

public String getSchemaLibrary()
                        throws IOException,
                               org.jdom.JDOMException
If the specification contains a schema library this method returns the schema library as a string (in XML Schema format).

Returns:
schema library as a string.
Throws:
IOException
org.jdom.JDOMException

getSchemaVersion

public YSchemaVersion getSchemaVersion()

isSecondGenSchemaVersion

public boolean isSecondGenSchemaVersion()

getSpecURI

public String getSpecURI()

getSpecIdentifier

public String getSpecIdentifier()

setSchemaVersion

public void setSchemaVersion(YSchemaVersion version)

getSpecVersion

public String getSpecVersion()

setSpecVersion

public void setSpecVersion(String version)

getRootNetID

public String getRootNetID()

setRootNetID

public void setRootNetID(String rootNetID)

usesSimpleRootData

public boolean usesSimpleRootData()

getMetaTitle

public String getMetaTitle()

setMetaTitle

public void setMetaTitle(String title)

getAuthors

public String getAuthors()

setAuthors

public void setAuthors(String... authors)

addAuthor

public void addAuthor(String author)

getExternalDataGateway

public String getExternalDataGateway()

setExternalDataGateway

public void setExternalDataGateway(String gateway)

hasExternalCaseDataGateway

public boolean hasExternalCaseDataGateway()


Copyright © 2004-2012 The YAWL Foundation.