Record Class ModelGraphResolver.Value
java.lang.Object
java.lang.Record
io.fluxzero.sdk.persisting.repository.ModelGraphResolver.Value
- Enclosing interface:
ModelGraphResolver
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.fluxzero.common.api.modeling.ModelReadBoundaryboundary()Returns the value of theboundaryrecord component.Entity<?> entity()Returns the value of theentityrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of thehistoricalrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Value
public Value(Entity<?> entity, io.fluxzero.common.api.modeling.ModelReadBoundary boundary, boolean historical) Creates an instance of aValuerecord class.- Parameters:
entity- the value for theentityrecord componentboundary- the value for theboundaryrecord componenthistorical- the value for thehistoricalrecord component
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
entity
Returns the value of theentityrecord component.- Returns:
- the value of the
entityrecord component
-
boundary
public io.fluxzero.common.api.modeling.ModelReadBoundary boundary()Returns the value of theboundaryrecord component.- Returns:
- the value of the
boundaryrecord component
-
historical
public boolean historical()Returns the value of thehistoricalrecord component.- Returns:
- the value of the
historicalrecord component
-