public void setIdForCompactAnnotation(EmbeddedAnnotation ann, String id) { if (compactId) ann.setId(id); }
public RdfEmbeddedAnnotation(ElmoManager manager, QName qname) { this.manager=manager; this.qname=qname; this.prefix=qname.getNamespaceURI(); super.setId(qname.getLocalPart()); }
public void setId(String value) { super.setId(value); qname = new QName(prefix, value); manager.designate(qname, org.openprovenance.rdf.Annotation.class); }
public EmbeddedAnnotation newEmbeddedAnnotation(String id, List<Property> properties, Collection<AccountRef> accs, Object dummyParameterForAvoidingSameErasure) { EmbeddedAnnotation res=of.createEmbeddedAnnotation(); res.setId(id); if (properties!=null) { addProperty(res,properties); } addAccounts(res,accs); return res; }
public EmbeddedAnnotation newEmbeddedAnnotation(String id, String property, Object value, Collection<AccountRef> accs, Object dummyParameterForAvoidingSameErasure) { EmbeddedAnnotation res=of.createEmbeddedAnnotation(); res.setId(id); addProperty(res,newProperty(property,value)); addAccounts(res,accs); return res; } public EmbeddedAnnotation newEmbeddedAnnotation(String id,