Class PropertyValue


  • public class PropertyValue
    extends Object
    Provides a Property Value type SharePoint class.
    Since:
    3.5.0
    • Constructor Detail

      • PropertyValue

        public PropertyValue​(String type,
                             String value)
        Create PropertyValue object with the given type and value.
        Parameters:
        type - the property type
        value - the property value
    • Method Detail

      • getType

        public String getType()
        Return the property type.
        Returns:
        the property type
      • getValue

        public String getValue()
        Return the property value.
        Returns:
        the property value
      • setType

        public void setType​(String type)
        Set the property type.
        Parameters:
        type - set the property type
      • setValue

        public void setValue​(String value)
        Set the property value.
        Parameters:
        value - set the property value
      • equals

        public boolean equals​(Object o)
        Return true of the given object is equal.
        Overrides:
        equals in class Object
        Parameters:
        o - the object to test
        Returns:
        true of the given object is equal.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
        Returns:
        the objects hash code.
      • toString

        public String toString()
        Overrides:
        toString in class Object
        Returns:
        the string representation of this object.