Interface PropertySequence
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Property
addProperty(java.lang.String key, Value value)
Add a property with the givenkey
andvalue
.void
removeProperty(java.lang.String key)
Remove the property with the given key.
-
-
-
Method Detail
-
addProperty
Property addProperty(java.lang.String key, Value value) throws RepositoryException
Add a property with the givenkey
andvalue
.- Parameters:
key
- key of the property to addvalue
- value of the property to add- Returns:
- the newly added property
- Throws:
RepositoryException
-
removeProperty
void removeProperty(java.lang.String key) throws RepositoryException
Remove the property with the given key.- Parameters:
key
- The key of the property to remove- Throws:
RepositoryException
- If there is no property with such a key or another error occurs.
-
-