setRecords.clear();
}
@Override
public RecordDataObject getRecordDataObject() {
RecordDataObject rdo = new NewRecordDataObject();
rdo.putValue(RecordEntry.TYPE, getNodeType().toString());
rdo.putValue(RecordEntry.RID, getRid());
rdo.putValue(RecordEntry.VERSION, initialSet.getVersion());
if (getParent() != null)
rdo.putValue(RecordEntry.PARENT, getParent().getRid());
rdo.putValue(RecordEntry.VISIBLE, isVisible());
rdo.putValue(RecordEntry.PRIMARY_WEIGHT, initialSet.getPrimaryWeight());
rdo.putValue(RecordEntry.NAME, getName());
rdo.putValue(RecordEntry.NS, getNs());
rdo.putValue(RecordEntry.CHDATA, initialSet.getChdata());
return rdo;
}