public static class ParserUtil.PropInfo extends Object
| Modifier and Type | Field and Description |
|---|---|
ImmutableMap<Class<? extends Annotation>,Annotation> |
annotations |
Class<Object> |
clazz |
u.Optional<String> |
columnName |
com.landawn.abacus.type.Type<Object> |
dbType |
Class<Object> |
declaringClass |
Field |
field |
Method |
getMethod |
boolean |
isMarkedToColumn |
boolean |
isTransient |
JsonXmlField.Expose |
jsonXmlExpose |
com.landawn.abacus.type.Type<Object> |
jsonXmlType |
String |
name |
Method |
setMethod |
com.landawn.abacus.type.Type<Object> |
type |
| Constructor and Description |
|---|
PropInfo(String propName,
Field field,
Method getMethod,
JsonXmlConfig jsonXmlConfig,
ImmutableMap<Class<? extends Annotation>,Annotation> classAnnotations) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
<T extends Annotation> |
getAnnotation(Class<T> annotationClass) |
<T> T |
getPropValue(Object obj)
Gets the prop value.
|
int |
hashCode() |
boolean |
isAnnotationPresent(Class<? extends Annotation> annotationClass) |
Object |
readPropValue(String strValue)
Read prop value.
|
void |
setPropValue(Object obj,
Object propValue)
Sets the prop value.
|
String |
toString() |
void |
writePropValue(CharacterWriter writer,
Object x,
SerializationConfig<?> config)
Write prop value.
|
public final String name
public final com.landawn.abacus.type.Type<Object> type
public final Field field
public final Method getMethod
public final Method setMethod
public final ImmutableMap<Class<? extends Annotation>,Annotation> annotations
public final com.landawn.abacus.type.Type<Object> jsonXmlType
public final com.landawn.abacus.type.Type<Object> dbType
public final boolean isTransient
public final JsonXmlField.Expose jsonXmlExpose
public final boolean isMarkedToColumn
public final u.Optional<String> columnName
public PropInfo(String propName, Field field, Method getMethod, JsonXmlConfig jsonXmlConfig, ImmutableMap<Class<? extends Annotation>,Annotation> classAnnotations)
public <T> T getPropValue(Object obj)
T - obj - public void setPropValue(Object obj, Object propValue)
obj - propValue - public Object readPropValue(String strValue)
strValue - public void writePropValue(CharacterWriter writer, Object x, SerializationConfig<?> config) throws IOException
writer - x - config - IOException - Signals that an I/O exception has occurred.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.