Esempio n. 1
0
   public boolean equals(Object other) {
         if ( (this == other ) ) return true;
		 if ( (other == null ) ) return false;
		 if ( !(other instanceof AbstractExpression) ) return false;
		 AbstractExpression castOther = ( AbstractExpression ) other; 
         
		 return ( (this.getUniquename()==castOther.getUniquename()) || ( this.getUniquename()!=null && castOther.getUniquename()!=null && this.getUniquename().equals(castOther.getUniquename()) ) );
   }
Esempio n. 2
0
public AbstractExpression generateClone() {
	AbstractExpression cloned = new AbstractExpression; 
    	   cloned.uniquename = this.uniquename;
    	   cloned.md5checksum = this.md5checksum;
    	   cloned.description = this.description;
    	   cloned.expressionProperties = this.expressionProperties;
    	   cloned.featureExpressions = this.featureExpressions;
    	   cloned.expressionImages = this.expressionImages;
    	   cloned.expressionCVTerms = this.expressionCVTerms;
    	   cloned.expressionPublications = this.expressionPublications;
	return cloned;
}