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