Package com.cloudinary.metadata
Class MetadataDataSource.Entry
java.lang.Object
org.cloudinary.json.JSONObject
com.cloudinary.metadata.MetadataDataSource.Entry
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- MetadataDataSource
public static class MetadataDataSource.Entry extends JSONObject
Represents a single entry in a datasource definition for a field.
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description java.lang.StringgetExternalId()Get the id of the entry.java.lang.StringgetValue()Get the value of the entry.voidsetExternalId(java.lang.String externalId)Set the id of the entry.voidsetValue(java.lang.String value)Set the value of the entry.Methods inherited from class org.cloudinary.json.JSONObject
accumulate, append, doubleToString, get, getBoolean, getDouble, getInt, getJSONArray, getJSONObject, getLong, getNames, getNames, getString, has, increment, isNull, keys, keySet, length, names, numberToString, opt, optBoolean, optBoolean, optDouble, optDouble, optInt, optInt, optJSONArray, optJSONObject, optLong, optLong, optString, optString, put, put, put, put, put, put, put, putOnce, putOpt, quote, quote, remove, similar, stringToValue, testValidity, toJSONArray, toString, toString, valueToString, wrap, write
-
Constructor Details
-
Method Details
-
setExternalId
public void setExternalId(java.lang.String externalId)Set the id of the entry. Will be auto-generated if left blank.- Parameters:
externalId-
-
getExternalId
public java.lang.String getExternalId()Get the id of the entry.- Returns:
-
setValue
public void setValue(java.lang.String value)Set the value of the entry.- Parameters:
value- The value to set.
-
getValue
public java.lang.String getValue()Get the value of the entry.- Returns:
- The value.
-