001package org.kuali.ole.describe.bo; 002 003import org.kuali.rice.krad.bo.PersistableBusinessObjectBase; 004 005import java.sql.Date; 006import java.util.LinkedHashMap; 007 008/** 009 * OleElectronicLocationAndAccessRelationship is business object class for Electronic Location And Access Relationship Maintenance Document 010 */ 011public class OleElectronicLocationAndAccessRelationship extends PersistableBusinessObjectBase { 012 private Integer elaRelationshipId; 013 private String elaRelationshipCode; 014 private String elaRelationshipName; 015 private String source; 016 private Date sourceDate; 017 private boolean active; 018 019 /** 020 * Gets the elaRelationshipId attribute. 021 * 022 * @return Returns the elaRelationshipId 023 */ 024 public Integer getElaRelationshipId() { 025 return elaRelationshipId; 026 } 027 028 /** 029 * Sets the elaRelationshipId attribute value. 030 * 031 * @param elaRelationshipId The elaRelationshipId to set. 032 */ 033 public void setElaRelationshipId(Integer elaRelationshipId) { 034 this.elaRelationshipId = elaRelationshipId; 035 } 036 037 /** 038 * Gets the elaRelationshipCode attribute. 039 * 040 * @return Returns the elaRelationshipCode 041 */ 042 public String getElaRelationshipCode() { 043 return elaRelationshipCode; 044 } 045 046 /** 047 * Sets the elaRelationshipCode attribute value. 048 * 049 * @param elaRelationshipCode The elaRelationshipCode to set. 050 */ 051 public void setElaRelationshipCode(String elaRelationshipCode) { 052 this.elaRelationshipCode = elaRelationshipCode; 053 } 054 055 /** 056 * Gets the elaRelationshipName attribute. 057 * 058 * @return Returns the elaRelationshipName 059 */ 060 public String getElaRelationshipName() { 061 return elaRelationshipName; 062 } 063 064 /** 065 * Sets the elaRelationshipName attribute value. 066 * 067 * @param elaRelationshipName The elaRelationshipName to set. 068 */ 069 public void setElaRelationshipName(String elaRelationshipName) { 070 this.elaRelationshipName = elaRelationshipName; 071 } 072 073 /** 074 * Gets the source attribute. 075 * 076 * @return Returns the source 077 */ 078 public String getSource() { 079 return source; 080 } 081 082 /** 083 * Sets the source attribute value. 084 * 085 * @param source The source to set. 086 */ 087 public void setSource(String source) { 088 this.source = source; 089 } 090 091 /** 092 * Gets the sourceDate attribute. 093 * 094 * @return Returns the sourceDate 095 */ 096 public Date getSourceDate() { 097 return sourceDate; 098 } 099 100 /** 101 * Sets the sourceDate attribute value. 102 * 103 * @param sourceDate The sourceDate to set. 104 */ 105 public void setSourceDate(Date sourceDate) { 106 this.sourceDate = sourceDate; 107 } 108 109 /** 110 * Gets the active attribute. 111 * 112 * @return Returns the active 113 */ 114 public boolean isActive() { 115 return active; 116 } 117 118 /** 119 * Sets the active attribute value. 120 * 121 * @param active The active to set. 122 */ 123 public void setActive(boolean active) { 124 this.active = active; 125 } 126 127 /** 128 * Gets the toStringMap attribute. 129 * 130 * @return Returns the toStringMap 131 */ 132 protected LinkedHashMap toStringMapper() { 133 LinkedHashMap toStringMap = new LinkedHashMap(); 134 toStringMap.put("elaRelationshipId", elaRelationshipId); 135 return toStringMap; 136 } 137}