001/** 002 * Copyright (C) 2010-2015 The Roslin Institute <contact andy.law@roslin.ed.ac.uk> 003 * 004 * This file is part of JEnsembl: a Java API to Ensembl data sources developed by the 005 * Bioinformatics Group at The Roslin Institute, The Royal (Dick) School of 006 * Veterinary Studies, University of Edinburgh. 007 * 008 * Project hosted at: http://jensembl.sourceforge.net 009 * 010 * This is free software: you can redistribute it and/or modify 011 * it under the terms of the GNU General Public License (version 3) as published by 012 * the Free Software Foundation. 013 * 014 * This software is distributed in the hope that it will be useful, 015 * but WITHOUT ANY WARRANTY; without even the implied warranty of 016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 017 * GNU General Public License for more details. 018 * 019 * You should have received a copy of the GNU General Public License 020 * in this software distribution. If not, see: http://opensource.org/licenses/gpl-3.0.html 021 */ 022package uk.ac.roslin.ensembl.datasourceaware; 023 024import java.util.Date; 025import uk.ac.roslin.ensembl.config.EnsemblCoreObjectType; 026import uk.ac.roslin.ensembl.model.ObjectType; 027import uk.ac.roslin.ensembl.model.core.Analysis; 028 029 030public class DAAnalysis extends DAObject implements Analysis { 031 032 private Date creationDate; 033 private String logicalName = null; 034 private String description = null; 035 private String displayLabel = null; 036 private String externalDatabaseName = null; 037 private String externalDatabaseVersion = null; 038 private String moduleName = null; 039 private String moduleVersion = null; 040 private String programName = null; 041 private String programVersion = null; 042 private String programParameters = null; 043 private String gffSource = null; 044 private String gffFeature = null; 045 046 @Override 047 public String getDescription() { 048 return description; 049 } 050 051 @Override 052 public void setDescription(String description) { 053 this.description = description; 054 } 055 056 @Override 057 public String getDisplayLabel() { 058 return displayLabel; 059 } 060 061 @Override 062 public void setDisplayLabel(String displayLabel) { 063 this.displayLabel = displayLabel; 064 } 065 066 @Override 067 public String getGffFeature() { 068 return gffFeature; 069 } 070 071 @Override 072 public void setGffFeature(String gffFeature) { 073 this.gffFeature = gffFeature; 074 } 075 076 @Override 077 public String getGffSource() { 078 return gffSource; 079 } 080 081 @Override 082 public void setGffSource(String gffSource) { 083 this.gffSource = gffSource; 084 } 085 086 @Override 087 public String getModuleName() { 088 return moduleName; 089 } 090 091 @Override 092 public void setModuleName(String moduleName) { 093 this.moduleName = moduleName; 094 } 095 096 @Override 097 public String getModuleVersion() { 098 return moduleVersion; 099 } 100 101 @Override 102 public void setModuleVersion(String moduleVersion) { 103 this.moduleVersion = moduleVersion; 104 } 105 106 @Override 107 public String getProgramName() { 108 return programName; 109 } 110 111 @Override 112 public void setProgramName(String programName) { 113 this.programName = programName; 114 } 115 116 @Override 117 public String getProgramParameters() { 118 return programParameters; 119 } 120 121 @Override 122 public void setProgramParameters(String programParameters) { 123 this.programParameters = programParameters; 124 } 125 126 @Override 127 public String getProgramVersion() { 128 return programVersion; 129 } 130 131 @Override 132 public void setProgramVersion(String programVersion) { 133 this.programVersion = programVersion; 134 } 135 136 /** 137 * Get the value of externalDatabaseVersion 138 * 139 * @return the value of databaseVersion 140 */ 141 @Override 142 public String getExternalDatabaseVersion() { 143 return externalDatabaseVersion; 144 } 145 146 /** 147 * Set the value of externalDatabaseVersion 148 * 149 * @param databaseVersion new value of externalDatabaseVersion 150 */ 151 @Override 152 public void setExternalDatabaseVersion(String databaseVersion) { 153 this.externalDatabaseVersion = databaseVersion; 154 } 155 156 157 /** 158 * Get the value of externalDatabaseName 159 * 160 * @return the value of externalDatabaseName 161 */ 162 @Override 163 public String getExternalDatabaseName() { 164 return externalDatabaseName; 165 } 166 167 /** 168 * Set the value of externalDatabaseName 169 * 170 * @param databaseName new value of externalDatabaseName 171 */ 172 @Override 173 public void setExternalDatabaseName(String databaseName) { 174 this.externalDatabaseName = databaseName; 175 } 176 177 178 /** 179 * Get the value of logicalName 180 * 181 * @return the value of logicalName 182 */ 183 @Override 184 public String getLogicalName() { 185 return logicalName; 186 } 187 188 /** 189 * Set the value of logicalName 190 * 191 * @param logicalName new value of logicalName 192 */ 193 @Override 194 public void setLogicalName(String logicalName) { 195 this.logicalName = logicalName; 196 } 197 198 199 @Override 200 public ObjectType getType() { 201 return EnsemblCoreObjectType.analysis; 202 } 203 204 public Date getCreationDate() { 205 return creationDate; 206 } 207 208 public void setCreationDate(Date creationDate) { 209 this.creationDate = creationDate; 210 } 211 212 213}