All Superinterfaces:
AnnotatedElement, Member, ParameterizedType
All Known Implementing Classes:
FieldModelImpl

public interface FieldModel extends Member, AnnotatedElement, ParameterizedType
Model that represent the field of a class
Author:
Jerome Dochez
  • Method Details

    • getType

      ExtensibleType getType()
      Returns the declared type of the field
      Specified by:
      getType in interface ParameterizedType
      Returns:
      the field type
    • getTypeName

      String getTypeName()
      Returns the declared type name of the field
      Specified by:
      getTypeName in interface ParameterizedType
      Returns:
      the field type name
    • getDeclaringType

      ExtensibleType getDeclaringType()
      Returns the declaring type of this field, which is a class.
      Specified by:
      getDeclaringType in interface Member
      Returns:
      the field declaring class.
    • getDeclaringTypeName

      String getDeclaringTypeName()
      Returns the declaring type name of this field, which is a class.
      Returns:
      the field declaring class name.
    • isTransient

      boolean isTransient()
      Returns:
      true, if field is marked transient.