use of org.eclipse.titan.common.product.ProductIdentity in project titan.EclipsePlug-ins by eclipse.
the class ModuleVersionAttribute method parse.
/**
* Convert the raw data.
*/
public final void parse() {
final String versionString = versionToken.getTtcnName();
if (isTemplate) {
if (!"RnXnn".equals(versionString)) {
getLocation().reportSemanticError("Version template must be exactly <RnXnn>");
}
// <RnXnn> counts as no version info, which satisfies
// all
versionNumber = new ProductIdentity();
return;
}
versionNumber = ProductIdentityHelper.getProductIdentity(versionString, getLocation());
}
Aggregations