org.eclipse.higgins.idas
Interface IDigitalSubject
- All Superinterfaces:
- IHasAttributes, IHasMetadata, IHasRelationships<IDigitalSubjectRef>
public interface IDigitalSubject
- extends IHasMetadata, IHasAttributes, IHasRelationships<IDigitalSubjectRef>
As defined at http://spwiki.editme.com/DigitalSubjectM4 and http://spwiki.editme.com/ContextProvider, This interface holds a set of IDigitalSubject
objects.
TODO: Finish javadoc on methods
Method Summary |
IContext |
getContext()
|
java.lang.String |
getType()
Returns the type of this Digital Subject. |
java.lang.String |
getUniqueID()
Returns the Contextually Unique Identifier of this Digital Subject |
getContext
IContext getContext()
throws IdASException
- Returns:
- The Context holding this Digital Subject.
- Throws:
IdASException
getUniqueID
java.lang.String getUniqueID()
throws IdASException
- Returns the Contextually Unique Identifier of this Digital Subject
- Returns:
- Contextually Unique Identifier of this Digital Subject
- Throws:
IdASException
getType
java.lang.String getType()
throws IdASException
- Returns the type of this Digital Subject.
As all Digital Subjects are required to have a type attribute,
this is a shortcut for calling getAttribute("").
TODO: The above comment presumes we have a higgins-defined
attribute type called "type". Do we need this?
TODO: We decided to make the type be a String rather than
URI -- need to remember why, and document it.
- Returns:
- This Digital Subject's type
- Throws:
IdASException