code: public Set<Triple> getTriplesForObject(DOReader reader)
              throws ResourceIndexException {
  
          Set<Triple> objectTriples = new HashSet<Triple>();
  
          try {
              for (String modelRelobject:reader.getContentModels()){
  
                  if (m_generators.containsKey(modelRelobject)) {
                      objectTriples.addAll(m_generators.get(modelRelobject)
                              .getTriplesForObject(reader));
                  }
              }
          } catch (ServerException e) {
              throw new ResourceIndexException("Could not read object's content model",
                                               e);
          }
  
          return objectTriples;
      }
docs: Gets all triples implied by the object's models.
  
  @param reader
  Reads the current object
  @return Set of all triples implied by the object's models.