public class MediaObject extends Object
Constructor and Description |
---|
MediaObject() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getAudience() |
String |
getContributor() |
Date |
getCreated()
The date and time this media item was taken.
|
String |
getCreator()
The person that created the media item.
|
String |
getDescription()
A longer description for this media item.
|
String |
getFormat() |
@NotNull URI |
getIdentifier()
The public URL that identifies and locates the media item.
|
String |
getLicense()
Licence for this media item.
|
String |
getPublisher()
An entity responsible for making the media item available.
|
URI |
getReferences() |
String |
getRightsHolder() |
String |
getSource() |
String |
getTitle()
The media item title.
|
@NotNull MediaType |
getType() |
int |
hashCode() |
void |
setAudience(String audience) |
void |
setContributor(String contributor) |
void |
setCreated(Date created) |
void |
setCreator(String creator) |
void |
setDescription(String description) |
void |
setFormat(String format) |
void |
setIdentifier(URI identifier) |
void |
setLicense(String license) |
void |
setPublisher(String publisher) |
void |
setReferences(URI references) |
void |
setRightsHolder(String rightsHolder) |
void |
setSource(String source) |
void |
setTitle(String title) |
void |
setType(MediaType type) |
String |
toString() |
public MediaObject()
@Nullable public Date getCreated()
Example: 2010-09-29.
public void setCreated(Date created)
created
- the created to set@Nullable public String getCreator()
Example: David Remsen.
public void setCreator(String creator)
creator
- the creator to set@Nullable public String getDescription()
Example: Female Tachycineta albiventer photographed in the Amazon, Brazil, in November 2010.
public void setDescription(String description)
description
- the description to set@NotNull public @NotNull URI getIdentifier()
Example: http://farm6.static.flickr.com/5127/5242866958_98afd8cbce_o.jpg
public void setIdentifier(URI identifier)
@Nullable public String getLicense()
Example: http://creativecommons.org/licenses /by-nc-sa/2.0/deed.en
public void setLicense(String license)
license
- the license to setpublic URI getReferences()
public void setReferences(URI references)
@Nullable public String getPublisher()
Example: Encyclopedia of Life.
public void setPublisher(String publisher)
publisher
- the publisher to set@Nullable public String getTitle()
Example: Andorinha-do-rio (Tachycineta albiventer).
public String getAudience()
public void setAudience(String audience)
public String getContributor()
public void setContributor(String contributor)
public String getRightsHolder()
public void setRightsHolder(String rightsHolder)
Copyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.