@Test public void testTypes() { List<RDFNodeWrapper> types = displayResource.types(); String ns = "http: assertEquals( 1, types.size() ); assertEquals( ns + "BoardGame", types.get(0).getURI() ); }
public List<RDFNodeWrapper> types() { List<RDFNodeWrapper> ts = listPropertyValues( RDF.type ); Collections.sort( ts, new Comparator<RDFNodeWrapper>() { @Override public int compare( RDFNodeWrapper o1, RDFNodeWrapper o2 ) { return o1.getName().compareTo( o2.getName() ); } }); return ts; }
DisplayRdfNode extends CommonNodeWrapper { public List<RDFNodeWrapper> types() { List<RDFNodeWrapper> ts = listPropertyValues( RDF.type ); Collections.sort( ts, new Comparator<RDFNodeWrapper>() { @Override public int compare( RDFNodeWrapper o1, RDFNodeWrapper o2 ) { return o1.getName().compareTo( o2.getName() ); } }); return ts; } }
DisplayRdfNode extends CommonNodeWrapper { public List<RDFNodeWrapper> types() { List<RDFNodeWrapper> ts = listPropertyValues( RDF.type ); Collections.sort( ts, new Comparator<RDFNodeWrapper>() { @Override public int compare( RDFNodeWrapper o1, RDFNodeWrapper o2 ) { return o1.getName().compareTo( o2.getName() ); } }); return ts; } DisplayRdfNode( Page page, RDFNode root );  DisplayRdfNode( Page page, RDFNodeWrapper root ); }
DisplayRdfNode extends CommonNodeWrapper { public List<RDFNodeWrapper> types() { List<RDFNodeWrapper> ts = listPropertyValues( RDF.type ); Collections.sort( ts, new Comparator<RDFNodeWrapper>() { @Override public int compare( RDFNodeWrapper o1, RDFNodeWrapper o2 ) { return o1.getName().compareTo( o2.getName() ); } }); return ts; } DisplayRdfNode( Page page, RDFNode root );  DisplayRdfNode( Page page, RDFNodeWrapper root ); static void setPropertyOrdering( PropertyOrderingStrategy ordering ); static PropertyOrderingStrategy propertyOrdering(); List<PropertyValue> getDisplayProperties(); RDFNodeWrapper objectResourceWrapped(); List<RDFNodeWrapper> types(); List<RDFNodeWrapper> labels(); String uniqueID(); String shortUniqueID(); boolean hasAllProperties( Object... properties ); boolean hasAllProperties( List<Object> properties ); }
DisplayRdfNode extends CommonNodeWrapper { public List<RDFNodeWrapper> types() { List<RDFNodeWrapper> ts = listPropertyValues( RDF.type ); Collections.sort( ts, new Comparator<RDFNodeWrapper>() { @Override public int compare( RDFNodeWrapper o1, RDFNodeWrapper o2 ) { return o1.getName().compareTo( o2.getName() ); } }); return ts; } DisplayRdfNode( Page page, RDFNode root );  DisplayRdfNode( Page page, RDFNodeWrapper root ); static void setPropertyOrdering( PropertyOrderingStrategy ordering ); static PropertyOrderingStrategy propertyOrdering(); List<PropertyValue> getDisplayProperties(); RDFNodeWrapper objectResourceWrapped(); List<RDFNodeWrapper> types(); List<RDFNodeWrapper> labels(); String uniqueID(); String shortUniqueID(); boolean hasAllProperties( Object... properties ); boolean hasAllProperties( List<Object> properties );  }