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
-
Fields inherited from class org.cloudinary.json.JSONObject
NULL
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getExternalId()
Get the id of the entry.java.lang.String
getValue()
Get the value of the entry.void
setExternalId(java.lang.String externalId)
Set the id of the entry.void
setValue(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
-
-
-
-
Method Detail
-
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.
-
-