IExecutionPeriod executionPeriod = (IExecutionPeriod) obj;
final IExecutionPeriod executionPeriod = (IExecutionPeriod) obj;
    public boolean equals(Object obj) {        if (obj instanceof IExecutionPeriod) {            IExecutionPeriod executionPeriod = (IExecutionPeriod) obj;            return getIdInternal().equals(executionPeriod.getIdInternal());        }        return super.equals(obj);    }