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, verifyDataElement
public HighLevelDigitalObject(RepositoryWrapper repositoryWrapper, DigitalObject originalDigitalObject)
public java.util.List<java.lang.String> getAsListAttribute(java.lang.String name) throws RepositoryException
RepositoryException
public void addToListAttribute(java.lang.String name, java.lang.String value) throws RepositoryException
RepositoryException
public void removeFromListAttribute(java.lang.String name, java.lang.String value) throws RepositoryException
RepositoryException
public void removeFromListAttribute(java.lang.String name, int index) throws RepositoryException
RepositoryException
public int indexOfInListAttribute(java.lang.String name, java.lang.String value) throws RepositoryException
RepositoryException
public void setListAttribute(java.lang.String name, java.util.List<java.lang.String> strings) throws RepositoryException
RepositoryException