Class PropertyValue_s


  • public class PropertyValue_s
    extends PropertyValueBase
    PropertyValue class

    The PropertyValue class is a template to support property values of any
    type.
    • Constructor Detail

      • PropertyValue_s

        public PropertyValue_s​(long cPtr,
                               boolean cMemoryOwn)
      • PropertyValue_s

        public PropertyValue_s​(java.lang.String value)
        Constructs PropertyValue.

        Constructs a PropertyValue and tries to auto detect the type.

        Parameters:
        value - [in] value
      • PropertyValue_s

        public PropertyValue_s​(PropertyType type,
                               java.lang.String value)
        Constructs PropertyValue.
        Parameters:
        type - [in] type of property
        value - [in] value
    • Method Detail

      • getValue

        public SWIGTYPE_p_std__string getValue()
        Returns a reference to the property value.

        Note: Changing the value returned by reference will NOT fire the
        changed event. Please consider using the setValue function if
        possible, or fire the event manually on change, by calling
        changedEvent().fire()

        Returns:
        reference to the property value.
      • setValue

        public void setValue​(java.lang.String value)
        Sets the property value.

        This function will fire the changed event.

        Parameters:
        value - [in] the new value of the Property