org.springframework.beans

Class AbstractNestablePropertyAccessor.PropertyHandler

  • java.lang.Object
    • org.springframework.beans.AbstractNestablePropertyAccessor.PropertyHandler
  • Enclosing class:
    AbstractNestablePropertyAccessor


    protected abstract static class AbstractNestablePropertyAccessor.PropertyHandler
    extends java.lang.Object
    A handler for a specific property.
    • Constructor Detail

      • PropertyHandler

        public PropertyHandler(java.lang.Class<?> propertyType,
                               boolean readable,
                               boolean writable)
    • Method Detail

      • getPropertyType

        public java.lang.Class<?> getPropertyType()
      • isReadable

        public boolean isReadable()
      • isWritable

        public boolean isWritable()
      • toTypeDescriptor

        public abstract TypeDescriptor toTypeDescriptor()
      • getResolvableType

        public abstract ResolvableType getResolvableType()
      • getMapKeyType

        @Nullable
        public java.lang.Class<?> getMapKeyType(int nestingLevel)
      • getMapValueType

        @Nullable
        public java.lang.Class<?> getMapValueType(int nestingLevel)
      • getCollectionType

        @Nullable
        public java.lang.Class<?> getCollectionType(int nestingLevel)
      • getValue

        @Nullable
        public abstract java.lang.Object getValue()
                                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • setValue

        public abstract void setValue(@Nullable
                                      java.lang.Object value)
                               throws java.lang.Exception
        Throws:
        java.lang.Exception