SigPath

org.sigpath.datamodel.lset
Class CollectableImpl

java.lang.Object
  extended by org.sigpath.datamodel.lset.CollectableImpl
All Implemented Interfaces:
Collectable
Direct Known Subclasses:
Keyword, SigPathEntityImpl

public class CollectableImpl
extends Object
implements Collectable

Standard implementation of an Collectable. This class can be subclassed to make the subclass Collectable as well (or any class can implement the Collectable interface itself performing the same basic operations as implemented here).

Author:
Wolfram Kaiser

Constructor Summary
CollectableImpl()
          Standard constructor for Collectables
 
Method Summary
protected  void createCollectionsSet()
          Factory method to create an internal set which holds all collections to which the Collectable belongs.
 Collection getCollections()
          Return all collections in which this Collectable is an element of
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectableImpl

public CollectableImpl()
Standard constructor for Collectables

Method Detail

getCollections

public Collection getCollections()
Return all collections in which this Collectable is an element of

Specified by:
getCollections in interface Collectable

createCollectionsSet

protected void createCollectionsSet()
Factory method to create an internal set which holds all collections to which the Collectable belongs. This method creates a SetOfObjects and is called in the constructor.


SigPath

Copyright © 2002-2005 Institute for Computational Biomedicine, All Rights Reserved.