public boolean equals(Object other) {
         if ( (this == other ) ) return true;
		 if ( (other == null ) ) return false;
		 if ( !(other instanceof BandsperfestivalId) ) return false;
		 BandsperfestivalId castOther = ( BandsperfestivalId ) other; 
         
		 return (this.getFestId()==castOther.getFestId())
 && (this.getBandId()==castOther.getBandId())
 && ( (this.getDatum()==castOther.getDatum()) || ( this.getDatum()!=null && castOther.getDatum()!=null && this.getDatum().equals(castOther.getDatum()) ) );
   }