AccessAttributes

abstract class AccessAttributes<S : Any>

What the generated <State>Access of the state S extends: the built-in attributes beside the state's own, which it names in upper snake case after their names, as the query fields are named (DocumentStateAccess.SHARED_WITH is sharedWith).

public object DocumentStateAccess : AccessAttributes<DocumentState>() {
public val DEPARTMENT: AccessAttribute.Single<DocumentState, String> =
AccessAttribute.single("department", String::class.java)
}

Properties

Link copied to clipboard
Link copied to clipboard