public class TypeNodeContext extends Object implements PropertyContext
Constructor and Description |
---|
TypeNodeContext() |
TypeNodeContext(TypeNodeIntrospector typeNodeIntrospector,
boolean useDynamicPropertySerializerForDynamicColumns) |
Modifier and Type | Method and Description |
---|---|
void |
descreaseNestingLevel()
Decrease the current nesting level.
|
int |
getCurrentNestingLevel() |
String |
getName() |
String |
getPath() |
Class<?> |
getType() |
TypeNodeIntrospector |
getTypeNodeIntrospector() |
void |
increaseNestingLevel()
Increase the current nesting level.
|
boolean |
isDynamic() |
boolean |
isUseDynamicPropertySerializerForDynamicColumns() |
void |
setCurrentPropertyContext(String propertyPath,
String propertyName,
Class<?> propertyType)
Sets the current property context information (used in
FlattenedPropertiesFilter ) |
void |
setDynamic(boolean isDynamic)
Sets the current dynamic context value.
|
public TypeNodeContext()
public TypeNodeContext(TypeNodeIntrospector typeNodeIntrospector, boolean useDynamicPropertySerializerForDynamicColumns)
public int getCurrentNestingLevel()
getCurrentNestingLevel
in interface PropertyContext
public void increaseNestingLevel()
public void descreaseNestingLevel()
public boolean isDynamic()
isDynamic
in interface PropertyContext
public void setDynamic(boolean isDynamic)
public TypeNodeIntrospector getTypeNodeIntrospector()
public boolean isUseDynamicPropertySerializerForDynamicColumns()
true
if dynamic columns should be serialized using the dynamic property
serializer.public void setCurrentPropertyContext(String propertyPath, String propertyName, Class<?> propertyType)
FlattenedPropertiesFilter
)public String getPath()
getPath
in interface PropertyContext
x
and this pojo contains another POJO property named y
and this
property is part of the y
property, then the path will be x.y
public String getName()
getName
in interface PropertyContext
public Class<?> getType()
getType
in interface PropertyContext
Copyright © GigaSpaces.