private <O> O getNode(OWLObject obj) { O node = getMappedNode(obj); if (node == null) { obj.accept(this); node = getMappedNode(obj); if (node == null) { obj.accept(this); throw new IllegalStateException("Node is null. Attempting to get node for " + obj); } } return node; }
protected void putSWRLEntity(SWRLArgument i, OWLObject o) { if (nodeMap.containsKey(i)) { return; } o.accept(this); nodeMap.put(i, getMappedNode(o)); }
protected void putSWRLEntity(SWRLArgument i, OWLObject o) { if (nodeMap.containsKey(i)) { return; } o.accept(this); nodeMap.put(i, getMappedNode(o)); }
private <O> O getNode(OWLObject obj) { O node = getMappedNode(obj); if (node == null) { obj.accept(this); node = getMappedNode(obj); if (node == null) { obj.accept(this); throw new IllegalStateException("Node is null. Attempting to get node for " + obj); } } return node; }
private <O> O getNode(OWLObject obj) { O node = getMappedNode(obj); if (node == null) { obj.accept(this); node = getMappedNode(obj); if (node == null) { obj.accept(this); throw new IllegalStateException("Node is null. Attempting to get node for " + obj); } } return node; }
private <O> O getNode(OWLObject obj) { O node = getMappedNode(obj); if (node == null) { obj.accept(this); node = getMappedNode(obj); if (node == null) { obj.accept(this); throw new IllegalStateException("Node is null. Attempting to get node for " + obj); } } return node; }
protected void putSWRLEntity(SWRLArgument i, OWLObject o) { if (nodeMap.containsKey(i)) { return; } o.accept(this); nodeMap.put(i, getMappedNode(o)); }
protected void putSWRLEntity(SWRLArgument i, OWLObject o) { if (nodeMap.containsKey(i)) { return; } o.accept(this); nodeMap.put(i, getMappedNode(o)); }