Added builder methods

This commit is contained in:
Fabio Sinibaldi 2022-01-31 10:49:53 +01:00
parent f9fd75ed3e
commit 42c986d3f2
1 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,6 @@
package org.gcube.application.geoportal.common.utils;
import org.bson.Document;
import org.gcube.application.geoportal.common.model.legacy.InputStreamDescriptor;
import org.gcube.application.geoportal.common.model.rest.RegisterFileSetRequest;
import org.gcube.application.geoportal.common.model.rest.TempFile;
@ -45,6 +46,10 @@ public class FileSets {
return this;
}
public RequestBuilder setAttributes(Document attributes){
theRequest.setAttributes(attributes);
return this;
}
public RegisterFileSetRequest getTheRequest(){return theRequest;}
}