Class JsonbPropertyInfo
- java.lang.Object
-
- org.eclipse.yasson.internal.model.JsonbPropertyInfo
-
public class JsonbPropertyInfo extends java.lang.ObjectWrapper for metadata of serialized property.
-
-
Constructor Summary
Constructors Constructor Description JsonbPropertyInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassModelgetClassModel()Gets class model.JsonbContextgetContext()Gets context.java.lang.reflect.TypegetRuntimeType()Gets runtime type.CurrentItem<?>getWrapper()Gets wrapper.JsonbPropertyInfosetContext(JsonbContext context)Sets context.JsonbPropertyInfowithClassModel(ClassModel classModel)Sets class model.JsonbPropertyInfowithRuntimeType(java.lang.reflect.Type runtimeType)Sets runtime type.JsonbPropertyInfowithWrapper(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.
-
-