org.openprovenance.model
Class OPMFactory
java.lang.Object
org.openprovenance.model.OPMFactory
- All Implemented Interfaces:
- CommonURIs
- Direct Known Subclasses:
- RdfOPMFactory
public class OPMFactory
- extends Object
- implements CommonURIs
A stateless factory of OPM objects.
Fields inherited from interface org.openprovenance.model.CommonURIs |
ENCODING_PROPERTY, LABEL_PROPERTY, NEW_ENCODING_PROPERTY, NEW_LABEL_PROPERTY, NEW_PNAME_PROPERTY, NEW_PROFILE_PROPERTY, NEW_TYPE_PROPERTY, NEW_VALUE_PROPERTY, PNAME_PROPERTY, PROFILE_PROPERTY, TYPE_PROPERTY, VALUE_PROPERTY |
Method Summary |
void |
addAccounts(HasAccounts element,
Collection<Account> accounts,
Object ignoreForErasure)
|
void |
addAccounts(HasAccounts element,
Collection<AccountRef> accounts)
|
void |
addAnnotation(Annotable annotable,
EmbeddedAnnotation ann)
|
void |
addAnnotation(Annotable annotable,
javax.xml.bind.JAXBElement<? extends EmbeddedAnnotation> ann)
|
void |
addAnnotation(Annotable annotable,
Label ann)
|
void |
addAnnotation(Annotable annotable,
List<EmbeddedAnnotation> anns)
|
void |
addAnnotation(Annotable annotable,
PName ann)
|
void |
addAnnotation(Annotable annotable,
Profile ann)
|
void |
addAnnotation(Annotable annotable,
Value ann)
|
void |
addAnnotations(Annotable annotable,
List<javax.xml.bind.JAXBElement<? extends EmbeddedAnnotation>> anns)
|
void |
addCompactAnnotation(Annotable annotable,
List<EmbeddedAnnotation> anns)
|
void |
addNewAnnotations(Annotable res,
List<javax.xml.bind.JAXBElement<? extends EmbeddedAnnotation>> anns)
|
void |
addProperty(Annotation ann,
List<Property> p)
|
void |
addProperty(Annotation ann,
Property p)
|
void |
addProperty(EmbeddedAnnotation ann,
List<Property> p)
|
void |
addProperty(EmbeddedAnnotation ann,
Property p)
|
void |
addValue(Artifact annotable,
Object value,
String encoding)
|
String |
autoGenerateId(String prefix)
By default, no auto generation of Id. |
String |
autoGenerateId(String prefix,
String id)
Conditional autogeneration of Id. |
javax.xml.bind.JAXBElement<? extends EmbeddedAnnotation> |
compactAnnotation(EmbeddedAnnotation ann)
|
void |
expandAnnotation(EmbeddedAnnotation ann)
|
String |
getEncoding(EmbeddedAnnotation annotation)
|
static OPMFactory |
getFactory()
|
String |
getLabel(Annotable annotable)
Generic accessor for annotable entities. |
String |
getLabel(EmbeddedAnnotation annotation)
|
String |
getLabel(List<javax.xml.bind.JAXBElement<? extends EmbeddedAnnotation>> annotations)
Return the value of the label property in the first annotation. |
List<String> |
getLabels(List<javax.xml.bind.JAXBElement<? extends EmbeddedAnnotation>> annotations)
Return the value of the label property. |
ObjectFactory |
getObjectFactory()
|
String |
getPackageList()
|
String |
getPname(Annotable annotable)
Generic accessor for annotable entities. |
String |
getPname(EmbeddedAnnotation annotation)
|
String |
getPname(List<javax.xml.bind.JAXBElement<? extends EmbeddedAnnotation>> annotations)
Return the value of the pname property in the first annotation. |
List<String> |
getPnames(List<javax.xml.bind.JAXBElement<? extends EmbeddedAnnotation>> annotations)
Return the value of the pname property. |
String |
getProfile(Annotable annotable)
Generic accessor for annotable entities. |
String |
getProfile(EmbeddedAnnotation annotation)
|
String |
getProfile(List<javax.xml.bind.JAXBElement<? extends EmbeddedAnnotation>> annotations)
Return the value of the profile property in the first annotation. |
List<String> |
getProfiles(List<javax.xml.bind.JAXBElement<? extends EmbeddedAnnotation>> annotations)
Return the value of the profile property. |
Role |
getRole(Edge e)
|
String |
getType(Annotable annotable)
Generic accessor for annotable entities. |
String |
getType(EmbeddedAnnotation annotation)
|
String |
getType(List<javax.xml.bind.JAXBElement<? extends EmbeddedAnnotation>> annotations)
Return the value of the type property in the first annotation. |
List<String> |
getTypes(List<javax.xml.bind.JAXBElement<? extends EmbeddedAnnotation>> annotations)
Return the value of the type property. |
Object |
getValue(EmbeddedAnnotation annotation)
|
Object |
getValue(List<javax.xml.bind.JAXBElement<? extends EmbeddedAnnotation>> annotations)
Return the value of the value property in the first annotation. |
List<Object> |
getValues(List<javax.xml.bind.JAXBElement<? extends EmbeddedAnnotation>> annotations)
Return the value of the value property. |
Account |
newAccount(Account acc)
|
Account |
newAccount(String id)
|
Account |
newAccount(String id,
String label)
|
AccountRef |
newAccountRef(Account acc)
|
Accounts |
newAccounts(Collection<Account> accs,
Collection<Overlaps> ovlps)
|
Agent |
newAgent(Agent a)
|
Agent |
newAgent(String ag,
Collection<Account> accounts)
|
Agent |
newAgent(String ag,
Collection<Account> accounts,
String label)
|
AgentRef |
newAgentRef(Agent a)
|
Annotation |
newAnnotation(Annotation ann)
|
Annotation |
newAnnotation(String id,
Annotation a,
String property,
Object value,
Collection<Account> accs)
|
Annotation |
newAnnotation(String id,
Artifact a,
String property,
Object value,
Collection<Account> accs)
|
Annotation |
newAnnotation(String id,
Object o,
List<Property> properties,
Collection<AccountRef> accs)
|
Annotation |
newAnnotation(String id,
Process p,
String property,
Object value,
Collection<Account> accs)
|
Annotation |
newAnnotation(String id,
Ref ref,
String property,
Object value,
Collection<AccountRef> accs)
|
Annotation |
newAnnotation(String id,
Role role,
String property,
Object value,
Collection<Account> accs)
|
Annotation |
newAnnotation(String id,
Used edge,
String property,
Object value,
Collection<Account> accs)
|
Annotation |
newAnnotation(String id,
WasControlledBy edge,
String property,
Object value,
Collection<Account> accs)
|
Annotation |
newAnnotation(String id,
WasDerivedFrom edge,
String property,
Object value,
Collection<Account> accs)
|
Annotation |
newAnnotation(String id,
WasGeneratedBy edge,
String property,
Object value,
Collection<Account> accs)
|
Annotation |
newAnnotation(String id,
WasTriggeredBy edge,
String property,
Object value,
Collection<Account> accs)
|
AnnotationRef |
newAnnotationRef(Annotation a)
|
Artifact |
newArtifact(Artifact a)
|
Artifact |
newArtifact(String id,
Collection<Account> accounts)
|
Artifact |
newArtifact(String id,
Collection<Account> accounts,
String label)
|
ArtifactRef |
newArtifactRef(Artifact a)
|
CausalDependencyRef |
newCausalDependencyRef(Used edge)
|
CausalDependencyRef |
newCausalDependencyRef(WasControlledBy edge)
|
CausalDependencyRef |
newCausalDependencyRef(WasDerivedFrom edge)
|
CausalDependencyRef |
newCausalDependencyRef(WasGeneratedBy edge)
|
CausalDependencyRef |
newCausalDependencyRef(WasTriggeredBy edge)
|
EmbeddedAnnotation |
newEmbeddedAnnotation(String id,
List<Property> properties,
Collection<AccountRef> accs,
Object dummyParameterForAvoidingSameErasure)
|
EmbeddedAnnotation |
newEmbeddedAnnotation(String id,
String property,
Object value,
Collection<Account> accs)
|
EmbeddedAnnotation |
newEmbeddedAnnotation(String id,
String property,
Object value,
Collection<AccountRef> accs,
Object dummyParameterForAvoidingSameErasure)
|
OTime |
newInstantaneousTime(Date date)
|
OTime |
newInstantaneousTime(String value)
|
OTime |
newInstantaneousTime(XMLGregorianCalendar point)
|
OTime |
newInstantaneousTimeNow()
|
Label |
newLabel(String label)
|
OPMGraph |
newOPMGraph(Accounts accs,
Processes ps,
Artifacts as,
Agents ags,
CausalDependencies lks)
|
OPMGraph |
newOPMGraph(Accounts accs,
Processes ps,
Artifacts as,
Agents ags,
CausalDependencies lks,
Annotations anns)
|
OPMGraph |
newOPMGraph(Collection<Account> accs,
Collection<Overlaps> ops,
Collection<Process> ps,
Collection<Artifact> as,
Collection<Agent> ags,
Collection<Object> lks)
|
OPMGraph |
newOPMGraph(Collection<Account> accs,
Collection<Overlaps> ops,
Collection<Process> ps,
Collection<Artifact> as,
Collection<Agent> ags,
Collection<Object> lks,
Collection<Annotation> anns)
|
OPMGraph |
newOPMGraph(Collection<Account> accs,
Overlaps[] ovs,
Process[] ps,
Artifact[] as,
Agent[] ags,
Object[] lks)
|
OPMGraph |
newOPMGraph(Collection<Account> accs,
Overlaps[] ovs,
Process[] ps,
Artifact[] as,
Agent[] ags,
Object[] lks,
Annotation[] anns)
|
OPMGraph |
newOPMGraph(OPMGraph graph)
|
OPMGraph |
newOPMGraph(String id,
Collection<Account> accs,
Collection<Overlaps> ops,
Collection<Process> ps,
Collection<Artifact> as,
Collection<Agent> ags,
Collection<Object> lks,
Collection<Annotation> anns)
|
OPMGraph |
newOPMGraph(String id,
Collection<Account> accs,
Overlaps[] ovs,
Process[] ps,
Artifact[] as,
Agent[] ags,
Object[] lks,
Annotation[] anns)
|
OTime |
newOTime(Date date)
|
OTime |
newOTime(Date date1,
Date date2)
|
OTime |
newOTime(OTime time)
|
OTime |
newOTime(String value1,
String value2)
|
OTime |
newOTime(XMLGregorianCalendar point)
|
OTime |
newOTime(XMLGregorianCalendar point1,
XMLGregorianCalendar point2)
|
OTime |
newOTime(XMLGregorianCalendar point1,
XMLGregorianCalendar point2,
XMLGregorianCalendar point3)
|
Overlaps |
newOverlaps(AccountRef aid1,
AccountRef aid2)
|
Overlaps |
newOverlaps(Collection<Account> accounts)
|
PName |
newPName(String profile)
|
Process |
newProcess(Process a)
|
Process |
newProcess(String pr,
Collection<Account> accounts)
|
Process |
newProcess(String pr,
Collection<Account> accounts,
String label)
|
ProcessRef |
newProcessRef(Process p)
|
Profile |
newProfile(String profile)
|
Property |
newProperty(Property property)
|
Property |
newProperty(String property,
Object value)
|
Role |
newRole(Role role)
|
Role |
newRole(String value)
|
Role |
newRole(String id,
String value)
|
RoleRef |
newRoleRef(Role p)
|
Type |
newType(String type)
|
Used |
newUsed(Process p,
Role role,
Artifact a,
Collection<Account> accounts)
|
Used |
newUsed(String id,
ProcessRef pid,
Role role,
ArtifactRef aid,
Collection<AccountRef> accounts)
|
Used |
newUsed(String id,
Process p,
Role role,
Artifact a,
Collection<Account> accounts)
|
Used |
newUsed(String id,
Process p,
Role role,
Artifact a,
String type,
Collection<Account> accounts)
|
Used |
newUsed(Used u)
|
UsedStar |
newUsedStar(Process p,
Artifact a,
Collection<Account> accounts)
|
UsedStar |
newUsedStar(ProcessRef pid,
ArtifactRef aid,
Collection<AccountRef> accounts)
|
Value |
newValue(Object value,
String encoding)
|
WasControlledBy |
newWasControlledBy(ProcessRef pid,
Role role,
AgentRef agid,
Collection<AccountRef> accounts)
|
WasControlledBy |
newWasControlledBy(Process p,
Role role,
Agent ag,
Collection<Account> accounts)
|
WasControlledBy |
newWasControlledBy(String id,
ProcessRef pid,
Role role,
AgentRef agid,
Collection<AccountRef> accounts)
|
WasControlledBy |
newWasControlledBy(String id,
Process p,
Role role,
Agent ag,
Collection<Account> accounts)
|
WasControlledBy |
newWasControlledBy(String id,
Process p,
Role role,
Agent ag,
String type,
Collection<Account> accounts)
|
WasControlledBy |
newWasControlledBy(WasControlledBy c)
|
WasDerivedFrom |
newWasDerivedFrom(Artifact a1,
Artifact a2,
Collection<Account> accounts)
|
WasDerivedFrom |
newWasDerivedFrom(String id,
Artifact a1,
Artifact a2,
Collection<Account> accounts)
|
WasDerivedFrom |
newWasDerivedFrom(String id,
Artifact a1,
Artifact a2,
String type,
Collection<Account> accounts)
|
WasDerivedFrom |
newWasDerivedFrom(String id,
ArtifactRef aid1,
ArtifactRef aid2,
Collection<AccountRef> accounts)
|
WasDerivedFrom |
newWasDerivedFrom(WasDerivedFrom d)
|
WasDerivedFromStar |
newWasDerivedFromStar(Artifact a1,
Artifact a2,
Collection<Account> accounts)
|
WasDerivedFromStar |
newWasDerivedFromStar(ArtifactRef aid1,
ArtifactRef aid2,
Collection<AccountRef> accounts)
|
WasGeneratedBy |
newWasGeneratedBy(Artifact a,
Role role,
Process p,
Collection<Account> accounts)
|
WasGeneratedBy |
newWasGeneratedBy(String id,
ArtifactRef aid,
Role role,
ProcessRef pid,
Collection<AccountRef> accounts)
|
WasGeneratedBy |
newWasGeneratedBy(String id,
Artifact a,
Role role,
Process p,
Collection<Account> accounts)
|
WasGeneratedBy |
newWasGeneratedBy(String id,
Artifact a,
Role role,
Process p,
String type,
Collection<Account> accounts)
|
WasGeneratedBy |
newWasGeneratedBy(WasGeneratedBy g)
|
WasGeneratedByStar |
newWasGeneratedByStar(Artifact a,
Process p,
Collection<Account> accounts)
|
WasGeneratedByStar |
newWasGeneratedByStar(ArtifactRef aid,
ProcessRef pid,
Collection<AccountRef> accounts)
|
WasTriggeredBy |
newWasTriggeredBy(Process p1,
Process p2,
Collection<Account> accounts)
|
WasTriggeredBy |
newWasTriggeredBy(String id,
Process p1,
Process p2,
Collection<Account> accounts)
|
WasTriggeredBy |
newWasTriggeredBy(String id,
Process p1,
Process p2,
String type,
Collection<Account> accounts)
|
WasTriggeredBy |
newWasTriggeredBy(String id,
ProcessRef pid1,
ProcessRef pid2,
Collection<AccountRef> accounts)
|
WasTriggeredBy |
newWasTriggeredBy(WasTriggeredBy d)
|
WasTriggeredByStar |
newWasTriggeredByStar(Process p1,
Process p2,
Collection<Account> accounts)
|
WasTriggeredByStar |
newWasTriggeredByStar(ProcessRef pid1,
ProcessRef pid2,
Collection<AccountRef> accounts)
|
XMLGregorianCalendar |
newXMLGregorianCalendar(GregorianCalendar gc)
|
void |
setIdForCompactAnnotation(EmbeddedAnnotation ann,
String id)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
roleIdPrefix
public static String roleIdPrefix
usedIdPrefix
public static String usedIdPrefix
wasGenerateByIdPrefix
public static String wasGenerateByIdPrefix
wasDerivedFromIdPrefix
public static String wasDerivedFromIdPrefix
wasTriggeredByIdPrefix
public static String wasTriggeredByIdPrefix
wasControlledByIdPrefix
public static String wasControlledByIdPrefix
opmGraphIdPrefix
public static String opmGraphIdPrefix
packageList
public static final String packageList
- See Also:
- Constant Field Values
of
protected ObjectFactory of
dataFactory
protected DatatypeFactory dataFactory
compactId
public boolean compactId
builder
public static DocumentBuilder builder
OPMFactory
public OPMFactory()
OPMFactory
public OPMFactory(ObjectFactory of)
getPackageList
public String getPackageList()
getFactory
public static OPMFactory getFactory()
getObjectFactory
public ObjectFactory getObjectFactory()
newProcessRef
public ProcessRef newProcessRef(Process p)
newRoleRef
public RoleRef newRoleRef(Role p)
newAnnotationRef
public AnnotationRef newAnnotationRef(Annotation a)
newArtifactRef
public ArtifactRef newArtifactRef(Artifact a)
newAgentRef
public AgentRef newAgentRef(Agent a)
newAccountRef
public AccountRef newAccountRef(Account acc)
newCausalDependencyRef
public CausalDependencyRef newCausalDependencyRef(WasGeneratedBy edge)
newCausalDependencyRef
public CausalDependencyRef newCausalDependencyRef(Used edge)
newCausalDependencyRef
public CausalDependencyRef newCausalDependencyRef(WasDerivedFrom edge)
newCausalDependencyRef
public CausalDependencyRef newCausalDependencyRef(WasControlledBy edge)
newCausalDependencyRef
public CausalDependencyRef newCausalDependencyRef(WasTriggeredBy edge)
newProcess
public Process newProcess(String pr,
Collection<Account> accounts)
newProcess
public Process newProcess(String pr,
Collection<Account> accounts,
String label)
newAgent
public Agent newAgent(String ag,
Collection<Account> accounts)
newAgent
public Agent newAgent(String ag,
Collection<Account> accounts,
String label)
newAccount
public Account newAccount(String id)
newAccount
public Account newAccount(String id,
String label)
newLabel
public Label newLabel(String label)
newValue
public Value newValue(Object value,
String encoding)
newProfile
public Profile newProfile(String profile)
newPName
public PName newPName(String profile)
getRole
public Role getRole(Edge e)
getLabel
public String getLabel(EmbeddedAnnotation annotation)
getType
public String getType(EmbeddedAnnotation annotation)
getValue
public Object getValue(EmbeddedAnnotation annotation)
getEncoding
public String getEncoding(EmbeddedAnnotation annotation)
getProfile
public String getProfile(EmbeddedAnnotation annotation)
getPname
public String getPname(EmbeddedAnnotation annotation)
getValue
public Object getValue(List<javax.xml.bind.JAXBElement<? extends EmbeddedAnnotation>> annotations)
- Return the value of the value property in the first annotation.
getLabel
public String getLabel(List<javax.xml.bind.JAXBElement<? extends EmbeddedAnnotation>> annotations)
- Return the value of the label property in the first annotation.
getType
public String getType(List<javax.xml.bind.JAXBElement<? extends EmbeddedAnnotation>> annotations)
- Return the value of the type property in the first annotation.
getProfile
public String getProfile(List<javax.xml.bind.JAXBElement<? extends EmbeddedAnnotation>> annotations)
- Return the value of the profile property in the first annotation.
getPname
public String getPname(List<javax.xml.bind.JAXBElement<? extends EmbeddedAnnotation>> annotations)
- Return the value of the pname property in the first annotation.
getValues
public List<Object> getValues(List<javax.xml.bind.JAXBElement<? extends EmbeddedAnnotation>> annotations)
- Return the value of the value property.
getLabels
public List<String> getLabels(List<javax.xml.bind.JAXBElement<? extends EmbeddedAnnotation>> annotations)
- Return the value of the label property.
getTypes
public List<String> getTypes(List<javax.xml.bind.JAXBElement<? extends EmbeddedAnnotation>> annotations)
- Return the value of the type property.
getProfiles
public List<String> getProfiles(List<javax.xml.bind.JAXBElement<? extends EmbeddedAnnotation>> annotations)
- Return the value of the profile property.
getPnames
public List<String> getPnames(List<javax.xml.bind.JAXBElement<? extends EmbeddedAnnotation>> annotations)
- Return the value of the pname property.
getLabel
public String getLabel(Annotable annotable)
- Generic accessor for annotable entities.
getType
public String getType(Annotable annotable)
- Generic accessor for annotable entities.
getProfile
public String getProfile(Annotable annotable)
- Generic accessor for annotable entities.
getPname
public String getPname(Annotable annotable)
- Generic accessor for annotable entities.
newType
public Type newType(String type)
addValue
public void addValue(Artifact annotable,
Object value,
String encoding)
addAnnotation
public void addAnnotation(Annotable annotable,
Label ann)
addAnnotation
public void addAnnotation(Annotable annotable,
Value ann)
addAnnotation
public void addAnnotation(Annotable annotable,
Profile ann)
addAnnotation
public void addAnnotation(Annotable annotable,
PName ann)
addAnnotation
public void addAnnotation(Annotable annotable,
EmbeddedAnnotation ann)
addAnnotation
public void addAnnotation(Annotable annotable,
javax.xml.bind.JAXBElement<? extends EmbeddedAnnotation> ann)
addAnnotations
public void addAnnotations(Annotable annotable,
List<javax.xml.bind.JAXBElement<? extends EmbeddedAnnotation>> anns)
expandAnnotation
public void expandAnnotation(EmbeddedAnnotation ann)
compactAnnotation
public javax.xml.bind.JAXBElement<? extends EmbeddedAnnotation> compactAnnotation(EmbeddedAnnotation ann)
newXMLGregorianCalendar
public XMLGregorianCalendar newXMLGregorianCalendar(GregorianCalendar gc)
newOTime
public OTime newOTime(OTime time)
newOTime
public OTime newOTime(XMLGregorianCalendar point1,
XMLGregorianCalendar point2,
XMLGregorianCalendar point3)
newOTime
public OTime newOTime(XMLGregorianCalendar point1,
XMLGregorianCalendar point2)
newOTime
public OTime newOTime(XMLGregorianCalendar point)
newOTime
public OTime newOTime(String value1,
String value2)
newOTime
public OTime newOTime(Date date1,
Date date2)
newOTime
public OTime newOTime(Date date)
newInstantaneousTime
public OTime newInstantaneousTime(XMLGregorianCalendar point)
newInstantaneousTime
public OTime newInstantaneousTime(String value)
newInstantaneousTime
public OTime newInstantaneousTime(Date date)
newInstantaneousTimeNow
public OTime newInstantaneousTimeNow()
setIdForCompactAnnotation
public void setIdForCompactAnnotation(EmbeddedAnnotation ann,
String id)
addAnnotation
public void addAnnotation(Annotable annotable,
List<EmbeddedAnnotation> anns)
addCompactAnnotation
public void addCompactAnnotation(Annotable annotable,
List<EmbeddedAnnotation> anns)
newOverlaps
public Overlaps newOverlaps(Collection<Account> accounts)
newOverlaps
public Overlaps newOverlaps(AccountRef aid1,
AccountRef aid2)
autoGenerateId
public String autoGenerateId(String prefix)
- By default, no auto generation of Id. Override this behaviour if required.
autoGenerateId
public String autoGenerateId(String prefix,
String id)
- Conditional autogeneration of Id. By default, no auto
generation of Id. Override this behaviour if required.
newRole
public Role newRole(String value)
newRole
public Role newRole(Role role)
newRole
public Role newRole(String id,
String value)
newArtifact
public Artifact newArtifact(Artifact a)
newProcess
public Process newProcess(Process a)
newAgent
public Agent newAgent(Agent a)
newAccount
public Account newAccount(Account acc)
addNewAnnotations
public void addNewAnnotations(Annotable res,
List<javax.xml.bind.JAXBElement<? extends EmbeddedAnnotation>> anns)
newArtifact
public Artifact newArtifact(String id,
Collection<Account> accounts)
newArtifact
public Artifact newArtifact(String id,
Collection<Account> accounts,
String label)
addAccounts
public void addAccounts(HasAccounts element,
Collection<Account> accounts,
Object ignoreForErasure)
addAccounts
public void addAccounts(HasAccounts element,
Collection<AccountRef> accounts)
newUsed
public Used newUsed(String id,
ProcessRef pid,
Role role,
ArtifactRef aid,
Collection<AccountRef> accounts)
newUsedStar
public UsedStar newUsedStar(ProcessRef pid,
ArtifactRef aid,
Collection<AccountRef> accounts)
newUsed
public Used newUsed(Process p,
Role role,
Artifact a,
Collection<Account> accounts)
newUsed
public Used newUsed(String id,
Process p,
Role role,
Artifact a,
Collection<Account> accounts)
newUsedStar
public UsedStar newUsedStar(Process p,
Artifact a,
Collection<Account> accounts)
newUsed
public Used newUsed(String id,
Process p,
Role role,
Artifact a,
String type,
Collection<Account> accounts)
newUsed
public Used newUsed(Used u)
newWasControlledBy
public WasControlledBy newWasControlledBy(WasControlledBy c)
newWasGeneratedBy
public WasGeneratedBy newWasGeneratedBy(WasGeneratedBy g)
newWasDerivedFrom
public WasDerivedFrom newWasDerivedFrom(WasDerivedFrom d)
newWasTriggeredBy
public WasTriggeredBy newWasTriggeredBy(WasTriggeredBy d)
newWasGeneratedBy
public WasGeneratedBy newWasGeneratedBy(String id,
ArtifactRef aid,
Role role,
ProcessRef pid,
Collection<AccountRef> accounts)
newWasGeneratedByStar
public WasGeneratedByStar newWasGeneratedByStar(ArtifactRef aid,
ProcessRef pid,
Collection<AccountRef> accounts)
newWasGeneratedBy
public WasGeneratedBy newWasGeneratedBy(Artifact a,
Role role,
Process p,
Collection<Account> accounts)
newWasGeneratedBy
public WasGeneratedBy newWasGeneratedBy(String id,
Artifact a,
Role role,
Process p,
Collection<Account> accounts)
newWasGeneratedByStar
public WasGeneratedByStar newWasGeneratedByStar(Artifact a,
Process p,
Collection<Account> accounts)
newWasGeneratedBy
public WasGeneratedBy newWasGeneratedBy(String id,
Artifact a,
Role role,
Process p,
String type,
Collection<Account> accounts)
newWasControlledBy
public WasControlledBy newWasControlledBy(ProcessRef pid,
Role role,
AgentRef agid,
Collection<AccountRef> accounts)
newWasControlledBy
public WasControlledBy newWasControlledBy(String id,
ProcessRef pid,
Role role,
AgentRef agid,
Collection<AccountRef> accounts)
newWasControlledBy
public WasControlledBy newWasControlledBy(Process p,
Role role,
Agent ag,
Collection<Account> accounts)
newWasControlledBy
public WasControlledBy newWasControlledBy(String id,
Process p,
Role role,
Agent ag,
Collection<Account> accounts)
newWasControlledBy
public WasControlledBy newWasControlledBy(String id,
Process p,
Role role,
Agent ag,
String type,
Collection<Account> accounts)
newWasDerivedFrom
public WasDerivedFrom newWasDerivedFrom(String id,
ArtifactRef aid1,
ArtifactRef aid2,
Collection<AccountRef> accounts)
newWasDerivedFromStar
public WasDerivedFromStar newWasDerivedFromStar(ArtifactRef aid1,
ArtifactRef aid2,
Collection<AccountRef> accounts)
newWasDerivedFrom
public WasDerivedFrom newWasDerivedFrom(Artifact a1,
Artifact a2,
Collection<Account> accounts)
newWasDerivedFrom
public WasDerivedFrom newWasDerivedFrom(String id,
Artifact a1,
Artifact a2,
Collection<Account> accounts)
newWasDerivedFromStar
public WasDerivedFromStar newWasDerivedFromStar(Artifact a1,
Artifact a2,
Collection<Account> accounts)
newWasDerivedFrom
public WasDerivedFrom newWasDerivedFrom(String id,
Artifact a1,
Artifact a2,
String type,
Collection<Account> accounts)
newWasTriggeredBy
public WasTriggeredBy newWasTriggeredBy(String id,
ProcessRef pid1,
ProcessRef pid2,
Collection<AccountRef> accounts)
newWasTriggeredByStar
public WasTriggeredByStar newWasTriggeredByStar(ProcessRef pid1,
ProcessRef pid2,
Collection<AccountRef> accounts)
newWasTriggeredBy
public WasTriggeredBy newWasTriggeredBy(Process p1,
Process p2,
Collection<Account> accounts)
newWasTriggeredBy
public WasTriggeredBy newWasTriggeredBy(String id,
Process p1,
Process p2,
Collection<Account> accounts)
newWasTriggeredByStar
public WasTriggeredByStar newWasTriggeredByStar(Process p1,
Process p2,
Collection<Account> accounts)
newWasTriggeredBy
public WasTriggeredBy newWasTriggeredBy(String id,
Process p1,
Process p2,
String type,
Collection<Account> accounts)
newEmbeddedAnnotation
public EmbeddedAnnotation newEmbeddedAnnotation(String id,
String property,
Object value,
Collection<Account> accs)
newAnnotation
public Annotation newAnnotation(String id,
Artifact a,
String property,
Object value,
Collection<Account> accs)
newAnnotation
public Annotation newAnnotation(String id,
Process p,
String property,
Object value,
Collection<Account> accs)
newAnnotation
public Annotation newAnnotation(String id,
Annotation a,
String property,
Object value,
Collection<Account> accs)
newAnnotation
public Annotation newAnnotation(String id,
WasDerivedFrom edge,
String property,
Object value,
Collection<Account> accs)
newAnnotation
public Annotation newAnnotation(String id,
Used edge,
String property,
Object value,
Collection<Account> accs)
newAnnotation
public Annotation newAnnotation(String id,
WasGeneratedBy edge,
String property,
Object value,
Collection<Account> accs)
newAnnotation
public Annotation newAnnotation(String id,
WasControlledBy edge,
String property,
Object value,
Collection<Account> accs)
newAnnotation
public Annotation newAnnotation(String id,
WasTriggeredBy edge,
String property,
Object value,
Collection<Account> accs)
newAnnotation
public Annotation newAnnotation(String id,
Role role,
String property,
Object value,
Collection<Account> accs)
newProperty
public Property newProperty(String property,
Object value)
newProperty
public Property newProperty(Property property)
addProperty
public void addProperty(Annotation ann,
Property p)
addProperty
public void addProperty(Annotation ann,
List<Property> p)
addProperty
public void addProperty(EmbeddedAnnotation ann,
Property p)
addProperty
public void addProperty(EmbeddedAnnotation ann,
List<Property> p)
newAnnotation
public Annotation newAnnotation(String id,
Ref ref,
String property,
Object value,
Collection<AccountRef> accs)
newAnnotation
public Annotation newAnnotation(String id,
Object o,
List<Property> properties,
Collection<AccountRef> accs)
newAnnotation
public Annotation newAnnotation(Annotation ann)
newEmbeddedAnnotation
public EmbeddedAnnotation newEmbeddedAnnotation(String id,
String property,
Object value,
Collection<AccountRef> accs,
Object dummyParameterForAvoidingSameErasure)
newEmbeddedAnnotation
public EmbeddedAnnotation newEmbeddedAnnotation(String id,
List<Property> properties,
Collection<AccountRef> accs,
Object dummyParameterForAvoidingSameErasure)
newOPMGraph
public OPMGraph newOPMGraph(Collection<Account> accs,
Collection<Overlaps> ops,
Collection<Process> ps,
Collection<Artifact> as,
Collection<Agent> ags,
Collection<Object> lks)
newOPMGraph
public OPMGraph newOPMGraph(Collection<Account> accs,
Collection<Overlaps> ops,
Collection<Process> ps,
Collection<Artifact> as,
Collection<Agent> ags,
Collection<Object> lks,
Collection<Annotation> anns)
newOPMGraph
public OPMGraph newOPMGraph(String id,
Collection<Account> accs,
Collection<Overlaps> ops,
Collection<Process> ps,
Collection<Artifact> as,
Collection<Agent> ags,
Collection<Object> lks,
Collection<Annotation> anns)
newOPMGraph
public OPMGraph newOPMGraph(Collection<Account> accs,
Overlaps[] ovs,
Process[] ps,
Artifact[] as,
Agent[] ags,
Object[] lks)
newOPMGraph
public OPMGraph newOPMGraph(Collection<Account> accs,
Overlaps[] ovs,
Process[] ps,
Artifact[] as,
Agent[] ags,
Object[] lks,
Annotation[] anns)
newOPMGraph
public OPMGraph newOPMGraph(String id,
Collection<Account> accs,
Overlaps[] ovs,
Process[] ps,
Artifact[] as,
Agent[] ags,
Object[] lks,
Annotation[] anns)
newOPMGraph
public OPMGraph newOPMGraph(Accounts accs,
Processes ps,
Artifacts as,
Agents ags,
CausalDependencies lks)
newOPMGraph
public OPMGraph newOPMGraph(Accounts accs,
Processes ps,
Artifacts as,
Agents ags,
CausalDependencies lks,
Annotations anns)
newOPMGraph
public OPMGraph newOPMGraph(OPMGraph graph)
newAccounts
public Accounts newAccounts(Collection<Account> accs,
Collection<Overlaps> ovlps)
Copyright © 2010. All Rights Reserved.