Class PropertyAccessorSupport

    • Constructor Detail

      • PropertyAccessorSupport

        public PropertyAccessorSupport()
    • Method Detail

      • isConstructorArgument

        public boolean isConstructorArgument()
        Description copied from interface: PropertyAccessor
        Returns whether this property is a constructor argument.
        Specified by:
        isConstructorArgument in interface PropertyAccessor
        Returns:
        true if this property is a constructor argument, false otherwise
      • setConstructorArgumentIndex

        public void setConstructorArgumentIndex​(int index)
        Sets the constructor argument index (starting at 0). Set to -1 to indicate this property is not a constructor argument.
        Parameters:
        index - the constructor argument index
      • getConstructorArgumentIndex

        public int getConstructorArgumentIndex()
        Description copied from interface: PropertyAccessor
        Returns the constructor argument index, or -1 if this property is not a constructor argument.
        Specified by:
        getConstructorArgumentIndex in interface PropertyAccessor
        Returns:
        the constructor argument index