public class ContentImpl extends AbstractIiifResourceImpl implements Content
| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected String |
format |
protected int |
height |
protected List<Metadata> |
metadata |
protected Thumbnail |
thumbnail |
protected String |
viewingHint |
protected int |
width |
attribution, id, license, logo, related, seeAlso, service, type, within| Constructor and Description |
|---|
ContentImpl(URI id) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
String |
getFormat() |
int |
getHeight() |
List<Metadata> |
getMetadata() |
Thumbnail |
getThumbnail() |
String |
getViewingHint() |
int |
getWidth() |
void |
setDescription(String description) |
void |
setFormat(String format) |
void |
setHeight(int height) |
void |
setMetadata(List<Metadata> metadata) |
void |
setThumbnail(Thumbnail thumbnail) |
void |
setViewingHint(String viewingHint) |
void |
setWidth(int width) |
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, setWithinprotected String description
protected Thumbnail thumbnail
protected String format
protected int height
protected int width
protected String viewingHint
public ContentImpl(URI id)
id - A content resource must have an id unless it is embedded in the response, and it must be the http(s) URI
at which the resource is published.public List<Metadata> getMetadata()
getMetadata in interface Contentpublic void setMetadata(List<Metadata> metadata)
setMetadata in interface Contentpublic String getDescription()
getDescription in interface Contentpublic void setDescription(String description)
setDescription in interface Contentpublic Thumbnail getThumbnail()
getThumbnail in interface Contentpublic void setThumbnail(Thumbnail thumbnail)
setThumbnail in interface Contentpublic String getViewingHint()
getViewingHint in interface Contentpublic void setViewingHint(String viewingHint)
setViewingHint in interface ContentCopyright © 2016. All rights reserved.