UsernameValueGenerator ====================== .. java:package:: org.motechproject.mds.jdo :noindex: .. java:type:: public abstract class UsernameValueGenerator extends AbstractObjectValueGenerator The \ ``UsernameValueGenerator``\ class modifies properties with \ :java:ref:`java.lang.String`\ type. The given value is returned without any change if it is not blank. Otherise the class tries to get current logged user name. If the user exists and name is not blank then this name is returned otherwise the empty string is returned. Methods ------- modify ^^^^^^ .. java:method:: @Override protected String modify(String value) :outertype: UsernameValueGenerator