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