@Override @SuppressWarnings("unchecked") public V asValue(final LexiconRelation lex) { if (uri == null) { uri = (V) lex.getValueFactory().createLiteral(getLabel(), XSD.IPV4); uri.setIV(this); } return uri; }
/** * Returns the Literal representation of this IV. */ @SuppressWarnings("unchecked") public V asValue(final LexiconRelation lex) { if (literal == null) { literal = (V) lex.getValueFactory().createLiteral(getLabel(), PACKED_LONG); literal.setIV(this); } return literal; }
/** * Returns the Literal representation of this IV. */ @SuppressWarnings("unchecked") public V asValue(final LexiconRelation lex) { if (literal == null) { literal = (V) lex.getValueFactory().createLiteral(getLabel(), PACKED_LONG); literal.setIV(this); } return literal; }
@Override @SuppressWarnings("unchecked") public V asValue(final LexiconRelation lex) { if (uri == null) { uri = (V) lex.getValueFactory().createLiteral(getLabel(), XSD.IPV4); uri.setIV(this); } return uri; }
@SuppressWarnings("unchecked") public V asValue(final LexiconRelation lex) { V v = getValueCache(); if (v == null) { final BigdataValueFactory f = lex.getValueFactory(); v = (V) f.createLiteral(value, true); v.setIV(this); setValue(v); } return v; }
@SuppressWarnings("unchecked") public V asValue(final LexiconRelation lex) { V v = getValueCache(); if (v == null) { final BigdataValueFactory f = lex.getValueFactory(); v = (V) f.createLiteral(value, true); v.setIV(this); setValue(v); } return v; }
@SuppressWarnings("unchecked") public V asValue(final LexiconRelation lex) { V v = getValueCache(); if (v == null) { final BigdataValueFactory f = lex.getValueFactory(); v = (V) f.createLiteral( value.toPlainString(), DTE.XSDDecimal.getDatatypeURI()); v.setIV(this); setValue(v); } return v; }
@SuppressWarnings("unchecked") public V asValue(final LexiconRelation lex) { V v = getValueCache(); if (v == null) { final BigdataValueFactory f = lex.getValueFactory(); v = (V) f.createLiteral( value.toString(), DTE.XSDInteger.getDatatypeURI()); v.setIV(this); setValue(v); } return v; }
@Override @SuppressWarnings("unchecked") public V asValue(final LexiconRelation lex) { V v = getValueCache(); if( v == null) { v = (V) lex.getValueFactory().createLiteral(value); v.setIV(this); setValue(v); } return v; }
@SuppressWarnings("unchecked") public V asValue(final LexiconRelation lex) { V v = getValueCache(); if (v == null) { final BigdataValueFactory f = lex.getValueFactory(); v = (V) f.createLiteral(value, true); v.setIV(this); setValue(v); } return v; }
@SuppressWarnings("unchecked") public V asValue(final LexiconRelation lex) { V v = getValueCache(); if (v == null) { final ValueFactory f = lex.getValueFactory(); v = (V) f.createLiteral(value.toString(), DTE.UUID.getDatatypeURI()); v.setIV(this); setValue(v); } return v; }
@SuppressWarnings("unchecked") public V asValue(final LexiconRelation lex) { V v = getValueCache(); if (v == null) { final ValueFactory f = lex.getValueFactory(); v = (V) f.createLiteral(value.toString(), DTE.UUID.getDatatypeURI()); v.setIV(this); setValue(v); } return v; }
@SuppressWarnings("unchecked") public V asValue(final LexiconRelation lex) { V v = getValueCache(); if (v == null) { final BigdataValueFactory f = lex.getValueFactory(); v = (V) f.createLiteral( value.toPlainString(), DTE.XSDDecimal.getDatatypeURI()); v.setIV(this); setValue(v); } return v; }
@SuppressWarnings("unchecked") public V asValue(final LexiconRelation lex) { V v = getValueCache(); if (v == null) { final BigdataValueFactory f = lex.getValueFactory(); v = (V) f.createLiteral( value.toString(), DTE.XSDInteger.getDatatypeURI()); v.setIV(this); setValue(v); } return v; }
@Override @SuppressWarnings("unchecked") public V asValue(final LexiconRelation lex) { V v = getValueCache(); if( v == null) { v = (V) lex.getValueFactory().createLiteral(value); v.setIV(this); setValue(v); } return v; }
@SuppressWarnings("unchecked") public V asValue(final LexiconRelation lex) { V v = getValueCache(); if (v == null) { final BigdataValueFactory f = lex.getValueFactory(); v = (V) f.createLiteral(value, true); v.setIV(this); setValue(v); } return v; }
@SuppressWarnings("unchecked") public V asValue(final LexiconRelation lex) { V v = getValueCache(); if (v == null) { final BigdataValueFactory f = lex.getValueFactory(); v = (V) f.createLiteral(value, true); v.setIV(this); setValue(v); } return v; }
@SuppressWarnings("unchecked") public V asValue(final LexiconRelation lex) { V v = getValueCache(); if (v == null) { final BigdataValueFactory f = lex.getValueFactory(); v = (V) f.createLiteral(value, true); v.setIV(this); setValue(v); } return v; }
@SuppressWarnings("unchecked") public V asValue(final LexiconRelation lex) { V v = getValueCache(); if (v == null) { final BigdataValueFactory f = lex.getValueFactory(); v = (V) f.createLiteral(value, true); v.setIV(this); setValue(v); } return v; }
@SuppressWarnings("unchecked") public V asValue(final LexiconRelation lex) { V v = getValueCache(); if (v == null) { final BigdataValueFactory f = lex.getValueFactory(); v = (V) f.createLiteral(value, true); v.setIV(this); setValue(v); } return v; }