diff options
Diffstat (limited to 'catalog-model/src/main/java/org/openecomp/sdc/be/model/tosca/validators/PropertyTypeValidator.java')
-rw-r--r-- | catalog-model/src/main/java/org/openecomp/sdc/be/model/tosca/validators/PropertyTypeValidator.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/catalog-model/src/main/java/org/openecomp/sdc/be/model/tosca/validators/PropertyTypeValidator.java b/catalog-model/src/main/java/org/openecomp/sdc/be/model/tosca/validators/PropertyTypeValidator.java index 35862148f9..f0cf225c0a 100644 --- a/catalog-model/src/main/java/org/openecomp/sdc/be/model/tosca/validators/PropertyTypeValidator.java +++ b/catalog-model/src/main/java/org/openecomp/sdc/be/model/tosca/validators/PropertyTypeValidator.java @@ -30,16 +30,16 @@ public interface PropertyTypeValidator { boolean isValid(String value, String innerType); /* - * The value format should be validated according to the “Property Type�? : - * “integer�? - valid tag:yaml.org,2002:int , the number base 8,10,18 should + * The value format should be validated according to the "Property Type" : + * "integer" - valid tag:yaml.org,2002:int , the number base 8,10,18 should * be handled ( hint : to validate by calling parseInt( * s,10)/parseInt(s,16)/parseInt(s,8) or just regexp [-+]?[0-9]+ for Base 10 * , [-+]?0[0-7]+ for Base 8 , [-+]?0x[0-9a-fA-F]+ for Base 16 * - * “float�? - valid tag:yaml.org,2002:float , parseFloat() “boolean�? - valid - * tag:yaml.org,2002:bool : can be only “true�? or “false�? ( upper case + * "float" - valid tag:yaml.org,2002:float , parseFloat() "boolean" - valid + * tag:yaml.org,2002:bool : can be only "true" or "false" ( upper case * characters should be converted to lower case : TRUE ->true, True->true - * “string�? - valid tag:yaml.org,2002:str and limited to 100 chars. + * "string" - valid tag:yaml.org,2002:str and limited to 100 chars. * */ |