Interface EntityDefinition.Builder

Enclosing interface:
EntityDefinition

public static sealed interface EntityDefinition.Builder
Builds a EntityDefinition

A client connecting to a server fetches the entity definitions from it, serialized, an RMI client always and an HTTP client unless given its domain. What a definition is given must therefore be serializable in a domain served that way: its validator, comparator, exists predicate and formatter, and the comparators of its attributes. A class implements Serializable and a lambda expression is cast to a serializable type, (Comparator<Entity> & Serializable) (entity1, entity2) -> .... Otherwise no client can connect, the server logging a warning for such a domain when it starts. A domain no client fetches needs none of this.

See Also: