Class JsonbPropertyInfo
- java.lang.Object
-
- org.eclipse.yasson.internal.model.JsonbPropertyInfo
-
public class JsonbPropertyInfo extends java.lang.Object
Wrapper for metadata of serialized property.
-
-
Constructor Summary
Constructors Constructor Description JsonbPropertyInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassModel
getClassModel()
Gets class model.JsonbContext
getContext()
Gets context.java.lang.reflect.Type
getRuntimeType()
Gets runtime type.CurrentItem<?>
getWrapper()
Gets wrapper.JsonbPropertyInfo
setContext(JsonbContext context)
Sets context.JsonbPropertyInfo
withClassModel(ClassModel classModel)
Sets class model.JsonbPropertyInfo
withRuntimeType(java.lang.reflect.Type runtimeType)
Sets runtime type.JsonbPropertyInfo
withWrapper(CurrentItem<?> wrapper)
Sets wrapper.
-
-
-
Method Detail
-
getContext
public JsonbContext getContext()
Gets context.- Returns:
- Context.
-
setContext
public JsonbPropertyInfo setContext(JsonbContext context)
Sets context.- Parameters:
context
- Context to set.- Returns:
- Updated object.
-
getRuntimeType
public java.lang.reflect.Type getRuntimeType()
Gets runtime type.- Returns:
- Runtime type.
-
withRuntimeType
public JsonbPropertyInfo withRuntimeType(java.lang.reflect.Type runtimeType)
Sets runtime type.- Parameters:
runtimeType
- Runtime type to set.- Returns:
- Updated object.
-
getClassModel
public ClassModel getClassModel()
Gets class model.- Returns:
- Class model.
-
withClassModel
public JsonbPropertyInfo withClassModel(ClassModel classModel)
Sets class model.- Parameters:
classModel
- Class model to set.- Returns:
- Updated object.
-
getWrapper
public CurrentItem<?> getWrapper()
Gets wrapper.- Returns:
- Wrapper.
-
withWrapper
public JsonbPropertyInfo withWrapper(CurrentItem<?> wrapper)
Sets wrapper.- Parameters:
wrapper
- Wrapper to set.- Returns:
- Updated object.
-
-