Class ParserUtil.PropInfo

  • Enclosing class:
    ParserUtil

    public static class ParserUtil.PropInfo
    extends Object
    The Class PropInfo.
    • Field Detail

      • declaringClass

        public final Class<Object> declaringClass
      • name

        public final String name
        The name.
      • type

        public final com.landawn.abacus.type.Type<Object> type
        The type.
      • field

        public final Field field
        The field.
      • getMethod

        public final Method getMethod
        The get method.
      • setMethod

        public final Method setMethod
        The set method.
      • jsonXmlType

        public final com.landawn.abacus.type.Type<Object> jsonXmlType
        The json xml type.
      • dbType

        public final com.landawn.abacus.type.Type<Object> dbType
        The db type.
    • Method Detail

      • getPropValue

        public <T> T getPropValue​(Object obj)
        Gets the prop value.
        Type Parameters:
        T -
        Parameters:
        obj -
        Returns:
      • setPropValue

        public void setPropValue​(Object obj,
                                 Object propValue)
        Sets the prop value.
        Parameters:
        obj -
        propValue -
      • readPropValue

        public Object readPropValue​(String strValue)
        Read prop value.
        Parameters:
        strValue -
        Returns:
      • isAnnotationPresent

        public boolean isAnnotationPresent​(Class<? extends Annotation> annotationClass)
      • getAnnotation

        public <T extends Annotation> T getAnnotation​(Class<T> annotationClass)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
        Returns:
      • equals

        public boolean equals​(Object obj)
        Overrides:
        equals in class Object
        Parameters:
        obj -
        Returns:
        true, if successful