Example #1
0
 /**
  * Get the formatted text version of updatedby field left padded with zeros if less than minimum
  * size.
  *
  * @param minChars minimum size
  * @return the formatted String
  */
 public String formatUpdatedby(int minChars) {
   return StringX.padLeftIfInt(formatUpdatedby(), minChars, '0');
 }
Example #2
0
 /**
  * Get the formatted text version of usercode field left padded with zeros if less than minimum
  * size.
  *
  * @param minChars minimum size
  * @return the formatted String
  */
 public String formatUsercode(int minChars) {
   return StringX.padLeftIfInt(formatUsercode(), minChars, '0');
 }
Example #3
0
 /**
  * Get the formatted text version of id field left padded with zeros if less than minimum size.
  *
  * @param minDigits minimum size
  * @return the formatted String
  */
 public String formatId(int minDigits) {
   return StringX.padLeft(formatId(), minDigits, '0');
 }
Example #4
0
 /**
  * Get the formatted text version of encodedpassword field left padded with zeros if less than
  * minimum size.
  *
  * @param minChars minimum size
  * @return the formatted String
  */
 public String formatEncodedpassword(int minChars) {
   return StringX.padLeftIfInt(formatEncodedpassword(), minChars, '0');
 }