org.eclipse.higgins.idas.spi
Class BasicMetadataSet

java.lang.Object
  extended byorg.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.


Constructor Summary
BasicMetadataSet()
           
BasicMetadataSet(Iterator metaSet, IMetadataContainer container)
           
 
Method Summary
 org.eclipse.higgins.idas.api.IMetadata addMetadata(org.eclipse.higgins.idas.api.IMetadata copyFrom)
           
 org.eclipse.higgins.idas.api.IMetadata addMetadata(URI metadataID)
           
 boolean equals(org.eclipse.higgins.idas.api.IHasMetadata metadataSet)
           
 org.eclipse.higgins.idas.api.IMetadata getMetadata(URI metadataID)
           
 Iterator getMetadataSet()
           
 void updateNotification(MetadataNotification metaNotif)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicMetadataSet

public BasicMetadataSet()

BasicMetadataSet

public BasicMetadataSet(Iterator metaSet,
                        IMetadataContainer container)
                 throws org.eclipse.higgins.idas.api.IdASException
Parameters:
metaSet - Contains IMetadatas
Method Detail

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