001package org.kuali.ole.ingest.pojo; 002 003//import org.kuali.ole.docstore.model.xmlpojo.work.bib.marc.DataField; 004import org.kuali.ole.docstore.model.xmlpojo.work.bib.marc.DataField; 005import org.kuali.rice.krad.bo.PersistableBusinessObjectBase; 006 007import java.util.LinkedHashMap; 008import java.util.List; 009 010/** 011 * Created by IntelliJ IDEA. 012 * User: premkb 013 * Date: 12/22/12 014 * Time: 10:45 AM 015 * To change this template use File | Settings | File Templates. 016 */ 017public class OverlayOption extends PersistableBusinessObjectBase { 018 019 private Integer id; 020 private String agendaName; 021 private String name; 022 private List<DataField> dataFields; 023 private List<OleDataField> oleDataFields; 024 //private String agendaName; 025/* private String optionName; 026 private String stringDataFields;*/ 027 028 /** 029 * Gets the id attribute. 030 * @return Returns the id. 031 */ 032 public Integer getId() { 033 return id; 034 } 035 /** 036 * Sets the id attribute value. 037 * @param id The id to set. 038 */ 039 public void setId(Integer id) { 040 this.id = id; 041 } 042 043 public String getAgendaName() { 044 return agendaName; 045 } 046 047 public void setAgendaName(String agendaName) { 048 this.agendaName = agendaName; 049 } 050 051 public String getName() { 052 return name; 053 } 054 055 public void setName(String name) { 056 this.name = name; 057 } 058 059 public List<DataField> getDataFields() { 060 return dataFields; 061 } 062 063 public void setDataFields(List<DataField> dataFields) { 064 this.dataFields = dataFields; 065 } 066 067/** 068 * Gets the agendaName attribute. 069 * @return Returns the agendaName. 070 */ 071/* public String getAgendaName() { 072 return agendaName; 073 }*/ 074 /** 075 * Sets the agendaName attribute value. 076 * @param agendaName The agendaName to set. 077 */ 078/* public void setAgendaName(String agendaName) { 079 this.agendaName = agendaName; 080 }*/ 081 /** 082 * Gets the optionName attribute. 083 * @return Returns the optionName. 084 */ 085/* public String getOptionName() { 086 return optionName; 087 }*/ 088 /** 089 * Sets the optionName attribute value. 090 * @param optionName The optionName to set. 091 */ 092/* public void setOptionName(String optionName) { 093 this.optionName = optionName; 094 }*/ 095 /** 096 * Gets the stringDataFields attribute. 097 * @return Returns the stringDataFields. 098 */ 099/* public String getStringDataFields() { 100 return stringDataFields; 101 }*/ 102 103 public List<OleDataField> getOleDataFields() { 104 return oleDataFields; 105 } 106 107 public void setOleDataFields(List<OleDataField> oleDataFields) { 108 this.oleDataFields = oleDataFields; 109 } 110 111 /** 112 * This method returns concatenated value of id,agendaName,optionName,stringDataFields 113 * @return toStringMap 114 */ 115 protected LinkedHashMap toStringMapper() { 116 LinkedHashMap toStringMap = new LinkedHashMap(); 117 toStringMap.put("id", id); 118 toStringMap.put("agendaName", agendaName); 119 toStringMap.put("name", name); 120 //toStringMap.put("stringDataFields", stringDataFields);*/ 121 return toStringMap; 122 } 123}