Uses of Class
io.fluxzero.sdk.modeling.ImmutableModelRoot
Packages that use ImmutableModelRoot
-
Uses of ImmutableModelRoot in io.fluxzero.sdk.modeling
Methods in io.fluxzero.sdk.modeling that return ImmutableModelRootModifier and TypeMethodDescriptionstatic <T> ImmutableModelRoot<T> Creates a lightweight new or staged model root without runtime collaborators.static <T> ImmutableModelRoot<T> ImmutableModelRoot.initial(Object id, Class<T> type, String idProperty, T value, EntityHelper entityHelper, Serializer serializer) Creates a new uncommitted model root with the current timestamp.static <T> ImmutableModelRoot<T> ImmutableModelRoot.revision(Object id, Class<T> type, String idProperty, T value, EntityHelper entityHelper, Serializer serializer, String lastEventId, Long lastEventIndex, Instant timestamp, long sequenceNumber, long stateIndex, Entity<T> previous) Creates a model root from one authoritative stored revision.static <T> ImmutableModelRoot<T> ImmutableModelRoot.staged(Object id, Class<T> type, String idProperty, T value, long sequenceNumber) Creates a lightweight staged model root with its known sequence number.ImmutableModelRoot.withPrevious(Entity<T> previous) Returns this revision with the supplied in-memory predecessor.