public final class YSpecification extends java.lang.Object implements java.lang.Cloneable, YVerifiable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
_loaded |
static java.lang.String |
_unloaded |
Constructor and Description |
---|
YSpecification() |
YSpecification(java.lang.String specURI) |
Modifier and Type | Method and Description |
---|---|
void |
addDecomposition(YDecomposition decomposition) |
boolean |
equals(java.lang.Object other) |
java.lang.String |
getBetaVersion()
Deprecated.
since v2.0: use getSchemaVersion() instead
Gets the version number of this specification's schema (as opposed to the
version number of the specification itself).
|
java.lang.String |
getDataSchema() |
YDataValidator |
getDataValidator() |
YDecomposition |
getDecomposition(java.lang.String id) |
java.util.Set<YDecomposition> |
getDecompositions() |
java.lang.String |
getDocumentation() |
java.lang.String |
getID() |
YMetaData |
getMetaData() |
java.lang.String |
getName() |
java.lang.String |
getRestoredXML() |
YNet |
getRootNet() |
long |
getRowKey() |
YSchemaVersion |
getSchemaVersion() |
YSpecificationID |
getSpecificationID() |
java.lang.String |
getSpecVersion()
Gets the version number of this specification (as opposed to the
version number of the specification's schema).
|
java.lang.String |
getURI() |
int |
hashCode() |
YDecomposition |
removeDecomposition(java.lang.String decompositionID) |
void |
setBetaVersion(java.lang.String version)
Deprecated.
since v2.0: use setVersion() instead.
|
void |
setDocumentation(java.lang.String documentation) |
void |
setMetaData(YMetaData metaData) |
void |
setName(java.lang.String name) |
void |
setRootNet(YNet rootNet) |
void |
setRowKey(long key) |
void |
setSchema(java.lang.String schemaString)
Sets the data schema for this specification.
|
void |
setURI(java.lang.String uri) |
void |
setVersion(java.lang.String version) |
void |
setVersion(YSchemaVersion version) |
java.lang.String |
toXML() |
void |
verify(YVerificationHandler handler)
Internally verify the object against YAWL language semantics and
report any errors and/or warnings.
|
public static final java.lang.String _loaded
public static final java.lang.String _unloaded
public YSpecification()
public YSpecification(java.lang.String specURI)
public YNet getRootNet()
public void setRootNet(YNet rootNet)
public java.lang.String getBetaVersion()
public YSchemaVersion getSchemaVersion()
public java.lang.String getSpecVersion()
public void setBetaVersion(java.lang.String version)
version
- public void setVersion(java.lang.String version)
public void setVersion(YSchemaVersion version)
public void setSchema(java.lang.String schemaString) throws YSyntaxException
schemaString
- YSyntaxException
public YDataValidator getDataValidator()
public java.lang.String getDataSchema()
public java.lang.String toXML()
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getDocumentation()
public void setDocumentation(java.lang.String documentation)
public YDecomposition getDecomposition(java.lang.String id)
public void addDecomposition(YDecomposition decomposition)
public java.util.Set<YDecomposition> getDecompositions()
public YDecomposition removeDecomposition(java.lang.String decompositionID)
public java.lang.String getURI()
public void setURI(java.lang.String uri)
public java.lang.String getID()
public YSpecificationID getSpecificationID()
public void setMetaData(YMetaData metaData)
public YMetaData getMetaData()
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public long getRowKey()
public void setRowKey(long key)
public java.lang.String getRestoredXML()
public void verify(YVerificationHandler handler)
YVerifiable
verify
in interface YVerifiable
YVerificationMessage
Copyright © 2004-2014 The YAWL Foundation.