001package com.hfg.bio.seq.format; 002 003import java.util.Date; 004 005import com.hfg.bio.seq.SeqLocation; 006import com.hfg.citation.Citation; 007 008//------------------------------------------------------------------------------ 009/** 010 A citation with sequence location information. 011 <div> 012 @author J. Alex Taylor, hairyfatguy.com 013 </div> 014 */ 015//------------------------------------------------------------------------------ 016// com.hfg Library 017// 018// This library is free software; you can redistribute it and/or 019// modify it under the terms of the GNU Lesser General Public 020// License as published by the Free Software Foundation; either 021// version 2.1 of the License, or (at your option) any later version. 022// 023// This library is distributed in the hope that it will be useful, 024// but WITHOUT ANY WARRANTY; without even the implied warranty of 025// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 026// Lesser General Public License for more details. 027// 028// You should have received a copy of the GNU Lesser General Public 029// License along with this library; if not, write to the Free Software 030// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 031// 032// J. Alex Taylor, President, Founder, CEO, COO, CFO, OOPS hairyfatguy.com 033// jataylor@hairyfatguy.com 034//------------------------------------------------------------------------------ 035 036public class SeqCitation extends Citation 037{ 038 private SeqLocation mLocation; 039 private String mPubMedId; 040 private String mRemark; 041 private Date mSubmissionDate; 042 private String mContactInfo; 043 044 045 046 //########################################################################### 047 // PUBLIC METHODS 048 //########################################################################### 049 050 //--------------------------------------------------------------------------- 051 public SeqCitation setSeqLocation(SeqLocation inValue) 052 { 053 mLocation = inValue; 054 return this; 055 } 056 057 //--------------------------------------------------------------------------- 058 public SeqLocation getSeqLocation() 059 { 060 return mLocation; 061 } 062 063 064 //--------------------------------------------------------------------------- 065 public SeqCitation setPubMedId(String inValue) 066 { 067 mPubMedId = inValue; 068 return this; 069 } 070 071 //--------------------------------------------------------------------------- 072 public String getPubMedId() 073 { 074 return mPubMedId; 075 } 076 077 078 //--------------------------------------------------------------------------- 079 public SeqCitation setRemark(String inValue) 080 { 081 mRemark = inValue; 082 return this; 083 } 084 085 //--------------------------------------------------------------------------- 086 public String getRemark() 087 { 088 return mRemark; 089 } 090 091 092 //--------------------------------------------------------------------------- 093 public SeqCitation setSubmissionDate(Date inValue) 094 { 095 mSubmissionDate = inValue; 096 return this; 097 } 098 099 //--------------------------------------------------------------------------- 100 public Date getSubmissionDate() 101 { 102 return mSubmissionDate; 103 } 104 105 106 //--------------------------------------------------------------------------- 107 public SeqCitation setContactInfo(String inValue) 108 { 109 mContactInfo = inValue; 110 return this; 111 } 112 113 //--------------------------------------------------------------------------- 114 public String getContactInfo() 115 { 116 return mContactInfo; 117 } 118 119 120 //--------------------------------------------------------------------------- 121 @Override 122 public SeqCitation setArticleNumber(String inValue) 123 { 124 return (SeqCitation) super.setArticleNumber(inValue); 125 } 126 127 //--------------------------------------------------------------------------- 128 @Override 129 public SeqCitation setDOI(String inValue) 130 { 131 return (SeqCitation) super.setDOI(inValue); 132 } 133 134 //--------------------------------------------------------------------------- 135 @Override 136 public SeqCitation setISBN(String inValue) 137 { 138 return (SeqCitation) super.setISBN(inValue); 139 } 140 141 //--------------------------------------------------------------------------- 142 @Override 143 public SeqCitation setISSN(String inValue) 144 { 145 return (SeqCitation) super.setISSN(inValue); 146 } 147 148}