Metadata


@CarProtocol
public final class Metadata


A metadata class used for attaching additional properties to models.

Summary

Nested types

public final class Metadata.Builder

A builder for Metadata.

Constants

static final Metadata

An empty Metadata instance.

Public methods

boolean
@Nullable Place

Returns a Place instance set in the metadata.

int

Constants

EMPTY_METADATA

Added in 1.0.0
public static final Metadata EMPTY_METADATA

An empty Metadata instance.

Public methods

equals

public boolean equals(@Nullable Object other)

getPlace

Added in 1.0.0
public @Nullable Place getPlace()

Returns a Place instance set in the metadata.

See also
setPlace

hashCode

public int hashCode()