Class PsaRstApiMapFld.MapEntry

    • Method Detail

      • get

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

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

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

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