Class UserProperty

    • Constructor Detail

      • UserProperty

        public UserProperty()
    • Method Detail

      • setValue

        public void setValue​(String value)
        Set the property value. Note that some characters that might cause issues will be replaced ('&' with "and", '>' and '<' with '').
        Overrides:
        setValue in class _UserProperty
        Parameters:
        value - the new value
      • getTextValue

        @Deprecated
        public String getTextValue()
        Deprecated.
        there is no longer a distinction between value and base64Value - just use getValue() throughout. This method may be removed in a future TM version.
        Return the text value, either the underlying long value or the value depending upon the property type.
        Returns:
        the text value, either the underlying long value or the value depending upon the property type.
        Since:
        4.1.3
      • setBase64Value

        @Deprecated
        public void setBase64Value​(String base64Value)
        Deprecated.
        - use setValue(String) instead. This method may be removed in a future TM version.
        Parameters:
        base64Value - deprecated
      • getBase64Value

        @Deprecated
        public String getBase64Value()
        Deprecated.
        - use getValue() instead. This method may be removed in a future TM version.
        Returns:
        deprecated
      • isTypeCSV

        public boolean isTypeCSV()
        Returns:
        true if the property type is 'CSV'
        Since:
        5.1.4
      • isTypeLongText

        public boolean isTypeLongText()
        Returns:
        true if the property type is 'LongText'
        Since:
        4.1.3
      • isTypeImage

        public boolean isTypeImage()
        Returns:
        true if the property type is 'Image'
        Since:
        4.1.3
      • isTypeHTML

        public boolean isTypeHTML()
        Returns:
        true if the property type is 'HTML'
        Since:
        4.1.3
      • isTypeJSON

        public boolean isTypeJSON()
        Returns:
        true if the property type is 'JSON'
        Since:
        4.1.3