/**
 * Copyright 2008-2009 DRIVER PROJECT (Bielefeld University)
 * Original author: Marek Imialek <marek.imialek at uni-bielefeld.de>
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package eu.dnetlib.data.sts.dataprov;

import java.util.ArrayList;
import java.util.List;

import eu.dnetlib.data.sts.dataprov.CreateBulkDataDTO;

/**
 * Search type bulk data DTO.
 * 
 * @author <a href="mailto:marek.imialek at uni-bielefeld.de">Marek Imialek</a>
 * @version
 */
public class CreateBasicBulkDataDTO extends CreateBulkDataDTO {

	/** The st id. */
	private String stId;

	/** The object types. */
	private List<String> objectTypes;

	/** The cache. */
	private ArrayList<String> cache;

	/** The total number of results. */
	private int totalNumberOfResults;

	/** The structure subtype. */
	private String structureSubtype;

	/** The return ur is flag. */
	private boolean returnURIsFlag;

	/* (non-Javadoc)
	 * @see eu.dnetlib.data.sts.das.ws.dataprov.CreateBulkDataDTO#getType()
	 */
	@Override
	Type getType() {
		return Type.DELIVER;
	}

	/**
	 * Gets the cache.
	 * 
	 * @return the cache
	 */
	public ArrayList<String> getCache() {
		return this.cache;
	}

	/**
	 * Sets the cache.
	 * 
	 * @param cache the new cache
	 */
	public void setCache(ArrayList<String> cache) {
		this.cache = cache;
	}

	/**
	 * Gets the id.
	 * 
	 * @return the id
	 */
	public String getId() {
		return this.stId;
	}

	/**
	 * Sets the id.
	 * 
	 * @param stId the new id
	 */
	public void setId(String stId) {
		this.stId = stId;
	}

	/**
	 * Gets the object types.
	 * 
	 * @return the object types
	 */
	public List<String> getObjectTypes() {
		return this.objectTypes;
	}

	/**
	 * Sets the object types.
	 * 
	 * @param objectTypes the new object types
	 */
	public void setObjectTypes(List<String> objectTypes) {
		this.objectTypes = objectTypes;
	}

	/**
	 * Sets the total number of results.
	 * 
	 * @param totalNumberOfResults the new total number of results
	 */
	public void setTotalNumberOfResults(Integer totalNumberOfResults) {
		this.totalNumberOfResults = totalNumberOfResults;

	}

	/**
	 * Gets the total number of results.
	 * 
	 * @return the total number of results
	 */
	public int getTotalNumberOfResults() {
		return this.totalNumberOfResults;
	}

	/**
	 * Sets the structure subtype.
	 * 
	 * @param structureSubtype the new structure subtype
	 */
	public void setStructureSubtype(String structureSubtype) {
		this.structureSubtype = structureSubtype;
		
	}

	/**
	 * Gets the structure subtype.
	 * 
	 * @return the structure subtype
	 */
	public String getStructureSubtype() {
		return this.structureSubtype;
		
	}

	/**
	 * Sets the return ur is flag.
	 * 
	 * @param returnURIsFlag the new return ur is flag
	 */
	public void setReturnURIsFlag(boolean returnURIsFlag) {
		this.returnURIsFlag = returnURIsFlag;	
	}
	
	/**
	 * Gets the return ur is flag.
	 * 
	 * @return the return ur is flag
	 */
	public boolean getReturnURIsFlag() {
		return this.returnURIsFlag;
		
	}
}
