Interface Property<O extends JavaType<O>>

Type Parameters:
O -
All Superinterfaces:
AnnotationTarget<O>, Internal, Named, Origin<O>
All Known Subinterfaces:
PropertySource<O>

public interface Property<O extends JavaType<O>> extends Named, AnnotationTarget<O>
A Property is a convenience construct depicting a simple Java bean property.
  • Method Details

    • getType

      Type<O> getType()
      Get this property's Type.
    • hasField

      boolean hasField()
      Learn whether this property is backed by a Field.
    • getField

      Field<O> getField()
      Get the field that stores the value of the property.
    • isAccessible

      boolean isAccessible()
      Learn whether this property is accessible (i.e. has an accessor method).
    • isMutable

      boolean isMutable()
      Learn whether this property is mutable (i.e. has a mutator method).
    • getAccessor

      Method<O,?> getAccessor()
      Get this property's accessor method.
    • getMutator

      Method<O,?> getMutator()
      Get this property's mutator method.