public class HighLevelDigitalObject extends DigitalObjectWrapper
| Constructor and Description |
|---|
HighLevelDigitalObject(RepositoryWrapper repositoryWrapper,
DigitalObject originalDigitalObject) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToListAttribute(java.lang.String name,
java.lang.String value)
Treats the value of the attribute as a new line separated list of strings.
|
java.util.List<java.lang.String> |
getAsListAttribute(java.lang.String name)
Treats the value of the attribute as a new line separated list of strings.
|
int |
indexOfInListAttribute(java.lang.String name,
java.lang.String value)
Treats the value of the attribute as a new line separated list of strings.
|
void |
removeFromListAttribute(java.lang.String name,
int index)
Treats the value of the attribute as a new line separated list of strings.
|
void |
removeFromListAttribute(java.lang.String name,
java.lang.String value)
Treats the value of the attribute as a new line separated list of strings.
|
void |
setListAttribute(java.lang.String name,
java.util.List<java.lang.String> strings)
Concatenates the list of strings into a newline separated string and sets it on the attribute called "name"
|
copyTo, createDataElement, delete, deleteAttribute, deleteAttributes, deleteDataElement, getAttribute, getAttributes, getDataElement, getDataElementNames, getDataElements, getHandle, getOrCreateDataElement, getRepository, listAttributes, listDataElementNames, listDataElements, setAttribute, setAttributes, verifyDataElementpublic HighLevelDigitalObject(RepositoryWrapper repositoryWrapper, DigitalObject originalDigitalObject)
public java.util.List<java.lang.String> getAsListAttribute(java.lang.String name)
throws RepositoryException
RepositoryExceptionpublic void addToListAttribute(java.lang.String name,
java.lang.String value)
throws RepositoryException
RepositoryExceptionpublic void removeFromListAttribute(java.lang.String name,
java.lang.String value)
throws RepositoryException
RepositoryExceptionpublic void removeFromListAttribute(java.lang.String name,
int index)
throws RepositoryException
RepositoryExceptionpublic int indexOfInListAttribute(java.lang.String name,
java.lang.String value)
throws RepositoryException
RepositoryExceptionpublic void setListAttribute(java.lang.String name,
java.util.List<java.lang.String> strings)
throws RepositoryException
RepositoryException