oor.model
Interface Content

All Known Subinterfaces:
Mapping, Ontology
All Known Implementing Classes:
BaseContent, BaseOntology

public interface Content

Common interface for content stored in an OOR.

Author:
Mike Dean

Method Summary
 java.lang.String getExternalIdentifier()
          Return the external identifier, e.g.
 OntologyLanguage getLanguage()
          Return the language used to represent this content.
 MetaData getMetaData()
          Return the metadata associated with this content.
 ContentState getState()
          Return the current state of this content.
 void setExternalIdentifier(java.lang.String externalIdentifier)
          Set the external identifier, e.g.
 void setState(ContentState state)
          Set the current state of this content.
 

Method Detail

getMetaData

MetaData getMetaData()
Return the metadata associated with this content.

Returns:

getState

ContentState getState()
Return the current state of this content.

Returns:

setState

void setState(ContentState state)
Set the current state of this content.

Parameters:
state -

getExternalIdentifier

java.lang.String getExternalIdentifier()
Return the external identifier, e.g. URI, used to identify this content.

Returns:

getLanguage

OntologyLanguage getLanguage()
Return the language used to represent this content.


setExternalIdentifier

void setExternalIdentifier(java.lang.String externalIdentifier)
Set the external identifier, e.g. URI, used to identify this ontology.