-\r
-\r
- /**\r
- * Gets the features value for this SeqSearchResult.\r
- * \r
- * @return features\r
- */\r
- public java.lang.String getFeatures() {\r
- return features;\r
- }\r
-\r
-\r
- /**\r
- * Sets the features value for this SeqSearchResult.\r
- * \r
- * @param features\r
- */\r
- public void setFeatures(java.lang.String features) {\r
- this.features = features;\r
- }\r
-\r
-\r
- /**\r
- * Gets the newickTree value for this SeqSearchResult.\r
- * \r
- * @return newickTree\r
- */\r
- public java.lang.String getNewickTree() {\r
- return newickTree;\r
- }\r
-\r
-\r
- /**\r
- * Sets the newickTree value for this SeqSearchResult.\r
- * \r
- * @param newickTree\r
- */\r
- public void setNewickTree(java.lang.String newickTree) {\r
- this.newickTree = newickTree;\r
- }\r
-\r
- private java.lang.Object __equalsCalc = null;\r
- public synchronized boolean equals(java.lang.Object obj) {\r
- if (!(obj instanceof SeqSearchResult)) return false;\r
- SeqSearchResult other = (SeqSearchResult) obj;\r
- if (obj == null) return false;\r
- if (this == obj) return true;\r
- if (__equalsCalc != null) {\r
- return (__equalsCalc == obj);\r
- }\r
- __equalsCalc = obj;\r
- boolean _equals;\r
- _equals = super.equals(obj) && \r
- ((this.alignment==null && other.getAlignment()==null) || \r
- (this.alignment!=null &&\r
- this.alignment.equals(other.getAlignment()))) &&\r
- ((this.annotation==null && other.getAnnotation()==null) || \r
- (this.annotation!=null &&\r
- this.annotation.equals(other.getAnnotation()))) &&\r
- ((this.features==null && other.getFeatures()==null) || \r
- (this.features!=null &&\r
- this.features.equals(other.getFeatures()))) &&\r
- ((this.newickTree==null && other.getNewickTree()==null) || \r
- (this.newickTree!=null &&\r
- this.newickTree.equals(other.getNewickTree())));\r
- __equalsCalc = null;\r
- return _equals;\r
- }\r
-\r
- private boolean __hashCodeCalc = false;\r
- public synchronized int hashCode() {\r
- if (__hashCodeCalc) {\r
- return 0;\r
- }\r
- __hashCodeCalc = true;\r
- int _hashCode = super.hashCode();\r
- if (getAlignment() != null) {\r
- _hashCode += getAlignment().hashCode();\r
- }\r
- if (getAnnotation() != null) {\r
- _hashCode += getAnnotation().hashCode();\r
- }\r
- if (getFeatures() != null) {\r
- _hashCode += getFeatures().hashCode();\r
- }\r
- if (getNewickTree() != null) {\r
- _hashCode += getNewickTree().hashCode();\r
- }\r
- __hashCodeCalc = false;\r
- return _hashCode;\r