Class PojoField
java.lang.Object
tech.ydb.yoj.databind.schema.reflect.PojoField
- All Implemented Interfaces:
ReflectField
Represents a field of a POJO class, hand-written or generated e.g. by Lombok.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface tech.ydb.yoj.databind.schema.reflect.ReflectField
getChildren, getColumn, getGenericType, getName, getReflectType, getType, getValueType
-
Constructor Details
-
PojoField
-
-
Method Details
-
getValue
- Specified by:
getValuein interfaceReflectField- Parameters:
containingObject- object which contains this field- Returns:
- value of this field for
containingObject; might benull.
This method will throw when invoked on acontainingObjectthat is notinstanceofgetType().
-
toString
-