@Test public void testIndividualHelperCreation() { DataSet data=exampleDataSet(); Individual<?,?> individual = data.individualOfId(BLANK_NODE); DataSetUtils.newHelper(individual).property(RDFS.LABEL).withLiteral("My label"); assertThat(individual.property(RDFS.LABEL.as(URI.class)).hasLiteralValue(Literals.of("My label")),equalTo(true)); }
public static DataSetHelper newHelper(DataSet dataSet) { return new DataSetHelperImpl(dataSet); }
DataSetUtils { public static DataSetHelper newHelper(DataSet dataSet) { return new DataSetHelperImpl(dataSet); } }
DataSetUtils { public static DataSetHelper newHelper(DataSet dataSet) { return new DataSetHelperImpl(dataSet); } private  DataSetUtils(); }
DataSetUtils { public static DataSetHelper newHelper(DataSet dataSet) { return new DataSetHelperImpl(dataSet); } private  DataSetUtils(); static boolean hasLiteral(Literal<?> literal, Value... values); static boolean hasLiteral(Literal<?> literal, Collection<? extends Value> values); static boolean hasIdentifiedIndividual(Object id, Value... values); static boolean hasIdentifiedIndividual(Object id, Collection<? extends Value> values); static boolean hasValue(Value value, Property property); static boolean hasValue(Value value, Value... values); static boolean hasValue(Value value, final Collection<? extends Value> values); static DataSetHelper newHelper(DataSet dataSet); static IndividualHelper newHelper(Individual<?,?> individual); }
DataSetUtils { public static DataSetHelper newHelper(DataSet dataSet) { return new DataSetHelperImpl(dataSet); } private  DataSetUtils(); static boolean hasLiteral(Literal<?> literal, Value... values); static boolean hasLiteral(Literal<?> literal, Collection<? extends Value> values); static boolean hasIdentifiedIndividual(Object id, Value... values); static boolean hasIdentifiedIndividual(Object id, Collection<? extends Value> values); static boolean hasValue(Value value, Property property); static boolean hasValue(Value value, Value... values); static boolean hasValue(Value value, final Collection<? extends Value> values); static DataSetHelper newHelper(DataSet dataSet); static IndividualHelper newHelper(Individual<?,?> individual);  }