public class SpecificationData
extends java.lang.Object
Constructor and Description |
---|
SpecificationData(YSpecificationID specID,
java.lang.String specificationName,
java.lang.String documentation,
java.lang.String status,
YSchemaVersion version) |
Modifier and Type | Method and Description |
---|---|
void |
addAuthor(java.lang.String author) |
void |
addInputParam(YParameter parameter) |
java.lang.String |
getAsXML() |
java.lang.String |
getAuthors() |
java.lang.String |
getDataType(java.lang.String typeName) |
java.lang.String |
getDocumentation() |
java.lang.String |
getExternalDataGateway() |
YSpecificationID |
getID() |
java.util.Map |
getInputParamMap() |
java.util.List<YParameter> |
getInputParams() |
java.lang.String |
getMetaTitle() |
java.lang.String |
getName() |
java.lang.String |
getRootNetID() |
java.lang.String |
getSchema() |
java.lang.String |
getSchemaLibrary()
If the specification contains a schema library this method returns the
schema library as a string (in XML Schema format).
|
YSchemaVersion |
getSchemaVersion() |
java.lang.String |
getSpecIdentifier() |
java.lang.String |
getSpecURI() |
java.lang.String |
getSpecVersion() |
java.lang.String |
getStatus() |
boolean |
hasExternalCaseDataGateway() |
boolean |
isSecondGenSchemaVersion() |
void |
setAuthors(java.lang.String... authors) |
void |
setDataType(java.lang.String nameSpaceURI,
java.lang.String typeName,
java.lang.String typeSpecification) |
void |
setExternalDataGateway(java.lang.String gateway) |
void |
setMetaTitle(java.lang.String title) |
void |
setRootNetID(java.lang.String rootNetID) |
void |
setSchema(java.lang.String schema) |
void |
setSchemaVersion(YSchemaVersion version) |
void |
setSpecAsXML(java.lang.String specAsXML) |
void |
setSpecVersion(java.lang.String version) |
boolean |
usesSimpleRootData() |
public SpecificationData(YSpecificationID specID, java.lang.String specificationName, java.lang.String documentation, java.lang.String status, YSchemaVersion version)
public java.lang.String getStatus()
public YSpecificationID getID()
public java.lang.String getName()
public java.lang.String getDocumentation()
public java.lang.String getAsXML()
public void setSpecAsXML(java.lang.String specAsXML)
public java.lang.String getSchema()
public void setSchema(java.lang.String schema)
public void addInputParam(YParameter parameter)
public java.util.List<YParameter> getInputParams()
public java.util.Map getInputParamMap()
public void setDataType(java.lang.String nameSpaceURI, java.lang.String typeName, java.lang.String typeSpecification)
public java.lang.String getDataType(java.lang.String typeName)
public java.lang.String getSchemaLibrary() throws java.io.IOException, JDOMException
java.io.IOException
JDOMException
public YSchemaVersion getSchemaVersion()
public boolean isSecondGenSchemaVersion()
public java.lang.String getSpecURI()
public java.lang.String getSpecIdentifier()
public void setSchemaVersion(YSchemaVersion version)
public java.lang.String getSpecVersion()
public void setSpecVersion(java.lang.String version)
public java.lang.String getRootNetID()
public void setRootNetID(java.lang.String rootNetID)
public boolean usesSimpleRootData()
public java.lang.String getMetaTitle()
public void setMetaTitle(java.lang.String title)
public java.lang.String getAuthors()
public void setAuthors(java.lang.String... authors)
public void addAuthor(java.lang.String author)
public java.lang.String getExternalDataGateway()
public void setExternalDataGateway(java.lang.String gateway)
public boolean hasExternalCaseDataGateway()
Copyright © 2004-2014 The YAWL Foundation.