A2uiUpdateDataModelMessage


public final class A2uiUpdateDataModelMessage implements A2uiServerToClientMessage


Updates the data model of a surface.

Summary

Public constructors

A2uiUpdateDataModelMessage(
    @NonNull String surfaceId,
    @NonNull String path,
    Object value
)

Public methods

boolean
equals(Object other)
final @NonNull String

The absolute JSON pointer path to the data point to update.

@NonNull String

The ID of the surface to update.

final Object

The new value to store.

int
@NonNull String

Public constructors

A2uiUpdateDataModelMessage

Added in 1.0.0-alpha01
public A2uiUpdateDataModelMessage(
    @NonNull String surfaceId,
    @NonNull String path,
    Object value
)

Public methods

equals

public boolean equals(Object other)

getPath

Added in 1.0.0-alpha01
public final @NonNull String getPath()

The absolute JSON pointer path to the data point to update. Defaults to root ("/") representing the root of the data model.

getSurfaceId

public @NonNull String getSurfaceId()

The ID of the surface to update.

getValue

Added in 1.0.0-alpha01
public final Object getValue()

The new value to store. If null (or omitted in JSON), the key/path is deleted from the data model.

hashCode

public int hashCode()

toString

public @NonNull String toString()