class WineryVersion implements Comparable<WineryVersion> {

    @Override
    public String toString() {
        String versionString = componentVersion;

        if (this.wineryVersion > 0) {
            versionString += (StringUtils.isEmpty(versionString) ? "" : WINERY_VERSION_SEPARATOR)
                + WINERY_VERSION_PREFIX + wineryVersion;

            if (this.workInProgressVersion > 0) {
                versionString += WINERY_VERSION_SEPARATOR + WINERY_WIP_VERSION_PREFIX + this.workInProgressVersion;
            }
        }

        return versionString;
    }

    public  WineryVersion();
    public  WineryVersion(String componentVersion, int wineryVersion, int workInProgressVersion);

}