Skip to content

Commit

Permalink
Enhance toString() methods for UIInputComponent implementations
Browse files Browse the repository at this point in the history
  • Loading branch information
lincolnthree committed May 6, 2013
1 parent f5b774e commit db19fd1
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 0 deletions.
Expand Up @@ -90,4 +90,10 @@ public UIInput<VALUETYPE> setValueConverter(Converter<String, VALUETYPE> convert
this.converter = converter;
return this;
}

@Override
public String toString()
{
return "UIInputImpl [name=" + getName() + ", value=" + value + ", defaultValue=" + defaultValue + "]";
}
}
Expand Up @@ -93,4 +93,9 @@ public UIInputMany<VALUETYPE> setValueConverter(Converter<String, VALUETYPE> con
return this;
}

@Override
public String toString()
{
return "UIInputManyImpl [name=" + getName() + ", value=" + value + ", defaultValue=" + defaultValue + "]";
}
}
Expand Up @@ -52,4 +52,10 @@ public Iterable<VALUETYPE> getValue()
{
return (value == null) ? Callables.call(defaultValue) : value;
}

@Override
public String toString()
{
return "UISelectManyImpl [name=" + getName() + ", value=" + value + ", defaultValue=" + defaultValue + "]";
}
}
Expand Up @@ -52,4 +52,10 @@ public VALUETYPE getValue()
return (value == null) ? Callables.call(defaultValue) : value;
}

@Override
public String toString()
{
return "UISelectOneImpl [name=" + getName() + ", value=" + value + ", defaultValue=" + defaultValue + "]";
}

}

0 comments on commit db19fd1

Please sign in to comment.