org.eclipse.higgins.idas.spi
Class BasicMetadataSet
java.lang.Object
org.eclipse.higgins.idas.spi.BasicMetadataSet
- All Implemented Interfaces:
- org.eclipse.higgins.idas.api.IHasMetadata, IMetadataContainer
- Direct Known Subclasses:
- AbstractSimpleValue, BasicContext
- public class BasicMetadataSet
- extends Object
- implements org.eclipse.higgins.idas.api.IHasMetadata, IMetadataContainer
Implements IHasMetadata using a Hashtable. This is used by other basic implementations which implement subinterfaces of IHasMetadata.
BasicMetadataSet
public BasicMetadataSet()
BasicMetadataSet
public BasicMetadataSet(Iterator metaSet,
IMetadataContainer container)
throws org.eclipse.higgins.idas.api.IdASException
- Parameters:
metaSet - Contains IMetadatas
getMetadataSet
public Iterator getMetadataSet()
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
getMetadataSet in interface org.eclipse.higgins.idas.api.IHasMetadata
- Throws:
org.eclipse.higgins.idas.api.IdASException
getMetadata
public org.eclipse.higgins.idas.api.IMetadata getMetadata(URI metadataID)
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
getMetadata in interface org.eclipse.higgins.idas.api.IHasMetadata
- Throws:
org.eclipse.higgins.idas.api.IdASException
addMetadata
public org.eclipse.higgins.idas.api.IMetadata addMetadata(URI metadataID)
throws org.eclipse.higgins.idas.api.IdASException,
org.eclipse.higgins.idas.api.InvalidTypeException
- Specified by:
addMetadata in interface org.eclipse.higgins.idas.api.IHasMetadata
- Throws:
org.eclipse.higgins.idas.api.IdASException
org.eclipse.higgins.idas.api.InvalidTypeException
addMetadata
public org.eclipse.higgins.idas.api.IMetadata addMetadata(org.eclipse.higgins.idas.api.IMetadata copyFrom)
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
addMetadata in interface org.eclipse.higgins.idas.api.IHasMetadata
- Throws:
org.eclipse.higgins.idas.api.IdASException
updateNotification
public void updateNotification(MetadataNotification metaNotif)
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
updateNotification in interface IMetadataContainer
- Parameters:
metaNotif -
- Throws:
org.eclipse.higgins.idas.api.IdASException
equals
public boolean equals(org.eclipse.higgins.idas.api.IHasMetadata metadataSet)
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
equals in interface org.eclipse.higgins.idas.api.IHasMetadata
- Throws:
org.eclipse.higgins.idas.api.IdASException