public final class Statement
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Digital Asset Links API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
Statement() |
Modifier and Type | Method and Description |
---|---|
Statement |
clone() |
java.lang.String |
getRelation()
The relation identifies the use of the statement as intended by the source asset's owner (that
is, the person or entity who issued the statement).
|
Asset |
getSource()
Every statement has a source asset.
|
Asset |
getTarget()
Every statement has a target asset.
|
Statement |
set(java.lang.String fieldName,
java.lang.Object value) |
Statement |
setRelation(java.lang.String relation)
The relation identifies the use of the statement as intended by the source asset's owner (that
is, the person or entity who issued the statement).
|
Statement |
setSource(Asset source)
Every statement has a source asset.
|
Statement |
setTarget(Asset target)
Every statement has a target asset.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getRelation()
null
for nonepublic Statement setRelation(java.lang.String relation)
relation
- relation or null
for nonepublic Asset getSource()
null
for nonepublic Statement setSource(Asset source)
source
- source or null
for nonepublic Asset getTarget()
null
for nonepublic Statement setTarget(Asset target)
target
- target or null
for nonepublic Statement set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Statement clone()
clone
in class com.google.api.client.json.GenericJson