code: public Set<Triple> getTriplesForObject(DOReader reader)
              throws ResourceIndexException {
          Set<Triple> set = new HashSet<Triple>();
  
          try {
              URIReference objURI = new SimpleURIReference(
                      new URI(PID.toURI(reader.GetObjectPID())));
  
              /* Now add the SDef operation-specific triples */
              addMethodDefTriples(objURI, reader, set);
          } catch (Exception e) {
              throw new ResourceIndexException("Could not generate triples", e);
          }
          return set;
      }
docs: {@inheritDoc}