public static void resolveValueType(DefinitionsService definitionsService, PropertyType propertyType) { if (propertyType.getValueType() == null) { ValueType valueType = definitionsService.getValueType(propertyType.getValueTypeId()); if (valueType != null) { propertyType.setValueType(valueType); } } }
public static void resolveValueType(DefinitionsService definitionsService, PropertyType propertyType) { if (propertyType.getValueType() == null) { ValueType valueType = definitionsService.getValueType(propertyType.getValueTypeId()); if (valueType != null) { propertyType.setValueType(valueType); } } }