Record Class EntityMetadata.GraphProjectionRoot
java.lang.Object
java.lang.Record
io.fluxzero.sdk.modeling.EntityMetadata.GraphProjectionRoot
- Enclosing class:
EntityMetadata
public static record EntityMetadata.GraphProjectionRoot(Class<?> modelType, GraphProjection projection)
extends Record
A centrally cached structural graph-projection root consumed by repository commits.
-
Constructor Summary
ConstructorsConstructorDescriptionGraphProjectionRoot(Class<?> modelType, GraphProjection projection) Creates an instance of aGraphProjectionRootrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Class<?> Returns the value of themodelTyperecord component.Returns the value of theprojectionrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
GraphProjectionRoot
Creates an instance of aGraphProjectionRootrecord class.- Parameters:
modelType- the value for themodelTyperecord componentprojection- the value for theprojectionrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
modelType
Returns the value of themodelTyperecord component.- Returns:
- the value of the
modelTyperecord component
-
projection
Returns the value of theprojectionrecord component.- Returns:
- the value of the
projectionrecord component
-