Record Class MutationPlan.Resolution
java.lang.Object
java.lang.Record
io.fluxzero.sdk.modeling.MutationPlan.Resolution
- Enclosing class:
MutationPlan
public static record MutationPlan.Resolution(List<MutationPlan.ResolvedModel> models, List<MutationPlan.DeferredWriteTarget> deferredWrites, List<MutationPlan.AncestorDependency> ancestorDependencies, Map<EntityMetadata.ModelParameter, io.fluxzero.sdk.modeling.MutationPlan.DirectReferences> references)
extends Record
Resolved direct targets, deferred writes and ancestor dependencies.
-
Constructor Summary
ConstructorsConstructorDescriptionResolution(List<MutationPlan.ResolvedModel> models, List<MutationPlan.DeferredWriteTarget> deferredWrites) Resolution(List<MutationPlan.ResolvedModel> models, List<MutationPlan.DeferredWriteTarget> deferredWrites, List<MutationPlan.AncestorDependency> ancestorDependencies) Resolution(List<MutationPlan.ResolvedModel> models, List<MutationPlan.DeferredWriteTarget> deferredWrites, List<MutationPlan.AncestorDependency> ancestorDependencies, Map<EntityMetadata.ModelParameter, io.fluxzero.sdk.modeling.MutationPlan.DirectReferences> references) Creates an instance of aResolutionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theancestorDependenciesrecord component.Returns the value of thedeferredWritesrecord component.final booleanIndicates whether some other object is "equal to" this one.booleanfinal inthashCode()Returns a hash code value for this object.models()Returns the value of themodelsrecord component.Map<EntityMetadata.ModelParameter, io.fluxzero.sdk.modeling.MutationPlan.DirectReferences> Returns the value of thereferencesrecord component.final StringtoString()Returns a string representation of this record class.withResolvedModels(List<MutationPlan.ResolvedModel> resolvedModels)
-
Constructor Details
-
Resolution
public Resolution(List<MutationPlan.ResolvedModel> models, List<MutationPlan.DeferredWriteTarget> deferredWrites) -
Resolution
public Resolution(List<MutationPlan.ResolvedModel> models, List<MutationPlan.DeferredWriteTarget> deferredWrites, List<MutationPlan.AncestorDependency> ancestorDependencies) -
Resolution
public Resolution(List<MutationPlan.ResolvedModel> models, List<MutationPlan.DeferredWriteTarget> deferredWrites, List<MutationPlan.AncestorDependency> ancestorDependencies, Map<EntityMetadata.ModelParameter, io.fluxzero.sdk.modeling.MutationPlan.DirectReferences> references) Creates an instance of aResolutionrecord class.- Parameters:
models- the value for themodelsrecord componentdeferredWrites- the value for thedeferredWritesrecord componentancestorDependencies- the value for theancestorDependenciesrecord componentreferences- the value for thereferencesrecord component
-
-
Method Details
-
hasAncestorDependencies
public boolean hasAncestorDependencies() -
withResolvedModels
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
models
Returns the value of themodelsrecord component.- Returns:
- the value of the
modelsrecord component
-
deferredWrites
Returns the value of thedeferredWritesrecord component.- Returns:
- the value of the
deferredWritesrecord component
-
ancestorDependencies
Returns the value of theancestorDependenciesrecord component.- Returns:
- the value of the
ancestorDependenciesrecord component
-
references
public Map<EntityMetadata.ModelParameter, io.fluxzero.sdk.modeling.MutationPlan.DirectReferences> references()Returns the value of thereferencesrecord component.- Returns:
- the value of the
referencesrecord component
-