public class YSpecificationID extends java.lang.Object implements java.lang.Comparable<YSpecificationID>
Constructor and Description |
---|
YSpecificationID() |
YSpecificationID(java.lang.String uri) |
YSpecificationID(java.lang.String identifier,
java.lang.String version,
java.lang.String uri) |
YSpecificationID(java.lang.String identifier,
YSpecVersion version,
java.lang.String uri) |
YSpecificationID(WorkItemRecord wir) |
YSpecificationID(XNode node) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(YSpecificationID other) |
boolean |
equals(java.lang.Object obj) |
YSpecificationID |
fromFullString(java.lang.String s) |
YSpecificationID |
fromXNode(XNode node) |
java.lang.String |
getIdentifier() |
java.lang.String |
getKey() |
java.lang.String |
getUri() |
YSpecVersion |
getVersion() |
java.lang.String |
getVersionAsString() |
int |
hashCode() |
boolean |
hasMatchingIdentifier(YSpecificationID other) |
boolean |
isPreviousVersionOf(YSpecificationID other) |
boolean |
isValid() |
void |
setIdentifier(java.lang.String identifier) |
void |
setUri(java.lang.String n) |
void |
setVersion(java.lang.String ver) |
void |
setVersion(YSpecVersion ver) |
java.lang.String |
toFullString() |
java.lang.String |
toKeyString() |
java.util.Map<java.lang.String,java.lang.String> |
toMap() |
java.lang.String |
toString() |
java.lang.String |
toXML() |
XNode |
toXNode() |
public YSpecificationID()
public YSpecificationID(java.lang.String identifier, YSpecVersion version, java.lang.String uri)
public YSpecificationID(java.lang.String identifier, java.lang.String version, java.lang.String uri)
public YSpecificationID(WorkItemRecord wir)
public YSpecificationID(java.lang.String uri)
public YSpecificationID(XNode node)
public java.lang.String getIdentifier()
public java.lang.String getVersionAsString()
public YSpecVersion getVersion()
public java.lang.String getUri()
public java.lang.String getKey()
public void setIdentifier(java.lang.String identifier)
public void setVersion(java.lang.String ver)
public void setVersion(YSpecVersion ver)
public void setUri(java.lang.String n)
public boolean isValid()
public boolean isPreviousVersionOf(YSpecificationID other)
public boolean hasMatchingIdentifier(YSpecificationID other)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toKeyString()
public java.lang.String toFullString()
public YSpecificationID fromFullString(java.lang.String s) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public int compareTo(YSpecificationID other)
compareTo
in interface java.lang.Comparable<YSpecificationID>
public java.util.Map<java.lang.String,java.lang.String> toMap()
public XNode toXNode()
public YSpecificationID fromXNode(XNode node)
public java.lang.String toXML()
Copyright © 2004-2014 The YAWL Foundation.