org.eclipse.ohf.stem.core.common
Interface DublinCore

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
DublinCoreImpl

public interface DublinCore
extends org.eclipse.emf.ecore.EObject

A DublinCore instance records a set of attributes that describe a "resource" as defined in the "Dublin Core" metadata standard http://www.dublincore.org/. These attributes are used to specify the source and details of the various components that are combined to create the canonical Graph that is used in STEM as the representational framework for simulation state.

Note that not all of the dublin core attributes are required.


Field Summary
static java.lang.String FORMAT
          The XML attribute name for the "Format" of the resource.
static java.lang.String IDENTIFIER
          The XML attribute name for the "Identifier" of the resource.
static java.lang.String TITLE
          The XML attribute name for the "Title" of the resource.
 
Method Summary
 java.lang.String getBibliographicCitation()
          h1>Bibliographic Citation
 java.lang.String getContributor()
          Contributor
 java.lang.String getCoverage()
          Coverage
 java.lang.String getCreated()
          h1>Created
 java.lang.String getCreator()
          Creator
 java.lang.String getDate()
          Date
 java.lang.String getDescription()
          Description
 java.lang.String getFormat()
          Format
 java.lang.String getIdentifier()
          Indentifier
 java.lang.String getLanguage()
          Language
 java.lang.String getLicense()
          h1>License
 java.lang.String getPublisher()
          Publisher
 java.lang.String getRelation()
          Relation
 java.lang.String getRequired()
          h1>Requires
 java.lang.String getRights()
          Rights
 java.lang.String getSource()
          Source
 java.lang.String getSpatial()
          h1>Spatial
 java.lang.String getSubject()
          Subject
 java.lang.String getTitle()
          Title
 java.lang.String getType()
          Type
 java.lang.String getValid()
          Valid
 java.util.Date getValidEndDate()
           
 java.util.Date getValidStartDate()
           
 DublinCore populate()
          Initialize some of the Dublin Core terms from information available from the run-time environment.
 void setBibliographicCitation(java.lang.String value)
          Sets the value of the 'Bibliographic Citation' attribute.
 void setContributor(java.lang.String value)
          Sets the value of the 'Contributor' attribute.
 void setCoverage(java.lang.String value)
          Sets the value of the 'Coverage' attribute.
 void setCreated(java.util.Date date)
          Set the date the resource was created.
 void setCreated(java.lang.String value)
          Sets the value of the 'Created' attribute.
 void setCreator(java.lang.String value)
          Sets the value of the 'Creator' attribute.
 void setDate(java.util.Date date)
          Set the date.
 void setDate(java.lang.String value)
          Sets the value of the 'Date' attribute.
 void setDescription(java.lang.String value)
          Sets the value of the 'Description' attribute.
 void setFormat(java.lang.String value)
          Sets the value of the 'Format' attribute.
 void setIdentifier(java.lang.String value)
          Sets the value of the 'Identifier' attribute.
 void setLanguage(java.lang.String value)
          Sets the value of the 'Language' attribute.
 void setLicense(java.lang.String value)
          Sets the value of the 'License' attribute.
 void setPublisher(java.lang.String value)
          Sets the value of the 'Publisher' attribute.
 void setRelation(java.lang.String value)
          Sets the value of the 'Relation' attribute.
 void setRequired(java.lang.String value)
          Sets the value of the 'Required' attribute.
 void setRights(java.lang.String value)
          Sets the value of the 'Rights' attribute.
 void setSource(java.lang.String value)
          Sets the value of the 'Source' attribute.
 void setSpatial(java.lang.String value)
          Sets the value of the 'Spatial' attribute.
 void setSubject(java.lang.String value)
          Sets the value of the 'Subject' attribute.
 void setTitle(java.lang.String value)
          Sets the value of the 'Title' attribute.
 void setType(java.lang.String value)
          Sets the value of the 'Type' attribute.
 void setValid(java.util.Date startDate)
          Set the starting date that the resource is value.
 void setValid(java.util.Date startDate, java.util.Date endDate)
          Set the starting and ending dates that the resource is valid.
 void setValid(java.lang.String value)
          Sets the value of the 'Valid' attribute.
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Field Detail

FORMAT

static final java.lang.String FORMAT
The XML attribute name for the "Format" of the resource.

See Also:
getFormat(), setFormat(String), Constant Field Values

IDENTIFIER

static final java.lang.String IDENTIFIER
The XML attribute name for the "Identifier" of the resource. In STEM this is the URI of the resource.

See Also:
getIdentifier(), setIdentifier(String), Constant Field Values

TITLE

static final java.lang.String TITLE
The XML attribute name for the "Title" of the resource.

See Also:
getTitle(), setTitle(String), Constant Field Values
Method Detail

getTitle

java.lang.String getTitle()

Title

Returns:
the title of the resource.

setTitle

void setTitle(java.lang.String value)
Sets the value of the 'Title' attribute.

Parameters:
value - the new value of the 'Title' attribute.
See Also:
getTitle()

getIdentifier

java.lang.String getIdentifier()

Indentifier

Returns:
the identifier of the resource.

setIdentifier

void setIdentifier(java.lang.String value)
Sets the value of the 'Identifier' attribute.

Parameters:
value - the new value of the 'Identifier' attribute.
See Also:
getIdentifier()

getDescription

java.lang.String getDescription()

Description

Returns:
the description of the resource.

setDescription

void setDescription(java.lang.String value)
Sets the value of the 'Description' attribute.

Parameters:
value - the new value of the 'Description' attribute.
See Also:
getDescription()

getCreator

java.lang.String getCreator()

Creator

Returns:
the creator of the resource.

setCreator

void setCreator(java.lang.String value)
Sets the value of the 'Creator' attribute.

Parameters:
value - the new value of the 'Creator' attribute.
See Also:
getCreator()

getDate

java.lang.String getDate()

Date

Returns:
the date of the resource.

setDate

void setDate(java.lang.String value)
Sets the value of the 'Date' attribute.

Parameters:
value - the new value of the 'Date' attribute.
See Also:
getDate()

setDate

void setDate(java.util.Date date)
Set the date.

Parameters:
date -
See Also:
setDate(String), getDate(), setCreated(Date)

getFormat

java.lang.String getFormat()

Format

Returns:
the format of the resource.

setFormat

void setFormat(java.lang.String value)
Sets the value of the 'Format' attribute.

Parameters:
value - the new value of the 'Format' attribute.
See Also:
getFormat()

getPublisher

java.lang.String getPublisher()

Publisher

Returns:
the publisher of the resource.

setPublisher

void setPublisher(java.lang.String value)
Sets the value of the 'Publisher' attribute.

Parameters:
value - the new value of the 'Publisher' attribute.
See Also:
getPublisher()

getCoverage

java.lang.String getCoverage()

Coverage

Returns:
the coverage of the resource.

setCoverage

void setCoverage(java.lang.String value)
Sets the value of the 'Coverage' attribute.

Parameters:
value - the new value of the 'Coverage' attribute.
See Also:
getCoverage()

getContributor

java.lang.String getContributor()

Contributor

Returns:
the contributor of the resource.

setContributor

void setContributor(java.lang.String value)
Sets the value of the 'Contributor' attribute.

Parameters:
value - the new value of the 'Contributor' attribute.
See Also:
getContributor()

getRelation

java.lang.String getRelation()

Relation

Returns:
the relation of the resource.

setRelation

void setRelation(java.lang.String value)
Sets the value of the 'Relation' attribute.

Parameters:
value - the new value of the 'Relation' attribute.
See Also:
getRelation()

getRights

java.lang.String getRights()

Rights

Returns:
the rights of the resource.

setRights

void setRights(java.lang.String value)
Sets the value of the 'Rights' attribute.

Parameters:
value - the new value of the 'Rights' attribute.
See Also:
getRights()

getSource

java.lang.String getSource()

Source

Returns:
the source of the resource.

setSource

void setSource(java.lang.String value)
Sets the value of the 'Source' attribute.

Parameters:
value - the new value of the 'Source' attribute.
See Also:
getSource()

getSubject

java.lang.String getSubject()

Subject

Returns:
the subject of the resource.

setSubject

void setSubject(java.lang.String value)
Sets the value of the 'Subject' attribute.

Parameters:
value - the new value of the 'Subject' attribute.
See Also:
getSubject()

getType

java.lang.String getType()

Type

Returns:
the type of the resource.

setType

void setType(java.lang.String value)
Sets the value of the 'Type' attribute.

Parameters:
value - the new value of the 'Type' attribute.
See Also:
getType()

getLanguage

java.lang.String getLanguage()

Language

Returns:
the language of the resource.

setLanguage

void setLanguage(java.lang.String value)
Sets the value of the 'Language' attribute.

Parameters:
value - the new value of the 'Language' attribute.
See Also:
getLanguage()

getBibliographicCitation

java.lang.String getBibliographicCitation()
h1>Bibliographic Citation

Returns:
a bibliographic citation

setBibliographicCitation

void setBibliographicCitation(java.lang.String value)
Sets the value of the 'Bibliographic Citation' attribute.

Parameters:
value - the new value of the 'Bibliographic Citation' attribute.
See Also:
getBibliographicCitation()

getCreated

java.lang.String getCreated()
h1>Created

Returns:
the date the resource was created.

setCreated

void setCreated(java.lang.String value)
Sets the value of the 'Created' attribute.

Parameters:
value - the new value of the 'Created' attribute.
See Also:
getCreated()

setCreated

void setCreated(java.util.Date date)
Set the date the resource was created.

Parameters:
date - the creation date of the resource
See Also:
setCreated(String), getCreated(), setDate(Date),

getLicense

java.lang.String getLicense()
h1>License

Returns:
the license associated with the resource

setLicense

void setLicense(java.lang.String value)
Sets the value of the 'License' attribute.

Parameters:
value - the new value of the 'License' attribute.
See Also:
getLicense()

getRequired

java.lang.String getRequired()
h1>Requires

Returns:
the identifier of a resource required by this resource

setRequired

void setRequired(java.lang.String value)
Sets the value of the 'Required' attribute.

Parameters:
value - the new value of the 'Required' attribute.
See Also:
getRequired()

getSpatial

java.lang.String getSpatial()
h1>Spatial

Returns:
the identifier of a resource providing spatial data

setSpatial

void setSpatial(java.lang.String value)
Sets the value of the 'Spatial' attribute.

Parameters:
value - the new value of the 'Spatial' attribute.
See Also:
getSpatial()

getValid

java.lang.String getValid()

Valid

Returns:
the date, or range that the resource is valid.

getValidStartDate

java.util.Date getValidStartDate()
Returns:
the starting Date of the valid date range, or null if the valid value is not set or is not correctly formatted as an ISO 8601 date string http://www.w3.org/TR/NOTE-datetime.

getValidEndDate

java.util.Date getValidEndDate()
Returns:
the ending Date of the valid date range, or null if the valid value is not set or the end date is not specified, or the value is not correctly formatted as an ISO 8601 date string http://www.w3.org/TR/NOTE-datetime.

setValid

void setValid(java.lang.String value)
Sets the value of the 'Valid' attribute.

Parameters:
value - the new value of the 'Valid' attribute.
See Also:
getValid()

setValid

void setValid(java.util.Date startDate)
Set the starting date that the resource is value. No end date will be set.

Parameters:
startDate - the starting date
See Also:
setValid(String), setValid(Date, Date), setDate(Date), setCreated(Date)

setValid

void setValid(java.util.Date startDate,
              java.util.Date endDate)
Set the starting and ending dates that the resource is valid.

Parameters:
startDate - the starting date
endDate - the ending date
See Also:
setValid(String), setValid(Date), setDate(Date), setCreated(Date)

populate

DublinCore populate()
Initialize some of the Dublin Core terms from information available from the run-time environment.

Returns:
the instance
See Also:
setCreated(String), setDate(String), setValid(String), setCreator(String)