Interface PropertyOps

All Known Implementing Classes:
PropertyModel

public interface PropertyOps
  • Method Details

    • getName

      String getName()
    • getType

      Class<?> getType()
    • acceptsType

      boolean acceptsType(Class<?> clazz)
    • setValue

      void setValue(Object entity, Object value)
    • getValue

      Object getValue(Object entity)
    • isWritable

      boolean isWritable()
    • isReadable

      boolean isReadable()
    • getWriteMethod

      Method getWriteMethod()
      If applicable, returns the write method associated with this property. A return value of null only indicates, that no Java method has been associated with the property ops. The property may still be writable.
      Returns:
    • getReadMethod

      Method getReadMethod()
    • findAnnotation

      <A> A findAnnotation(Class<A> annotationClass)