public interface Properties
| Modifier and Type | Method and Description |
|---|---|
void |
addProperties(Map<String,String> properties)
Add properties to item
|
void |
addProperty(String name,
String value)
Deprecated.
|
String |
getId()
Get ID
|
Map<String,String> |
getProperties()
Get Properties
|
String |
getPropertyValue(String propertyName)
Get property value
|
boolean |
hasProperty(String property)
Check if the item has a given property
|
void |
update()
Save modified properties
|
String getId() throws InternalErrorException
InternalErrorException - if an internal error occurs.String getPropertyValue(String propertyName) throws InternalErrorException
propertyName - the property name.InternalErrorExceptionMap<String,String> getProperties() throws InternalErrorException
InternalErrorException@Deprecated void addProperty(String name, String value) throws InternalErrorException
name - the property name.value - the property value.InternalErrorExceptionvoid addProperties(Map<String,String> properties) throws InternalErrorException
properties - a map of propertiesInternalErrorExceptionvoid update()
throws InternalErrorException
InternalErrorExceptionboolean hasProperty(String property) throws InternalErrorException
property - InternalErrorExceptionCopyright © 2020. All Rights Reserved.