public static class ParserUtil.EntityInfo extends Object implements JSONReader.SymbolReader
Modifier and Type | Field and Description |
---|---|
Class<?> |
cls
The cls.
|
List<ParserUtil.PropInfo> |
propInfoList
The prop info list.
|
com.landawn.abacus.type.Type<Object> |
type
The type.
|
Constructor and Description |
---|
EntityInfo(Class<?> cls)
Instantiates a new entity info.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
ParserUtil.PropInfo |
getPropInfo(String propName)
Gets the prop info.
|
<T> T |
getPropValue(Object obj,
String propName)
Gets the prop value.
|
int |
hashCode() |
ParserUtil.PropInfo |
readPropInfo(char[] cbuf,
int from,
int to)
Read prop info.
|
void |
setPropValue(Object obj,
String propName,
Object propValue)
Sets the prop value.
|
String |
toString() |
public final Class<?> cls
public final com.landawn.abacus.type.Type<Object> type
public final List<ParserUtil.PropInfo> propInfoList
public EntityInfo(Class<?> cls)
cls
- public ParserUtil.PropInfo getPropInfo(String propName)
propName
- public <T> T getPropValue(Object obj, String propName)
T
- obj
- propName
- public void setPropValue(Object obj, String propName, Object propValue)
obj
- propName
- propValue
- public ParserUtil.PropInfo readPropInfo(char[] cbuf, int from, int to)
readPropInfo
in interface JSONReader.SymbolReader
cbuf
- from
- to
- public boolean equals(Object obj)
Copyright © 2019. All rights reserved.