private static ValueType valueTypeOf(final String className) {
   for (ValueType t : ValueType.values()) {
     if (t.name().equals(className)) {
       return t;
     }
   }
   return null;
 }
예제 #2
0
 /*
  * (non-Javadoc)
  *
  * @see java.lang.Object#toString()
  */
 @Override
 public String toString() {
   return key + " [" + type.name() + "]";
 }
예제 #3
0
 @JsonProperty("type")
 @Override
 public String toString() {
   return binary ? "BINARY" : type.name();
 }
예제 #4
0
 @Override
 public String toString() {
   return String.format("{%s[%d]:%s}", type.name(), size, valueStr());
 }