Fixed toString

This commit is contained in:
Luca Frosini 2024-11-13 11:48:02 +01:00
parent 4d0ffc8e4b
commit 92d78554ed
1 changed files with 4 additions and 1 deletions

View File

@ -33,6 +33,9 @@ public class TemplateVariableImpl extends PropertyElementImpl implements Templat
public TemplateVariableImpl() { public TemplateVariableImpl() {
super(); super();
/* TODO consider if we want to have a default type
* setPropertyType(PropertyTypeName.BaseType.STRING.name());
*/
} }
@Override @Override
@ -119,7 +122,7 @@ public class TemplateVariableImpl extends PropertyElementImpl implements Templat
+ ", max=" + max + ", max=" + max
+ ", min=" + min + ", min=" + min
+ ", regexpr=" + regexp + ", regexpr=" + regexp
+ ", type=" + propertyTypeName.toString() + ", type=" + (propertyTypeName==null ? "null" : propertyTypeName.toString())
+ ", defaultValue=" + (defaultValue == null ? "null" : defaultValue.toString()) + ", defaultValue=" + (defaultValue == null ? "null" : defaultValue.toString())
+ "]"; + "]";
} }