Class PropertyData
- java.lang.Object
-
- com.avoka.component.sharepoint.type.PropertyData
-
public class PropertyData extends Object
Provides a Property Data type SharePoint class.- Since:
- 3.5.0
-
-
Constructor Summary
Constructors Constructor Description PropertyData()
Create a new PropertyData object.PropertyData(String[][] propertyData)
Create a new PropertyData object with the given property value data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPropertyValue(String propertyName, List<PropertyValue> propertyValueList)
Add a property value with the give name.boolean
equals(Object o)
Return true of the given object is equal.Map<String,List<PropertyValue>>
getPropertyDataMap()
Return the map of list of property values, keyed on property name.Set<String>
getPropertyNameSet()
Return the set of property names.List<PropertyValue>
getPropertyValues(String propertyName)
Return the list of property values for the given name.int
hashCode()
String
toString()
-
-
-
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 namepropertyValueList
- the property value
-
equals
public boolean equals(Object o)
Return true of the given object is equal.
-
-