org.openprovenance.model.collections
Class CollectionFactory

java.lang.Object
  extended by org.openprovenance.model.collections.CollectionFactory
All Implemented Interfaces:
CollectionURIs

public class CollectionFactory
extends Object
implements CollectionURIs

An extended Factory of OPM objects related to Collections. Needs to be moved in a separate module probably, since it is an extension


Field Summary
 
Fields inherited from interface org.openprovenance.model.collections.CollectionURIs
ACCESSOR, CONSTRUCTOR, CONTAINED, WASCOPYOF, WASIDENTICALTO, WASMAPPEDFROM, WASPARTOF
 
Constructor Summary
CollectionFactory(OPMFactory oFactory)
           
 
Method Summary
 WasDerivedFrom newContained(String id, Artifact a1, Artifact a2, Collection<Account> accounts)
           
 WasDerivedFrom newWasIdenticalTo(String id, Artifact a1, Artifact a2, Collection<Account> accounts)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionFactory

public CollectionFactory(OPMFactory oFactory)
Method Detail

newContained

public WasDerivedFrom newContained(String id,
                                   Artifact a1,
                                   Artifact a2,
                                   Collection<Account> accounts)

newWasIdenticalTo

public WasDerivedFrom newWasIdenticalTo(String id,
                                        Artifact a1,
                                        Artifact a2,
                                        Collection<Account> accounts)


Copyright © 2011. All Rights Reserved.