au.edu.jcu.hermes.plugin.mcat
Class MCATModel

java.lang.Object
  extended by au.edu.jcu.hermes.plugin.mcat.MCATModel
All Implemented Interfaces:
IMCATModel

public class MCATModel
extends java.lang.Object
implements IMCATModel

Author: Mathew Wyatt Organisation: James Cook University Date: Nov 14, 2007 Time: 9:41:03 AM


Constructor Summary
MCATModel()
           
 
Method Summary
 void addNonSRBFileListener(java.awt.event.ActionListener listener)
          Add the listeners
 java.util.List<MetaDataElement> getMetadata(FileObject selectedObject)
          Return the current "user defined" metadata for a given object
 void setMetadata(java.util.List<MetaDataElement> metadata)
          Sets the metadata for the current object in view (when an object is selected the getMetadata funciotn is called first which sets the state of the MCATModel)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MCATModel

public MCATModel()
Method Detail

addNonSRBFileListener

public void addNonSRBFileListener(java.awt.event.ActionListener listener)
Add the listeners

Specified by:
addNonSRBFileListener in interface IMCATModel
Parameters:
listener -

setMetadata

public void setMetadata(java.util.List<MetaDataElement> metadata)
Sets the metadata for the current object in view (when an object is selected the getMetadata funciotn is called first which sets the state of the MCATModel)

Specified by:
setMetadata in interface IMCATModel
Parameters:
metadata -

getMetadata

public java.util.List<MetaDataElement> getMetadata(FileObject selectedObject)
Return the current "user defined" metadata for a given object

Specified by:
getMetadata in interface IMCATModel
Parameters:
selectedObject -
Returns: