Package de.pisa.psa.rst.obj
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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.List<PsaRstApiMapFld.MapEntry>
get(java.lang.Class<?> clazz)
get the field mapping defined by annotationjava.lang.String
getDtoField()
get the data object fieldjava.lang.String
getJsonName()
get the name of the JSON fieldint
getKeyField()
get the key fieldjava.lang.String
toString()
-
Methods inherited from class de.pisa.psa.rst.obj.PsaRstApiMapEntry
get, getAnnotation, getClassField
-
-
-
-
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
-
toString
public java.lang.String toString()
- Overrides:
toString
in classPsaRstApiMapEntry<PsaRstApiMapFld>
- See Also:
Object.toString()
-
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
-
-