Class TypeProfileFactory.Profile.FieldInfo

java.lang.Object
com.blackrook.json.struct.TypeProfileFactory.Profile.FieldInfo
Enclosing class:
TypeProfileFactory.Profile<T>

public static class TypeProfileFactory.Profile.FieldInfo extends Object
Field information. Contains the relevant type and getter/setter method.
  • Method Details

    • getType

      public Class<?> getType()
      Returns:
      the type that this setter takes as an argument, or this getter returns.
    • getField

      public Field getField()
      Returns:
      the setter method itself.
    • getAlias

      public String getAlias()
      Returns:
      the alias for the field info, if any.
    • isMap

      public boolean isMap()
      Returns:
      true if this field or methods represents a map, false if not.
    • getPrimaryClass

      public Class<?> getPrimaryClass()
      Returns:
      the class type used for this generic collection.
    • getKeyClass

      public Class<?> getKeyClass()
      Returns:
      the class used for this generic map key.
    • getValueClass

      public Class<?> getValueClass()
      Returns:
      the class used for this generic map value.