Class ParserUtil.EntityInfo

java.lang.Object
com.landawn.abacus.parser.ParserUtil.EntityInfo
All Implemented Interfaces:
com.landawn.abacus.parser.JSONReader.SymbolReader
Enclosing class:
ParserUtil

public static class ParserUtil.EntityInfo extends Object implements com.landawn.abacus.parser.JSONReader.SymbolReader
  • Field Details

  • Method Details

    • getPropInfo

      public ParserUtil.PropInfo getPropInfo(String propName)
      Gets the prop info.
      Specified by:
      getPropInfo in interface com.landawn.abacus.parser.JSONReader.SymbolReader
      Parameters:
      propName -
      Returns:
    • getPropValue

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

      public void setPropValue(Object obj, String propName, Object propValue)
    • setPropValue

      public boolean setPropValue(Object obj, String propName, Object propValue, boolean ignoreUnmatchedProperty)
      Sets the prop value.
      Parameters:
      obj -
      propName -
      propValue -
      ignoreUnmatchedProperty -
    • getPropInfoQueue

      public List<ParserUtil.PropInfo> getPropInfoQueue(String propName)
      Gets the prop info queue.
      Parameters:
      propName -
      Returns:
    • readPropInfo

      public ParserUtil.PropInfo readPropInfo(char[] cbuf, int fromIndex, int toIndex)
      Read prop info.
      Specified by:
      readPropInfo in interface com.landawn.abacus.parser.JSONReader.SymbolReader
      Parameters:
      cbuf -
      fromIndex -
      toIndex -
      Returns:
    • isAnnotationPresent

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

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

      @Beta public Object createEntityResult()
      Returns:
    • finishEntityResult

      @Beta public <T> T finishEntityResult(Object result)
      Type Parameters:
      T -
      Parameters:
      result -
      Returns:
    • 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
    • toString

      public String toString()
      Overrides:
      toString in class Object