public class SpreadsheetContentTypePackage extends CustomPackage
Represents a metadata package containing spreadsheet content type properties.
Modifier and Type | Method and Description |
---|---|
void |
clear()
Removes all writable metadata properties.
|
boolean |
remove(String propertyName)
Removes the content type property with the specified name.
|
void |
set(String propertyName,
String propertyValue)
Adds or replaces the content type property with the specified name.
|
void |
set(String propertyName,
String propertyValue,
String propertyType)
Adds or replaces the content type property with the specified name.
|
IReadOnlyList<SpreadsheetContentTypeProperty> |
toList()
Creates a list from the package.
|
addProperties, contains, findProperties, get_Item, getCount, getKeys, getKnowPropertyDescriptors, getMetadataType, iterator, removeProperties, sanitize, setProperties, updateProperties
public final void set(String propertyName, String propertyValue)
Adds or replaces the content type property with the specified name.
propertyName
- The property name.propertyValue
- The property value.public final void set(String propertyName, String propertyValue, String propertyType)
Adds or replaces the content type property with the specified name.
propertyName
- The property name.propertyValue
- The property value.propertyType
- The property type.public final boolean remove(String propertyName)
Removes the content type property with the specified name.
propertyName
- The name of the content type property to be removed.true
if the property is found and deleted; otherwise false
.public final void clear()
Removes all writable metadata properties.
public final IReadOnlyList<SpreadsheetContentTypeProperty> toList()
Creates a list from the package.