Send feedback
Class BaseEntity<K> (2.9.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.9.1 keyboard_arrow_down
public abstract class BaseEntity<K> implements Serializable
Inheritance
Object >
BaseEntity<K>
Type Parameter
Methods
<K>getEntity(String name)
public FullEntity<K> <K>getEntity ( String name )
Returns the property value as an entity.
Parameter
Returns
<T>getList(String name)
public List<T> <T>getList ( String name )
Returns the property value as a list of values.
Parameter
Returns
<V>getValue(String name)
public V <V>getValue ( String name )
Returns the Value for the given property name
.
Parameter
Returns
contains(String name)
public boolean contains ( String name )
Returns true
if the entity contains a property with the given name
.
Parameter
Returns
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Returns
Overrides
getBlob(String name)
public Blob getBlob ( String name )
Returns the property value as a blob.
Parameter
Returns
getBoolean(String name)
public boolean getBoolean ( String name )
Returns the property value as a boolean.
Parameter
Returns
getDouble(String name)
public double getDouble ( String name )
Returns the property value as a double.
Parameter
Returns
getKey()
Returns the associated key or null if it does not have one.
Returns
getKey(String name)
public Key getKey ( String name )
Returns the property value as a Key.
Parameter
Returns
getLatLng(String name)
public LatLng getLatLng ( String name )
Returns the property value as a LatLng.
Parameter
Returns
getLong(String name)
public long getLong ( String name )
Returns the property value as long.
Parameter
Returns
getNames()
public Set<String> getNames ()
Returns the properties name.
Returns
getProperties()
public Map<String , Value <? >> getProperties ()
Returns
getString(String name)
public String getString ( String name )
Returns the property value as a string.
Parameter
Returns
getTimestamp(String name)
public Timestamp getTimestamp ( String name )
Returns the property value as a Timestamp.
Parameter
Returns
Type Description com.google.cloud.Timestamp
hasKey()
Returns true if entity has a non-null key.
Returns
hashCode()
Returns
Overrides
isNull(String name)
public boolean isNull ( String name )
Returns true if property is an instance of NullValue.
Parameter
Returns
toString()
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-05 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-05 UTC."],[],[]]