public class YSpecVersion extends java.lang.Object implements java.lang.Comparable<YSpecVersion>
Constructor and Description |
---|
YSpecVersion() |
YSpecVersion(int major,
int minor) |
YSpecVersion(java.lang.String version) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(YSpecVersion other) |
boolean |
equals(java.lang.Object other) |
boolean |
equalsMajorVersion(YSpecVersion other) |
boolean |
equalsMinorVersion(YSpecVersion other) |
int |
getMajorVersion() |
int |
getMinorVersion() |
java.lang.String |
getVersion() |
int |
hashCode() |
java.lang.String |
majorIncrement() |
java.lang.String |
majorRollback() |
java.lang.String |
minorIncrement() |
java.lang.String |
minorRollback() |
java.lang.String |
setVersion(int major,
int minor) |
java.lang.String |
setVersion(java.lang.String version) |
double |
toDouble() |
java.lang.String |
toString() |
public YSpecVersion()
public YSpecVersion(int major, int minor)
public YSpecVersion(java.lang.String version)
public java.lang.String setVersion(int major, int minor)
public java.lang.String setVersion(java.lang.String version)
public java.lang.String getVersion()
public double toDouble()
public java.lang.String toString()
toString
in class java.lang.Object
public int getMajorVersion()
public int getMinorVersion()
public java.lang.String minorIncrement()
public java.lang.String majorIncrement()
public java.lang.String minorRollback()
public java.lang.String majorRollback()
public int compareTo(YSpecVersion other)
compareTo
in interface java.lang.Comparable<YSpecVersion>
public boolean equalsMajorVersion(YSpecVersion other)
public boolean equalsMinorVersion(YSpecVersion other)
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2004-2014 The YAWL Foundation.