diff --git a/webapp/test/stubs/edu/cornell/mannlib/vitro/webapp/beans/IndividualStub.java b/webapp/test/stubs/edu/cornell/mannlib/vitro/webapp/beans/IndividualStub.java index 64081a489..2a76fb592 100644 --- a/webapp/test/stubs/edu/cornell/mannlib/vitro/webapp/beans/IndividualStub.java +++ b/webapp/test/stubs/edu/cornell/mannlib/vitro/webapp/beans/IndividualStub.java @@ -46,16 +46,17 @@ public class IndividualStub implements Individual { public IndividualStub(String uri) { this.uri = uri; - Resource r = ResourceFactory.createResource(uri); - this.namespace = r.getNameSpace(); - this.localName = r.getLocalName(); + Resource r = ResourceFactory.createResource(uri); + this.namespace = r.getNameSpace(); + this.localName = r.getLocalName(); } public void addDataPropertyStatement(String predicateUri, String object) { dpsSet.add(new DataPropertyStatementImpl(this.uri, predicateUri, object)); } - public void addObjectPropertyStatement(ObjectProperty property, String objectUri) { + public void addObjectPropertyStatement(ObjectProperty property, + String objectUri) { ObjectPropertyStatementImpl ops = new ObjectPropertyStatementImpl(); ops.setSubject(this); ops.setProperty(property); @@ -493,4 +494,11 @@ public class IndividualStub implements Individual { throw new RuntimeException( "Individual.setSearchSnippet() not implemented."); } + + @Override + public void setRdfsLabel(String in) { + throw new RuntimeException( + "IndividualStub.setRdfsLabel() not implemented."); + + } } \ No newline at end of file