class WorkflowVersion {

    public boolean isLargerThan(WorkflowVersion other) {
        if (this.majorVersion > other.majorVersion)
            return true;
        if (this.majorVersion == other.majorVersion && this.minorVersion > other.minorVersion)
            return true;
        if (this.majorVersion == other.majorVersion && this.minorVersion == other.minorVersion && this.patchLevel > other.patchLevel)
            return true;
        return false;
    }

    public  WorkflowVersion(long majorVersion, long minorVersion, long patchLevel);

}