Class PsaRstApiMapFld.MapEntry

java.lang.Object
de.pisa.psa.rst.obj.PsaRstApiMapEntry<PsaRstApiMapFld>
de.pisa.psa.rst.obj.PsaRstApiMapFld.MapEntry
Enclosing class:
PsaRstApiMapFld

public static final class PsaRstApiMapFld.MapEntry extends PsaRstApiMapEntry<PsaRstApiMapFld>
mapping entry
  • Method Details

    • get

      public static List<PsaRstApiMapFld.MapEntry> get(Class<?> clazz)
      get the field mapping defined by annotation
      Parameters:
      clazz - class to analyze
      Returns:
      list of field mapping
    • toString

      public String toString()
      Overrides:
      toString in class PsaRstApiMapEntry<PsaRstApiMapFld>
      See Also:
    • getDtoField

      public String getDtoField()
      get the data object field
      Returns:
      field
    • getKeyField

      public int getKeyField()
      get the key field
      Returns:
      field position
    • getJsonName

      public String getJsonName()
      get the name of the JSON field
      Returns:
      name