Class BaseKey (2.25.1)

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
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAncestors()

public List<PathElement> getAncestors()

Returns an immutable list with the key's ancestors.

Returns
Type Description
List<PathElement>

getDatabaseId()

public String getDatabaseId()
Returns
Type Description
String

getKind()

public String getKind()

Returns the key's kind.

Returns
Type Description
String

getNamespace()

public String getNamespace()

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

Returns
Type Description
String

getProjectId()

public String getProjectId()

Returns the key's projectId.

Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toString()

public String toString()
Returns
Type Description
String
Overrides