org.eclipse.higgins.framework.idas
Interface IDigitalSubject


public interface IDigitalSubject

As defined at http://spwiki.editme.com/DigitalSubjectM4 and http://spwiki.editme.com/ContextProvider, This interface holds a set of IDigitalSubject objects.


Method Summary
 IAttribute getAttribute(URI attrID)
          Return specified attribute of this IDigitalSubject
 Iterable<IAttribute> getAttributes()
          Return all attributes of this IDigitalSubject
 String getType()
          Retruns the type of this DigitalSubject.
As all DigitalSubjects are required to have a type attribute, this is a shortcut for calling getAttribute("").
 String getUniqueID()
          Returns the Contextually Unique Identifier of this DigitalSubject
 

Method Detail

getAttributes

Iterable<IAttribute> getAttributes()
Return all attributes of this IDigitalSubject

Returns:
An Iterable object for IAttributes.

getAttribute

IAttribute getAttribute(URI attrID)
Return specified attribute of this IDigitalSubject

Parameters:
attrID - The identifier of the attribute to be returned.
Returns:
An IAttribute or null if none exits.

getUniqueID

String getUniqueID()
Returns the Contextually Unique Identifier of this DigitalSubject

Returns:
Contextually Unique Identifier of this DigitalSubject

getType

String getType()
Retruns the type of this DigitalSubject.
As all DigitalSubjects are required to have a type attribute, this is a shortcut for calling getAttribute("").

Returns:
The type of this DigitalSubject.