Class PropertyData


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

      • PropertyData

        public PropertyData()
        Create a new PropertyData object.
      • PropertyData

        public PropertyData​(String[][] propertyData)
        Create a new PropertyData object with the given property value data.
        Parameters:
        propertyData - the property data name/values
    • Method Detail

      • getPropertyValues

        public List<PropertyValue> getPropertyValues​(String propertyName)
        Return the list of property values for the given name.
        Parameters:
        propertyName - the property name
        Returns:
        the list of property values for the given name
      • getPropertyDataMap

        public Map<String,​List<PropertyValue>> getPropertyDataMap()
        Return the map of list of property values, keyed on property name.
        Returns:
        the map of list of property values, keyed on property name
      • getPropertyNameSet

        public Set<String> getPropertyNameSet()
        Return the set of property names.
        Returns:
        the set of property names.
      • addPropertyValue

        public void addPropertyValue​(String propertyName,
                                     List<PropertyValue> propertyValueList)
        Add a property value with the give name.
        Parameters:
        propertyName - the property name
        propertyValueList - 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.