Record Class ModelAliasObservation
java.lang.Object
java.lang.Record
io.fluxzero.common.api.modeling.ModelAliasObservation
An alias mapping observed while selecting a mutation target. A null owner explicitly records absence.
The owner, when present, must also participate in the commit's canonical Model-head dependencies.
This observation is independent of any primary identity equal to
alias().-
Constructor Summary
ConstructorsConstructorDescriptionModelAliasObservation(String alias, String expectedOwner) Creates an instance of aModelAliasObservationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionalias()Returns the value of thealiasrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexpectedOwnerrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ModelAliasObservation
-
-
Method Details
-
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). -
alias
Returns the value of thealiasrecord component.- Returns:
- the value of the
aliasrecord component
-
expectedOwner
Returns the value of theexpectedOwnerrecord component.- Returns:
- the value of the
expectedOwnerrecord component
-