We have this code already in MetaDataUtil.encodeVersion(String) which gives you back an encoded int that you can compare against another one for the version being >=. Would you mind using that?