@Override
  protected void integrityCheckParameters(DeLiCluNode parent, int index) {
    super.integrityCheckParameters(parent, index);
    // test if hasHandled and hasUnhandled flag are correctly set
    DeLiCluEntry entry = parent.getEntry(index);
    boolean hasHandled = hasHandled();
    boolean hasUnhandled = hasUnhandled();
    if(entry.hasHandled() != hasHandled) {
      String soll = Boolean.toString(hasHandled);
      String ist = Boolean.toString(entry.hasHandled());
      throw new RuntimeException("Wrong hasHandled in node " + parent.getPageID() + " at index " + index + " (child " + entry + ")" + "\nsoll: " + soll + ",\n ist: " + ist);
    }
    if(entry.hasUnhandled() != hasUnhandled) {
      String soll = Boolean.toString(hasUnhandled);
      String ist = Boolean.toString(entry.hasUnhandled());
      throw new RuntimeException("Wrong hasUnhandled in node " + parent.getPageID() + " at index " + index + " (child " + entry + ")" + "\nsoll: " + soll + ",\n ist: " + ist);
    }
  }
@ Override protected void integrityCheckParameters ( DeLiCluNode parent , int index ) { super . integrityCheckParameters ( parent , index ) ; DeLiCluEntry entry = parent . getEntry ( index ) ; boolean hasHandled = hasHandled ( ) ; boolean hasUnhandled = hasUnhandled ( ) ; if ( entry . hasHandled ( ) != hasHandled ) { String soll = Boolean . toString ( hasHandled ) ; String ist = Boolean . toString ( entry . hasHandled ( ) ) ; throw new RuntimeException ( "Wrong hasHandled in node " + parent . getPageID ( ) + " at index " + index + " (child " + entry + ")" + "\nsoll: " + soll + ",\n ist: " + ist ) ; } if ( entry . hasUnhandled ( ) != hasUnhandled ) { String soll = Boolean . toString ( hasUnhandled ) ; String ist = Boolean . toString ( entry . hasUnhandled ( ) ) ; throw new RuntimeException ( "Wrong hasUnhandled in node " + parent . getPageID ( ) + " at index " + index + " (child " + entry + ")" + "\nsoll: " + soll + ",\n ist: " + ist ) ; } }
Tests, if the parameters of the entry representing this node, are correctly
set. Subclasses may need to overwrite this method.

@param parent the parent holding the entry representing this node
@param index the index of the entry in the parents child array