public static final class Event.Source extends GenericJson
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Event.Source() |
| Modifier and Type | Method and Description |
|---|---|
Event.Source |
clone() |
String |
getTitle()
Title of the source; for example a title of a web page or an email subject.
|
String |
getUrl()
URL of the source pointing to a resource.
|
Event.Source |
set(String fieldName,
Object value) |
Event.Source |
setTitle(String title)
Title of the source; for example a title of a web page or an email subject.
|
Event.Source |
setUrl(String url)
URL of the source pointing to a resource.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic String getTitle()
null for nonepublic Event.Source setTitle(String title)
title - title or null for nonepublic String getUrl()
null for nonepublic Event.Source setUrl(String url)
url - url or null for nonepublic Event.Source set(String fieldName, Object value)
set in class GenericJsonpublic Event.Source clone()
clone in class GenericJson