Added builder methods
This commit is contained in:
parent
f9fd75ed3e
commit
42c986d3f2
|
@ -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;}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue