public V asValue(final LexiconRelation lex) { V bnode = getValueCache(); if (bnode == null) { final ValueFactory f = lex.getValueFactory(); bnode = (V) f.createBNode(stringValue()); bnode.setIV(this); setValue(bnode); } return bnode; }
public V asValue(final LexiconRelation lex) { V bnode = getValueCache(); if (bnode == null) { final ValueFactory f = lex.getValueFactory(); bnode = (V) f.createBNode(stringValue()); bnode.setIV(this); setValue(bnode); } return bnode; }
bnode.setIV(iv);
bnode.setIV(iv);
/** * Returns the bnode representation of this IV, useful for serialization * formats such as RDF/XML. See {@link #bnodeId()}. */ @SuppressWarnings("unchecked") @Override public V asValue(final LexiconRelation lex) { if (bnode == null) { bnode = (V) lex.getValueFactory().createBNode(getID()); bnode.setIV(this); bnode.setStatementIdentifier(true); final BigdataResource c = spo.c() != null ? (BigdataResource) spo.c().asValue(lex) : null; bnode.setStatement(lex.getValueFactory().createStatement( (BigdataResource) spo.s().asValue(lex), (BigdataURI) spo.p().asValue(lex), (BigdataValue) spo.o().asValue(lex), c)); } return bnode; }
/** * Returns the bnode representation of this IV, useful for serialization * formats such as RDF/XML. See {@link #bnodeId()}. */ @SuppressWarnings("unchecked") @Override public V asValue(final LexiconRelation lex) { if (bnode == null) { bnode = (V) lex.getValueFactory().createBNode(getID()); bnode.setIV(this); bnode.setStatementIdentifier(true); final BigdataResource c = spo.c() != null ? (BigdataResource) spo.c().asValue(lex) : null; bnode.setStatement(lex.getValueFactory().createStatement( (BigdataResource) spo.s().asValue(lex), (BigdataURI) spo.p().asValue(lex), (BigdataValue) spo.o().asValue(lex), c)); } return bnode; }
final ISPO spo = new SPO(s0);//SAP.getIV(), bought.getIV(), sybase.getIV(), // null/* NO CONTEXT */, StatementEnum.Explicit); s1.setIV(new SidIV<BigdataBNode>(spo));
final ISPO spo = new SPO(s0);//SAP.getIV(), bought.getIV(), sybase.getIV(), // null/* NO CONTEXT */, StatementEnum.Explicit); s1.setIV(new SidIV<BigdataBNode>(spo));
final ISPO spo = new SPO(SAP.getIV(), bought.getIV(), sybase.getIV(), s1.setIV(new SidIV<BigdataBNode>(spo));
final ISPO spo = new SPO(SAP.getIV(), bought.getIV(), sybase.getIV(), s1.setIV(new SidIV<BigdataBNode>(spo));
val.setIV(iv);
final ISPO spo = new SPO(s0);//SAP.getIV(), bought.getIV(), sybase.getIV(), // null/* NO CONTEXT */, StatementEnum.Explicit); s1.setIV(new SidIV<BigdataBNode>(spo));
final ISPO spo = new SPO(SAP.getIV(), bought.getIV(), sybase.getIV(), s1.setIV(new SidIV<BigdataBNode>(spo));