Class ListProperty<L extends List>

    • Constructor Detail

      • ListProperty

        public ListProperty​(String name,
                            int index,
                            Class<L> cls)
        Constructor.
        Parameters:
        name - The property name.
        index - The index of the property in the list.
        cls - The array class.
    • Method Detail

      • getValue

        public Object getValue​(Object target)
        Description copied from interface: IProperty
        Gets the value of this property from a target object.
        Parameters:
        target - target object
        Returns:
        property value
      • setValue

        public void setValue​(Object target,
                             Object value)
        Description copied from interface: IProperty
        Sets the value of this property on a target object.
        Parameters:
        target - target object
        value - value to set