public CLink newCLink(Predicate from, Predicate to) { String newId = idManager.getNextId(AnnotationType.CLINK); CLink newCLink = new CLink(newId, from, to); annotationContainer.add(newCLink, Layer.CAUSAL_RELATIONS, AnnotationType.CLINK); return newCLink; }
public CLink newCLink(Predicate from, Predicate to) { String newId = idManager.clinks.getNext(); CLink newCLink = new CLink(newId, from, to); annotationContainer.add(newCLink); return newCLink; }
public CLink newCLink(String id, Predicate from, Predicate to) { idManager.updateCounter(AnnotationType.CLINK, id); CLink newCLink = new CLink(id, from, to); annotationContainer.add(newCLink, Layer.CAUSAL_RELATIONS, AnnotationType.CLINK); return newCLink; }
public CLink newCLink(String id, Predicate from, Predicate to) { idManager.clinks.update(id); CLink newCLink = new CLink(id, from, to); annotationContainer.add(newCLink); return newCLink; }