code: public Duration newDuration(String lexicalRepresentation) {
          Duration dur=dataFactory.newDuration(lexicalRepresentation);
          return dur;
      }
docs: /*
  (non-Javadoc)
  @see org.openprovenance.prov.model.LiteralConstructor#newDuration(java.lang.String)