oor.impl
Class BaseContent

java.lang.Object
  extended by oor.impl.BaseContent
All Implemented Interfaces:
Content
Direct Known Subclasses:
BaseOntology

public abstract class BaseContent
extends java.lang.Object
implements Content

Base implementation for content subclasses.

Author:
Mike Dean

Constructor Summary
BaseContent()
           
 
Method Summary
 java.lang.String getExternalIdentifier()
          Return the external identifier, e.g.
abstract  OntologyLanguage getLanguage()
          Return the language used to represent this content.
abstract  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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseContent

public BaseContent()
Method Detail

getExternalIdentifier

public java.lang.String getExternalIdentifier()
Description copied from interface: Content
Return the external identifier, e.g. URI, used to identify this content.

Specified by:
getExternalIdentifier in interface Content
Returns:

getLanguage

public abstract OntologyLanguage getLanguage()
Description copied from interface: Content
Return the language used to represent this content.

Specified by:
getLanguage in interface Content

getMetaData

public abstract MetaData getMetaData()
Description copied from interface: Content
Return the metadata associated with this content.

Specified by:
getMetaData in interface Content
Returns:

getState

public ContentState getState()
Description copied from interface: Content
Return the current state of this content.

Specified by:
getState in interface Content
Returns:

setExternalIdentifier

public void setExternalIdentifier(java.lang.String externalIdentifier)
Description copied from interface: Content
Set the external identifier, e.g. URI, used to identify this ontology.

Specified by:
setExternalIdentifier in interface Content

setState

public void setState(ContentState state)
Description copied from interface: Content
Set the current state of this content.

Specified by:
setState in interface Content