public class AnnotationImpl extends AbstractIiifResourceImpl implements Annotation
attribution, id, license, logo, related, seeAlso, service, type, within| Constructor and Description |
|---|
AnnotationImpl() |
AnnotationImpl(String motivation) |
AnnotationImpl(String motivation,
String id,
PropertyValue label) |
AnnotationImpl(String motivation,
URI id,
PropertyValue label)
Convenience constructor (as id and label are optional)
|
| Modifier and Type | Method and Description |
|---|---|
PropertyValue |
getDescription() |
PropertyValue |
getLabel() |
List<Metadata> |
getMetadata() |
String |
getMotivation() |
URI |
getOn() |
AnnotationResource |
getResource() |
Thumbnail |
getThumbnail() |
String |
getViewingHint() |
void |
setDescription(PropertyValue description) |
void |
setLabel(PropertyValue label) |
void |
setMetadata(List<Metadata> metadata) |
void |
setOn(URI on) |
void |
setResource(AnnotationResource annotationResource) |
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(String motivation)
public AnnotationImpl(String motivation, URI id, PropertyValue label)
motivation - motivation of this annotationid - unique id of resourcelabel - label of the Annotationpublic AnnotationImpl(String motivation, String id, PropertyValue label)
public PropertyValue getDescription()
getDescription in interface Annotationpublic void setDescription(PropertyValue description)
setDescription in interface Annotationpublic PropertyValue getLabel()
getLabel in interface Annotationpublic void setLabel(PropertyValue label)
setLabel in interface Annotationpublic List<Metadata> getMetadata()
getMetadata in interface Annotationpublic void setMetadata(List<Metadata> metadata)
setMetadata in interface Annotationpublic URI getOn()
getOn in interface Annotationpublic void setOn(URI on)
setOn 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 Annotationpublic String getMotivation()
getMotivation in interface Annotationpublic AnnotationResource getResource()
getResource in interface Annotationpublic void setResource(AnnotationResource annotationResource)
setResource in interface AnnotationCopyright © 2017. All rights reserved.