@JsonValue public String toString() { StringBuilder sb = new StringBuilder(); DateTimeFormatter dtf = DateTimeFormat.forPattern("HH:mm"); sb.append(fromDayOfWeek(beginDay)).append("-").append(fromDayOfWeek(endDay)) .append("T").append(dtf.print(beginTime)).append("-").append(dtf.print(endTime)); if (holidays != null && !holidays.isEmpty()) { sb.append("/H"); } return sb.toString(); }
@Override public void enumValueMethod(JMethod valueMethod) { valueMethod.annotate(JsonValue.class); }
@JsonValue @Override public String toString() { return version; }
@JsonValue public String getValue() { return super.getValue(); }
@JsonValue public String value() { return this.value; }
@JsonValue public Integer value() { return value; }
@JsonValue public String value() { return value; }
@JsonValue public String getSymbol() { return symbols[0]; }
@JsonValue public String getValue() { return value; }
@JsonValue public String value() { return state; }
@JsonValue public String value() { return mode; }
@Override @JsonValue public String toString() { return this.type; }
@JsonValue public int value() { return temp.intValue(); }
@Override @JsonValue public String toString() { return this.state; }
@JsonValue public String getId() { return id; }
@JsonValue public String getName() { return name; }
public boolean hasAsValueAnnotation(AnnotatedMethod paramAnnotatedMethod) { JsonValue localJsonValue = (JsonValue)paramAnnotatedMethod.getAnnotation(JsonValue.class); return (localJsonValue != null) && (localJsonValue.value()); }
@JsonValue public ObjectNode getSchemaNode() { return this.schema; }
@JsonValue public int code() { return code; }