public class JSONConstructor extends Object implements ModelConstructor
| Constructor and Description |
|---|
JSONConstructor(Name name) |
public JSONConstructor(Name name)
public Map<String,Object> getJSONStructure(List<org.openprovenance.prov.json.JSONConstructor.JsonProvRecord> records, Namespace namespace)
public Entity newEntity(QualifiedName id, Collection<Attribute> attributes)
newEntity in interface ModelConstructorpublic Activity newActivity(QualifiedName id, XMLGregorianCalendar startTime, XMLGregorianCalendar endTime, Collection<Attribute> attributes)
newActivity in interface ModelConstructorpublic Agent newAgent(QualifiedName id, Collection<Attribute> attributes)
newAgent in interface ModelConstructorpublic Used newUsed(QualifiedName id, QualifiedName activity, QualifiedName entity, XMLGregorianCalendar time, Collection<Attribute> attributes)
newUsed in interface ModelConstructorpublic WasGeneratedBy newWasGeneratedBy(QualifiedName id, QualifiedName entity, QualifiedName activity, XMLGregorianCalendar time, Collection<Attribute> attributes)
newWasGeneratedBy in interface ModelConstructorpublic WasInvalidatedBy newWasInvalidatedBy(QualifiedName id, QualifiedName entity, QualifiedName activity, XMLGregorianCalendar time, Collection<Attribute> attributes)
newWasInvalidatedBy in interface ModelConstructorpublic WasStartedBy newWasStartedBy(QualifiedName id, QualifiedName activity, QualifiedName trigger, QualifiedName starter, XMLGregorianCalendar time, Collection<Attribute> attributes)
newWasStartedBy in interface ModelConstructorpublic WasEndedBy newWasEndedBy(QualifiedName id, QualifiedName activity, QualifiedName trigger, QualifiedName ender, XMLGregorianCalendar time, Collection<Attribute> attributes)
newWasEndedBy in interface ModelConstructorpublic WasDerivedFrom newWasDerivedFrom(QualifiedName id, QualifiedName e2, QualifiedName e1, QualifiedName activity, QualifiedName generation, QualifiedName usage, Collection<Attribute> attributes)
newWasDerivedFrom in interface ModelConstructorpublic WasAssociatedWith newWasAssociatedWith(QualifiedName id, QualifiedName a, QualifiedName ag, QualifiedName plan, Collection<Attribute> attributes)
newWasAssociatedWith in interface ModelConstructorpublic WasAttributedTo newWasAttributedTo(QualifiedName id, QualifiedName e, QualifiedName ag, Collection<Attribute> attributes)
newWasAttributedTo in interface ModelConstructorpublic ActedOnBehalfOf newActedOnBehalfOf(QualifiedName id, QualifiedName ag2, QualifiedName ag1, QualifiedName a, Collection<Attribute> attributes)
newActedOnBehalfOf in interface ModelConstructorpublic WasInformedBy newWasInformedBy(QualifiedName id, QualifiedName a2, QualifiedName a1, Collection<Attribute> attributes)
newWasInformedBy in interface ModelConstructorpublic WasInfluencedBy newWasInfluencedBy(QualifiedName id, QualifiedName a2, QualifiedName a1, Collection<Attribute> attributes)
newWasInfluencedBy in interface ModelConstructorpublic AlternateOf newAlternateOf(QualifiedName e2, QualifiedName e1)
newAlternateOf in interface ModelConstructorpublic SpecializationOf newSpecializationOf(QualifiedName e2, QualifiedName e1)
newSpecializationOf in interface ModelConstructorpublic MentionOf newMentionOf(QualifiedName e2, QualifiedName e1, QualifiedName b)
newMentionOf in interface ModelConstructorpublic HadMember newHadMember(QualifiedName c, Collection<QualifiedName> e)
newHadMember in interface ModelConstructorpublic Document newDocument(Namespace namespaces, Collection<Statement> statements, Collection<Bundle> bundles)
newDocument in interface ModelConstructorpublic Bundle newNamedBundle(QualifiedName id, Namespace namespaces, Collection<Statement> statements)
newNamedBundle in interface ModelConstructorpublic void startDocument(Namespace namespace)
startDocument in interface ModelConstructorpublic void startBundle(QualifiedName bundleId, Namespace namespaces)
startBundle in interface ModelConstructorpublic DerivedByInsertionFrom newDerivedByInsertionFrom(QualifiedName id, QualifiedName after, QualifiedName before, List<Entry> keyEntitySet, Collection<Attribute> attributes)
newDerivedByInsertionFrom in interface ModelConstructorpublic DerivedByRemovalFrom newDerivedByRemovalFrom(QualifiedName id, QualifiedName after, QualifiedName before, List<Key> keys, Collection<Attribute> attributes)
newDerivedByRemovalFrom in interface ModelConstructorpublic DictionaryMembership newDictionaryMembership(QualifiedName dict, List<Entry> keyEntitySet)
newDictionaryMembership in interface ModelConstructorpublic QualifiedName newQualifiedName(String namespace, String local, String prefix)
newQualifiedName in interface ModelConstructorCopyright © 2015. All rights reserved.