001package net.sf.jkniv.whinstone.couchdb.statement;
002
003import java.util.Collection;
004
005import com.fasterxml.jackson.annotation.JsonInclude;
006import com.fasterxml.jackson.annotation.JsonProperty;
007import com.fasterxml.jackson.annotation.JsonPropertyOrder;
008
009@SuppressWarnings("rawtypes")
010@JsonInclude(JsonInclude.Include.NON_NULL)
011@JsonPropertyOrder(
012{ "docs" })
013public class DocBulk
014{
015    @JsonProperty("docs")
016    private Collection<?> docs = null;
017    
018    public DocBulk()
019    {
020        super();
021    }
022    
023    public DocBulk(Collection docs)
024    {
025        this();
026        this.docs = docs;
027    }
028    
029    @JsonProperty("docs")
030    public Collection<?> getDocs()
031    {
032        return docs;
033    }
034    
035    @JsonProperty("docs")
036    public void setDocs(Collection<?> docs)
037    {
038        this.docs = docs;
039    }
040    
041    @Override
042    public String toString()
043    {
044        return "DocBulk [docs=" + docs + "]";
045    }
046}