1 /*** PlateWellCategory.java - part of the MirkE (say murky) application for colormetric analysis emphesizing 2 kinetics. 3 4 Created by: Scott Menor on 21 July, 2004. 5 Last modified by: Scott Menor on 12 November, 2004 6 7 Copyright (c) 2004 Arizona State University - Cancer Research Institute. All rights reserved. 8 9 MirkE is free software; you can redistribute it and/or modify 10 it under the terms of the GNU General Public License as published by 11 the Free Software Foundation; either version 2 of the License, or 12 (at your option) any later version. 13 14 MirkE is distributed in the hope that it will be useful, 15 but WITHOUT ANY WARRANTY; without even the implied warranty of 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 GNU General Public License for more details. 18 19 You should have received a copy of the GNU General Public License 20 along with MirkE; if not, write to the Free Software 21 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 US 22 */ 23 24 package edu.asu.cri.MirkE.dataStructures; 25 26 /*** 27 * @author smenor 28 * 29 */ 30 public class PlateWellCategory { 31 private long id; 32 33 /*** 34 35 @return id 36 */ 37 public long getId() { 38 return id; 39 } 40 41 /*** 42 @param id 43 */ 44 public void setId(long id) { 45 this.id = id; 46 } 47 48 /*** parameter free constructor 49 */ 50 public PlateWellCategory() {} 51 52 /*** 53 @param plateIdentifier 54 @param plateRow 55 @param plateColumn 56 @param categoryName 57 */ 58 public PlateWellCategory(String plateIdentifier, 59 String plateRow, 60 String plateColumn, 61 String categoryName) { 62 63 this.plateIdentifier = plateIdentifier; 64 this.plateRow = plateRow; 65 this.plateColumn = plateColumn; 66 this.categoryName = categoryName; 67 } 68 69 private String categoryName; 70 71 /*** 72 @param categoryName 73 */ 74 public void setCategoryName(String categoryName) { 75 this.categoryName = categoryName; 76 } 77 78 /*** 79 @return categoryName 80 */ 81 public String getCategoryName() { 82 return categoryName; 83 } 84 85 private String plateRow; 86 87 /*** 88 @param plateRow 89 */ 90 public void setPlateRow(String plateRow) { 91 this.plateRow = plateRow; 92 } 93 94 /*** 95 @return plateRow 96 */ 97 public String getPlateRow() { 98 return plateRow; 99 } 100 101 private String plateColumn; 102 103 /*** 104 @param plateColumn 105 */ 106 public void setPlateColumn(String plateColumn) { 107 this.plateColumn = plateColumn; 108 } 109 110 /*** 111 @return plateColumn 112 */ 113 public String getPlateColumn() { 114 return plateColumn; 115 } 116 117 private String plateIdentifier; 118 119 /*** 120 @param plateIdentifier 121 122 */ 123 public void setPlateIdentifier(String plateIdentifier) { 124 this.plateIdentifier = plateIdentifier; 125 } 126 127 /*** 128 129 @return plateIdentifier 130 */ 131 public String getPlateIdentifier() { 132 return plateIdentifier; 133 } 134 135 /*** 136 137 @return string 138 */ 139 public String toString() { 140 141 return "" + plateIdentifier + " " + plateRow + plateColumn + ": " + categoryName; 142 } 143 }