/** * The value of the token. * * @return The value of the token. */ @JsonValue String getValue();
@JsonValue public String getValue() { return value; }
/** * Method for accessing root JSON object of the contained schema. *<p> * Note: this method is specified with {@link JsonValue} annotation * to represent serialization to use; same as if explicitly * serializing returned object. * * @return Root node of the schema tree */ @JsonValue public ObjectNode getSchemaNode() { return schema; }
/** * Method for accessing root JSON object of the contained schema. *<p> * Note: this method is specified with {@link JsonValue} annotation * to represent serialization to use; same as if explicitly * serializing returned object. * * @return Root node of the schema tree */ @JsonValue public ObjectNode getSchemaNode() { return schema; }
/** * The value of the token. * * @return The value of the token. */ @JsonValue String getValue();
@Override @JsonValue public String toString() { return contentType; }
@Override @JsonValue public String toString() { return this.type; } }
@JsonValue public String value() { return value; } }
@JsonValue public String value() { return value; } }
@JsonValue public String getAbbr() { return this.abbr; } }
@Override @JsonValue public String toString() { return contentType; }
@JsonValue public String value() { return name; } }
@JsonValue public String value() { return rawValue; } }
@Override @JsonValue public String toString() { return this.state; } }
@Override @JsonValue public @Nonnull String toString() { return id; }
@XmlElement(name = "resource", required = true, namespace = Namespaces.ZANATA_OLD) @JsonValue public List<ResourceMeta> getResources() { if (resources == null) { resources = new ArrayList<ResourceMeta>(); } return resources; }
@XmlElementRef(namespace = Namespaces.ZANATA_OLD) @JsonValue public List<Project> getProjects() { if (projects == null) { projects = new ArrayList<Project>(); } return projects; }
@Override @JsonValue public String toString() { String units = unit.toString().toLowerCase(); if (count == 1) { units = units.substring(0, units.length() - 1); } return Long.toString(count) + ' ' + units; } }
@JsonValue public String value() { return name(); } }
@JsonValue public String value() { return this.name(); } }