001package org.kuali.ole.docstore.model.bo;
002
003import java.util.ArrayList;
004import java.util.List;
005
006/**
007 * Created by IntelliJ IDEA.
008 * User: Pranitha
009 * Date: 3/30/12
010 * Time: 10:39 AM
011 * To change this template use File | Settings | File Templates.
012 */
013public class WorkInstanceDocument extends OleDocument {
014
015    private String instanceIdentifier;
016    private WorkHoldingsDocument holdingsDocument;
017    private List<WorkItemDocument> itemDocumentList;
018    private String bibIdentifier;
019
020    public WorkInstanceDocument() {
021        List<WorkItemDocument> itemDocumentList = new ArrayList<WorkItemDocument>();
022    }
023
024
025    public String getInstanceIdentifier() {
026        return instanceIdentifier;
027    }
028
029
030    public void setInstanceIdentifier(String instanceIdentifier) {
031        this.instanceIdentifier = instanceIdentifier;
032    }
033
034
035    public WorkHoldingsDocument getHoldingsDocument() {
036        return holdingsDocument;
037    }
038
039    public void setHoldingsDocument(WorkHoldingsDocument holdingsDocument) {
040        this.holdingsDocument = holdingsDocument;
041    }
042
043    public List<WorkItemDocument> getItemDocumentList() {
044        return itemDocumentList;
045    }
046
047    public void setItemDocumentList(List<WorkItemDocument> itemDocumentList) {
048        this.itemDocumentList = itemDocumentList;
049    }
050
051    public String getBibIdentifier() {
052        return bibIdentifier;
053    }
054
055    public void setBibIdentifier(String bibIdentifier) {
056        this.bibIdentifier = bibIdentifier;
057    }
058
059    @Override
060    public String toString() {
061        return "WorkInstanceDocument{" +
062                "instanceIdentifier='" + instanceIdentifier + '\'' +
063                ", holdingsDocument=" + holdingsDocument +
064                ", itemDocumentList=" + itemDocumentList +
065                ", bibIdentifier=" + bibIdentifier +
066                '}';
067    }
068
069}