@Override
  public boolean equals( Object obj ) {
    if ( obj != null && ( obj.getClass().equals( this.getClass() ) ) ) {
      CalculatorMetaFunction mf = (CalculatorMetaFunction) obj;
      return ( getXML().equals( mf.getXML() ) );
    }

    return false;
  }
@Test
  public void testEquals() {
    CalculatorMetaFunction meta1 = new CalculatorMetaFunction();
    CalculatorMetaFunction meta2 = (CalculatorMetaFunction) meta1.clone();
    assertNotSame( meta1, meta2 );

    assertFalse( meta1.equals( null ) );
    assertFalse( meta1.equals( new Object() ) );
    assertTrue( meta1.equals( meta2 ) );

    meta2.setCalcType( CalculatorMetaFunction.CALC_ADD_DAYS );
    assertFalse( meta1.equals( meta2 ) );
  }