info.magnolia.dam.asset.metadata
Class BaseDublinCoreAssetMetadata

java.lang.Object
  extended by info.magnolia.dam.asset.metadata.BaseDublinCoreAssetMetadata
All Implemented Interfaces:
AssetMetadata, DublinCoreAssetMetadata
Direct Known Subclasses:
JcrDublinCoreAssetMetadata

public class BaseDublinCoreAssetMetadata
extends Object
implements DublinCoreAssetMetadata

Base implementation of DublinCoreAssetMetadata.


Field Summary
 
Fields inherited from interface info.magnolia.dam.asset.metadata.DublinCoreAssetMetadata
NAME
 
Constructor Summary
BaseDublinCoreAssetMetadata()
           
 
Method Summary
 String getAssetMetadataIdentifier()
          Return the Asset Name.
 String getContributor()
          An entity responsible for making contributions to the resource.
Examples of a Contributor include a person, an organization, or a service.
Typically, the name of a Contributor should be used to indicate the entity.
 String getCoverage()
          The spatial or temporal topic of the resource, the spatial applicability of the resource, or the jurisdiction under which the resource is relevant.
Spatial topic and spatial applicability may be a named place or a location specified by its geographic coordinates.
 String getCreator()
          An entity primarily responsible for making the resource.
Examples of a Creator include a person, an organization, or a service.
 Calendar getDate()
          A point or period of time associated with an event in the lifecycle of the resource.
 String getDescription()
          An account of the resource.
Description may include but is not limited to: an abstract, a table of contents, a graphical representation, or a free-text account of the resource.
 String getFormat()
          The file format, physical medium, or dimensions of the resource.
Examples of dimensions include size and duration.
 String getIdentifier()
          An unambiguous reference to the resource within a given context.
Recommended best practice is to identify the resource by means of a string conforming to a formal identification system.
 String getLanguage()
          A language of the resource.
Recommended best practice is to use a controlled vocabulary such as RFC 4646 [RFC4646].
 String getPublisher()
          An entity responsible for making the resource available.
Examples of a Publisher include a person, an organization, or a service.
 String getRelation()
          A related resource.
Recommended best practice is to identify the related resource by means of a string conforming to a formal identification system.
 String getRight()
          Information about rights held in and over the resource.
Typically, rights information includes a statement about various property rights associated with the resource, including intellectual property rights.
 String getSource()
          A related resource from which the described resource is derived.
The described resource may be derived from the related resource in whole or in part.
Recommended best practice is to identify the related resource by means of a string conforming to a formal identification system.
 String getSubject()
          The topic of the resource.
Typically, the subject will be represented using keywords, key phrases, or classification codes.
 String getTitle()
          A name given to the resource.
 String getType()
          The nature or genre of the resource.
Recommended best practice is to use a controlled vocabulary such as the DCMI Type Vocabulary [DCMITYPE].
 void setContributor(String contributor)
           
 void setCoverage(String coverage)
           
 void setCreator(String creator)
           
 void setDate(Calendar date)
           
 void setDescription(String description)
           
 void setFormat(String format)
           
 void setIdentifier(String identifier)
           
 void setLanguage(String language)
           
 void setPublisher(String publisher)
           
 void setRelation(String relation)
           
 void setRight(String right)
           
 void setSource(String source)
           
 void setSubject(String subject)
           
 void setTitle(String title)
           
 void setType(String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseDublinCoreAssetMetadata

public BaseDublinCoreAssetMetadata()
Method Detail

getAssetMetadataIdentifier

public String getAssetMetadataIdentifier()
Description copied from interface: AssetMetadata
Return the Asset Name.

Specified by:
getAssetMetadataIdentifier in interface AssetMetadata

getLanguage

public String getLanguage()
Description copied from interface: DublinCoreAssetMetadata
A language of the resource.
Recommended best practice is to use a controlled vocabulary such as RFC 4646 [RFC4646].

Specified by:
getLanguage in interface DublinCoreAssetMetadata
Returns:
the language

setLanguage

public void setLanguage(String language)
Parameters:
language - the language to set

getTitle

public String getTitle()
Description copied from interface: DublinCoreAssetMetadata
A name given to the resource.
Typically, a Title will be a name by which the resource is formally known.

Specified by:
getTitle in interface DublinCoreAssetMetadata
Returns:
the title

setTitle

public void setTitle(String title)
Parameters:
title - the title to set

getSubject

public String getSubject()
Description copied from interface: DublinCoreAssetMetadata
The topic of the resource.
Typically, the subject will be represented using keywords, key phrases, or classification codes.
Recommended best practice is to use a controlled vocabulary.

Specified by:
getSubject in interface DublinCoreAssetMetadata
Returns:
the subject

setSubject

public void setSubject(String subject)
Parameters:
subject - the subject to set

getDescription

public String getDescription()
Description copied from interface: DublinCoreAssetMetadata
An account of the resource.
Description may include but is not limited to: an abstract, a table of contents, a graphical representation, or a free-text account of the resource.

Specified by:
getDescription in interface DublinCoreAssetMetadata
Returns:
the description

setDescription

public void setDescription(String description)
Parameters:
description - the description to set

getRight

public String getRight()
Description copied from interface: DublinCoreAssetMetadata
Information about rights held in and over the resource.
Typically, rights information includes a statement about various property rights associated with the resource, including intellectual property rights.

Specified by:
getRight in interface DublinCoreAssetMetadata
Returns:
the right

setRight

public void setRight(String right)
Parameters:
right - the right to set

getFormat

public String getFormat()
Description copied from interface: DublinCoreAssetMetadata
The file format, physical medium, or dimensions of the resource.
Examples of dimensions include size and duration. Recommended best practice is to use a controlled vocabulary such as the list of Internet Media Types [MIME].

Specified by:
getFormat in interface DublinCoreAssetMetadata
Returns:
the format

setFormat

public void setFormat(String format)
Parameters:
format - the format to set

getIdentifier

public String getIdentifier()
Description copied from interface: DublinCoreAssetMetadata
An unambiguous reference to the resource within a given context.
Recommended best practice is to identify the resource by means of a string conforming to a formal identification system.

Specified by:
getIdentifier in interface DublinCoreAssetMetadata
Returns:
the identifier

setIdentifier

public void setIdentifier(String identifier)
Parameters:
identifier - the identifier to set

getCreator

public String getCreator()
Description copied from interface: DublinCoreAssetMetadata
An entity primarily responsible for making the resource.
Examples of a Creator include a person, an organization, or a service. Typically, the name of a Creator should be used to indicate the entity.

Specified by:
getCreator in interface DublinCoreAssetMetadata
Returns:
the creator

setCreator

public void setCreator(String creator)
Parameters:
creator - the creator to set

getDate

public Calendar getDate()
Description copied from interface: DublinCoreAssetMetadata
A point or period of time associated with an event in the lifecycle of the resource.

Specified by:
getDate in interface DublinCoreAssetMetadata
Returns:
the date

setDate

public void setDate(Calendar date)
Parameters:
date - the date to set

getContributor

public String getContributor()
Description copied from interface: DublinCoreAssetMetadata
An entity responsible for making contributions to the resource.
Examples of a Contributor include a person, an organization, or a service.
Typically, the name of a Contributor should be used to indicate the entity.

Specified by:
getContributor in interface DublinCoreAssetMetadata
Returns:
the contributor

setContributor

public void setContributor(String contributor)
Parameters:
contributor - the contributor to set

getCoverage

public String getCoverage()
Description copied from interface: DublinCoreAssetMetadata
The spatial or temporal topic of the resource, the spatial applicability of the resource, or the jurisdiction under which the resource is relevant.
Spatial topic and spatial applicability may be a named place or a location specified by its geographic coordinates. Temporal topic may be a named period, date, or date range. A jurisdiction may be a named administrative entity or a geographic place to which the resource applies.
Recommended best practice is to use a controlled vocabulary such as the Thesaurus of Geographic Names [TGN]. Where appropriate, named places or time periods can be used in preference to numeric identifiers such as sets of coordinates or date ranges.

Specified by:
getCoverage in interface DublinCoreAssetMetadata
Returns:
the coverage

setCoverage

public void setCoverage(String coverage)
Parameters:
coverage - the coverage to set

getPublisher

public String getPublisher()
Description copied from interface: DublinCoreAssetMetadata
An entity responsible for making the resource available.
Examples of a Publisher include a person, an organization, or a service. Typically, the name of a Publisher should be used to indicate the entity.

Specified by:
getPublisher in interface DublinCoreAssetMetadata
Returns:
the publisher

setPublisher

public void setPublisher(String publisher)
Parameters:
publisher - the publisher to set

getRelation

public String getRelation()
Description copied from interface: DublinCoreAssetMetadata
A related resource.
Recommended best practice is to identify the related resource by means of a string conforming to a formal identification system.

Specified by:
getRelation in interface DublinCoreAssetMetadata
Returns:
the relation

setRelation

public void setRelation(String relation)
Parameters:
relation - the relation to set

getSource

public String getSource()
Description copied from interface: DublinCoreAssetMetadata
A related resource from which the described resource is derived.
The described resource may be derived from the related resource in whole or in part.
Recommended best practice is to identify the related resource by means of a string conforming to a formal identification system.

Specified by:
getSource in interface DublinCoreAssetMetadata
Returns:
the source

setSource

public void setSource(String source)
Parameters:
source - the source to set

getType

public String getType()
Description copied from interface: DublinCoreAssetMetadata
The nature or genre of the resource.
Recommended best practice is to use a controlled vocabulary such as the DCMI Type Vocabulary [DCMITYPE].
To describe the file format, physical medium, or dimensions of the resource, use the Format element.

Specified by:
getType in interface DublinCoreAssetMetadata
Returns:
the type

setType

public void setType(String type)
Parameters:
type - the type to set


Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.