public class AnnotationImpl extends AbstractIiifResourceImpl implements Annotation
attribution, id, license, logo, related, seeAlso, service, type, within| Constructor and Description |
|---|
AnnotationImpl() |
AnnotationImpl(String id,
String label) |
AnnotationImpl(URI id,
String label)
Convenience constructor (as id and label are optional)
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
String |
getLabel() |
List<Metadata> |
getMetadata() |
Thumbnail |
getThumbnail() |
String |
getViewingHint() |
void |
setDescription(String description) |
void |
setLabel(String label) |
void |
setMetadata(List<Metadata> metadata) |
void |
setThumbnail(Thumbnail thumbnail) |
void |
setViewingHint(String viewingHint) |
getAttribution, getId, getLicense, getLogo, getRelated, getSeeAlso, getService, getType, getWithin, setAttribution, setId, setId, setLicense, setLogo, setRelated, setSeeAlso, setService, setWithinclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAttribution, getId, getLicense, getLogo, getRelated, getSeeAlso, getService, getType, getWithin, setAttribution, setId, setId, setLicense, setLogo, setRelated, setSeeAlso, setService, setWithinpublic AnnotationImpl()
public AnnotationImpl(URI id, String label)
id - unique id of resourcelabel - label of the Annotationpublic AnnotationImpl(String id, String label) throws URISyntaxException
URISyntaxExceptionpublic String getDescription()
getDescription in interface Annotationpublic void setDescription(String description)
setDescription in interface Annotationpublic String getLabel()
getLabel in interface Annotationpublic void setLabel(String label)
setLabel in interface Annotationpublic List<Metadata> getMetadata()
getMetadata in interface Annotationpublic void setMetadata(List<Metadata> metadata)
setMetadata in interface Annotationpublic Thumbnail getThumbnail()
getThumbnail in interface Annotationpublic void setThumbnail(Thumbnail thumbnail)
setThumbnail in interface Annotationpublic String getViewingHint()
getViewingHint in interface Annotationpublic void setViewingHint(String viewingHint)
setViewingHint in interface AnnotationCopyright © 2016. All rights reserved.