public static class ParserUtil.EntityInfo extends Object implements com.landawn.abacus.parser.JSONReader.SymbolReader
| Modifier and Type | Field and Description |
|---|---|
ImmutableMap<Class<? extends Annotation>,Annotation> |
annotations |
String |
canonicalClassName |
Class<Object> |
cls |
ImmutableList<ParserUtil.PropInfo> |
propInfoList |
String |
simpleClassName |
u.Optional<String> |
tableName |
com.landawn.abacus.type.Type<Object> |
type |
| Constructor and Description |
|---|
EntityInfo(Class<?> cls) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
<T extends Annotation> |
getAnnotation(Class<T> annotationClass) |
ParserUtil.PropInfo |
getPropInfo(String propName)
Gets the prop info.
|
<T> T |
getPropValue(Object obj,
String propName)
Gets the prop value.
|
int |
hashCode() |
boolean |
isAnnotationPresent(Class<? extends Annotation> annotationClass) |
ParserUtil.PropInfo |
readPropInfo(char[] cbuf,
int fromIndex,
int toIndex)
Read prop info.
|
void |
setPropValue(Object obj,
String propName,
Object propValue) |
boolean |
setPropValue(Object obj,
String propName,
Object propValue,
boolean ignoreUnmatchedProperty)
Sets the prop value.
|
String |
toString() |
public final String simpleClassName
public final String canonicalClassName
public final com.landawn.abacus.type.Type<Object> type
public final ImmutableList<ParserUtil.PropInfo> propInfoList
public final ImmutableMap<Class<? extends Annotation>,Annotation> annotations
public final u.Optional<String> tableName
public EntityInfo(Class<?> cls)
public ParserUtil.PropInfo getPropInfo(String propName)
propName - public <T> T getPropValue(Object obj, String propName)
T - obj - propName - public boolean setPropValue(Object obj, String propName, Object propValue, boolean ignoreUnmatchedProperty)
obj - propName - propValue - ignoreUnmatchedProperty - public ParserUtil.PropInfo readPropInfo(char[] cbuf, int fromIndex, int toIndex)
readPropInfo in interface com.landawn.abacus.parser.JSONReader.SymbolReadercbuf - fromIndex - toIndex - public boolean isAnnotationPresent(Class<? extends Annotation> annotationClass)
public <T extends Annotation> T getAnnotation(Class<T> annotationClass)
public boolean equals(Object obj)
Copyright © 2021. All rights reserved.