code: public WasInvalidatedBy newWasInvalidatedBy(QualifiedName id, QualifiedName entity, QualifiedName activity, XMLGregorianCalendar time, Collection<Attribute> attributes) {
     	WasInvalidatedBy res=newWasInvalidatedBy(id,entity,activity);	
     	res.setTime(time);
  	setAttributes(res, attributes);
     	return res;
      }
docs: /* (non-Javadoc)
  @see org.openprovenance.prov.model.ModelConstructor#newWasInvalidatedBy(org.openprovenance.model.QualifiedName, org.openprovenance.model.QualifiedName, org.openprovenance.model.QualifiedName, javax.xml.datatype.XMLGregorianCalendar, java.util.Collection)