001package org.kuali.ole.select.bo;
002
003import org.kuali.ole.docstore.common.document.ids.BibId;
004import org.kuali.ole.pojo.OleBibRecord;
005
006import java.util.HashMap;
007import java.util.Map;
008
009/**
010 * Created by chenchulakshmig on 12/4/14.
011 */
012public class OLEEResourceOrderRecord {
013
014    private OLEEResourceTxnRecord oleEResourceTxnRecord;
015    private OleBibRecord oleBibRecord;
016    private String oleERSIdentifier;
017    private Map<String, Object> messageMap = new HashMap();
018    private BibId bibTree;
019    private String linkToOrderOption;
020    private String bibId;
021
022    public void addMessageToMap(String key, Object value) {
023        messageMap.put(key, value);
024    }
025
026    public OLEEResourceTxnRecord getOleEResourceTxnRecord() {
027        return oleEResourceTxnRecord;
028    }
029
030    public void setOleEResourceTxnRecord(OLEEResourceTxnRecord oleEResourceTxnRecord) {
031        this.oleEResourceTxnRecord = oleEResourceTxnRecord;
032    }
033
034    public OleBibRecord getOleBibRecord() {
035        return oleBibRecord;
036    }
037
038    public void setOleBibRecord(OleBibRecord oleBibRecord) {
039        this.oleBibRecord = oleBibRecord;
040    }
041
042    public String getOleERSIdentifier() {
043        return oleERSIdentifier;
044    }
045
046    public void setOleERSIdentifier(String oleERSIdentifier) {
047        this.oleERSIdentifier = oleERSIdentifier;
048    }
049
050    public Map<String, Object> getMessageMap() {
051        return messageMap;
052    }
053
054    public void setMessageMap(Map<String, Object> messageMap) {
055        this.messageMap = messageMap;
056    }
057
058    public BibId getBibTree() {
059        return bibTree;
060    }
061
062    public void setBibTree(BibId bibTree) {
063        this.bibTree = bibTree;
064    }
065
066    public String getLinkToOrderOption() {
067        return linkToOrderOption;
068    }
069
070    public void setLinkToOrderOption(String linkToOrderOption) {
071        this.linkToOrderOption = linkToOrderOption;
072    }
073
074    public String getBibId() {
075        return bibId;
076    }
077
078    public void setBibId(String bibId) {
079        this.bibId = bibId;
080    }
081}