@Test public void testDSL() { DataSet data= DataDSL. dataSet(). individual(id("root")). hasProperty(predicate("dataTypePropertyWithMultipleValues")). withValue("1"). withValue("2"). hasLink(predicate("objectPropertyWithMultipleReferralsAfterDatatypeProperty")). referringTo(external(EXTERNAL)). referringTo(managed(RESOURCE_NAME,MANAGER_ID)). hasProperty(predicate("dataTypePropertyWithMultipleValuesAfterObjectPropertyWithMultipleReferralsAfterDatatypeProperty")). withValue("3"). withValue("4"). hasProperty(predicate("dataTypePropertyWithMultipleValuesAfterDataTypePropertyWithMultipleValuesAfterObjectPropertyWithMultipleReferralsAfterDatatypeProperty")). withValue("5"). withValue("6"). hasLink(predicate("toIndividualAfterReferring")). referringTo(external(EXTERNAL)). toIndividual(external(EXTERNAL)). hasLink(predicate("hasLink")). referringTo(managed(RESOURCE_NAME,MANAGER_ID)). hasLink(predicate("toIndividualWithoutReferring")). toIndividual(external(EXTERNAL)). hasLink(predicate("hasLink")). referringTo(managed(RESOURCE_NAME,MANAGER_ID)). build(); System.out.println(data); }
public static DataSetBuilder dataSet() { return dataSet(null); }
DataDSL { public static DataSetBuilder dataSet() { return dataSet(null); } }
DataDSL { public static DataSetBuilder dataSet() { return dataSet(null); } private  DataDSL(); }
DataDSL { public static DataSetBuilder dataSet() { return dataSet(null); } private  DataDSL(); static DataSetBuilder dataSet(); static DataSetBuilder dataSet(Name<T> name); }
DataDSL { public static DataSetBuilder dataSet() { return dataSet(null); } private  DataDSL(); static DataSetBuilder dataSet(); static DataSetBuilder dataSet(Name<T> name);  }