Class BaseKey (2.17.6)

public abstract class BaseKey implements Serializable

Base class for keys.

Inheritance

Object > BaseKey

Implements

Serializable

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAncestors()

public List<PathElement> getAncestors()

Returns an immutable list with the key's ancestors.

Returns
TypeDescription
List<PathElement>

getDatabaseId()

public String getDatabaseId()
Returns
TypeDescription
String

getKind()

public String getKind()

Returns the key's kind.

Returns
TypeDescription
String

getNamespace()

public String getNamespace()

Returns the key's namespace or null if not provided.

Returns
TypeDescription
String

getProjectId()

public String getProjectId()

Returns the key's projectId.

Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toString()

public String toString()
Returns
TypeDescription
String
Overrides