Class RecordField

java.lang.Object
tech.ydb.yoj.databind.schema.reflect.ReflectFieldBase
tech.ydb.yoj.databind.schema.reflect.RecordField
All Implemented Interfaces:
ReflectField

public final class RecordField extends ReflectFieldBase
Represents a record class component for the purposes of YOJ data-binding.
  • Constructor Details

  • Method Details

    • getValue

      @Nullable public Object getValue(Object containingObject)
      Parameters:
      containingObject - object which contains this field
      Returns:
      value of this field for containingObject; might be null.
      This method will throw when invoked on a containingObject that is not instanceof getType().
    • toString

      public String toString()
      Overrides:
      toString in class Object