org.embl.ebi.escience.scuflui.shared
Class ScuflModelSet
java.lang.Object
org.embl.ebi.escience.scuflui.shared.ScuflModelSet
public class ScuflModelSet
- extends java.lang.Object
A collection of open workflow models. A listener can be provided to make is possible to detect
the addition and removal of models.
- Author:
- Stuart Owen, Stian Soiland
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static ScuflModelSet getInstance()
- Singleton constructor
- Returns:
- Singleton instance of ScuflModelSet
isEmpty
public boolean isEmpty()
size
public int size()
getModels
public java.util.Set<ScuflModel> getModels()
addListener
public void addListener(ScuflModelSet.ScuflModelSetListener listener)
removeListener
public void removeListener(ScuflModelSet.ScuflModelSetListener listener)
addModel
public void addModel(ScuflModel model)
removeModel
public void removeModel(ScuflModel model)