2 * SeqSearchResult.java
\r
4 * This file was auto-generated from WSDL
\r
5 * by the Apache Axis 1.2RC2 Nov 16, 2004 (12:19:44 EST) WSDL2Java emitter.
\r
8 package vamsas.objects.simple;
\r
10 public class SeqSearchResult extends vamsas.objects.simple.Result implements java.io.Serializable {
\r
11 private vamsas.objects.simple.Alignment alignment;
\r
12 private java.lang.String annotation;
\r
13 private java.lang.String features;
\r
14 private java.lang.String newickTree;
\r
16 public SeqSearchResult() {
\r
19 public SeqSearchResult(
\r
20 vamsas.objects.simple.Alignment alignment,
\r
21 java.lang.String annotation,
\r
22 java.lang.String features,
\r
23 java.lang.String newickTree) {
\r
24 this.alignment = alignment;
\r
25 this.annotation = annotation;
\r
26 this.features = features;
\r
27 this.newickTree = newickTree;
\r
32 * Gets the alignment value for this SeqSearchResult.
\r
36 public vamsas.objects.simple.Alignment getAlignment() {
\r
42 * Sets the alignment value for this SeqSearchResult.
\r
46 public void setAlignment(vamsas.objects.simple.Alignment alignment) {
\r
47 this.alignment = alignment;
\r
52 * Gets the annotation value for this SeqSearchResult.
\r
54 * @return annotation
\r
56 public java.lang.String getAnnotation() {
\r
62 * Sets the annotation value for this SeqSearchResult.
\r
66 public void setAnnotation(java.lang.String annotation) {
\r
67 this.annotation = annotation;
\r
72 * Gets the features value for this SeqSearchResult.
\r
76 public java.lang.String getFeatures() {
\r
82 * Sets the features value for this SeqSearchResult.
\r
86 public void setFeatures(java.lang.String features) {
\r
87 this.features = features;
\r
92 * Gets the newickTree value for this SeqSearchResult.
\r
94 * @return newickTree
\r
96 public java.lang.String getNewickTree() {
\r
102 * Sets the newickTree value for this SeqSearchResult.
\r
104 * @param newickTree
\r
106 public void setNewickTree(java.lang.String newickTree) {
\r
107 this.newickTree = newickTree;
\r
110 private java.lang.Object __equalsCalc = null;
\r
111 public synchronized boolean equals(java.lang.Object obj) {
\r
112 if (!(obj instanceof SeqSearchResult)) return false;
\r
113 SeqSearchResult other = (SeqSearchResult) obj;
\r
114 if (obj == null) return false;
\r
115 if (this == obj) return true;
\r
116 if (__equalsCalc != null) {
\r
117 return (__equalsCalc == obj);
\r
119 __equalsCalc = obj;
\r
121 _equals = super.equals(obj) &&
\r
122 ((this.alignment==null && other.getAlignment()==null) ||
\r
123 (this.alignment!=null &&
\r
124 this.alignment.equals(other.getAlignment()))) &&
\r
125 ((this.annotation==null && other.getAnnotation()==null) ||
\r
126 (this.annotation!=null &&
\r
127 this.annotation.equals(other.getAnnotation()))) &&
\r
128 ((this.features==null && other.getFeatures()==null) ||
\r
129 (this.features!=null &&
\r
130 this.features.equals(other.getFeatures()))) &&
\r
131 ((this.newickTree==null && other.getNewickTree()==null) ||
\r
132 (this.newickTree!=null &&
\r
133 this.newickTree.equals(other.getNewickTree())));
\r
134 __equalsCalc = null;
\r
138 private boolean __hashCodeCalc = false;
\r
139 public synchronized int hashCode() {
\r
140 if (__hashCodeCalc) {
\r
143 __hashCodeCalc = true;
\r
144 int _hashCode = super.hashCode();
\r
145 if (getAlignment() != null) {
\r
146 _hashCode += getAlignment().hashCode();
\r
148 if (getAnnotation() != null) {
\r
149 _hashCode += getAnnotation().hashCode();
\r
151 if (getFeatures() != null) {
\r
152 _hashCode += getFeatures().hashCode();
\r
154 if (getNewickTree() != null) {
\r
155 _hashCode += getNewickTree().hashCode();
\r
157 __hashCodeCalc = false;
\r