Package ch.rswk.meta.engine
Record Class MetaService.PartialUpdate
java.lang.Object
java.lang.Record
ch.rswk.meta.engine.MetaService.PartialUpdate
- Enclosing class:
MetaService
private static record MetaService.PartialUpdate(com.fasterxml.jackson.databind.node.ObjectNode data, MetaObject meta)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final com.fasterxml.jackson.databind.node.ObjectNodeThe field for thedatarecord component.private final MetaObjectThe field for themetarecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivatePartialUpdate(com.fasterxml.jackson.databind.node.ObjectNode data, MetaObject meta) Creates an instance of aPartialUpdaterecord class. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.node.ObjectNodedata()Returns the value of thedatarecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.meta()Returns the value of themetarecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
data
private final com.fasterxml.jackson.databind.node.ObjectNode dataThe field for thedatarecord component. -
meta
The field for themetarecord component.
-
-
Constructor Details
-
PartialUpdate
Creates an instance of aPartialUpdaterecord class.- Parameters:
data- the value for thedatarecord componentmeta- the value for themetarecord 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). -
data
public com.fasterxml.jackson.databind.node.ObjectNode data()Returns the value of thedatarecord component.- Returns:
- the value of the
datarecord component
-
meta
Returns the value of themetarecord component.- Returns:
- the value of the
metarecord component
-