类 ReadOnlyPropertyAccessor

java.lang.Object
cn.taketoday.reflect.PropertyAccessor
cn.taketoday.reflect.ReadOnlyPropertyAccessor
所有已实现的接口:
GetterMethod, SetterMethod
直接已知子类:
ReadOnlyGetterMethodPropertyAccessor, ReadOnlyMethodAccessorPropertyAccessor, ReflectiveReadOnlyPropertyAccessor

abstract class ReadOnlyPropertyAccessor extends PropertyAccessor
read-only PropertyAccessor
作者:
TODAY 2020/9/12 15:22
另请参阅:
  • 构造器详细资料

    • ReadOnlyPropertyAccessor

      ReadOnlyPropertyAccessor()
  • 方法详细资料

    • set

      public final void set(Object obj, Object value)
      从接口复制的说明: SetterMethod
      set property

      If value is null and target property type is primitive this method will do nothing.

      指定者:
      set 在接口中 SetterMethod
      指定者:
      set 在类中 PropertyAccessor
      参数:
      obj - Target obj
      value - property value
    • classToString

      private static Class<?> classToString(Object obj)
    • getWriteMethod

      public final Method getWriteMethod()
    • isReadOnly

      public boolean isReadOnly()
      从类复制的说明: PropertyAccessor
      read-only ?
      覆盖:
      isReadOnly 在类中 PropertyAccessor