@Test public void testGetDisplayProperties() { List<PropertyValue> displayTriples = displayResource.getDisplayProperties(); String ns = "http: assertEquals( 5, displayTriples.size() ); assertEquals( "rdfs:label", displayTriples.get(0).getProp().getShortURI() ); assertEquals( ns + "playTimeMinutes", displayTriples.get(1).getProp().getURI() ); assertEquals( ns + "players", displayTriples.get(2).getProp().getURI() ); assertEquals( ns + "pubYear", displayTriples.get(3).getProp().getURI() ); assertEquals( ns + "designed-by", displayTriples.get(4).getProp().getURI() ); }
public List<PropertyValue> getDisplayProperties() { List<PropertyValue> triples = propertyOrdering().orderProperties( objectResourceWrapped() ); triples = withoutNonDisplayTriples( triples ); return triples; }
DisplayRdfNode extends CommonNodeWrapper { public List<PropertyValue> getDisplayProperties() { List<PropertyValue> triples = propertyOrdering().orderProperties( objectResourceWrapped() ); triples = withoutNonDisplayTriples( triples ); return triples; } }
DisplayRdfNode extends CommonNodeWrapper { public List<PropertyValue> getDisplayProperties() { List<PropertyValue> triples = propertyOrdering().orderProperties( objectResourceWrapped() ); triples = withoutNonDisplayTriples( triples ); return triples; } DisplayRdfNode( Page page, RDFNode root );  DisplayRdfNode( Page page, RDFNodeWrapper root ); }
DisplayRdfNode extends CommonNodeWrapper { public List<PropertyValue> getDisplayProperties() { List<PropertyValue> triples = propertyOrdering().orderProperties( objectResourceWrapped() ); triples = withoutNonDisplayTriples( triples ); return triples; } 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<PropertyValue> getDisplayProperties() { List<PropertyValue> triples = propertyOrdering().orderProperties( objectResourceWrapped() ); triples = withoutNonDisplayTriples( triples ); return triples; } 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 );  }