public static final class StorageObject.Owner extends GenericJson
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
StorageObject.Owner() |
Modifier and Type | Method and Description |
---|---|
StorageObject.Owner |
clone() |
String |
getEntity()
The entity, in the form user-userId.
|
String |
getEntityId()
The ID for the entity.
|
StorageObject.Owner |
set(String fieldName,
Object value) |
StorageObject.Owner |
setEntity(String entity)
The entity, in the form user-userId.
|
StorageObject.Owner |
setEntityId(String entityId)
The ID for the entity.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getEntity()
null
for nonepublic StorageObject.Owner setEntity(String entity)
entity
- entity or null
for nonepublic String getEntityId()
null
for nonepublic StorageObject.Owner setEntityId(String entityId)
entityId
- entityId or null
for nonepublic StorageObject.Owner set(String fieldName, Object value)
set
in class GenericJson
public StorageObject.Owner clone()
clone
in class GenericJson