@Override
    public void delete(ZooPC obj) {
    	if (obj.getClass() == GenericObject.class) {
    		throw new IllegalArgumentException();
//    		deleteGeneric((GenericObject) obj);
//    		return;
    	}
    	
        if (!isStarted) {
            this.sie = node.getSchemaIE(cls);
            isStarted = true;
        }

        //updated index
        //This is buffered to reduce look-ups to find field indices.
        buffer[bufferCnt++] = obj;
        if (bufferCnt == BUFFER_SIZE) {
            flushBuffer();
        }
    }
@ Override public void delete ( ZooPC obj ) { if ( obj . getClass ( ) == GenericObject . class ) { throw new IllegalArgumentException ( ) ; } if ( ! isStarted ) { this . sie = node . getSchemaIE ( cls ) ; isStarted = true ; } buffer [ bufferCnt ++ ] = obj ; if ( bufferCnt == BUFFER_SIZE ) { flushBuffer ( ) ; } }
/* (non-Javadoc)
@see org.zoodb.internal.model1p.DataSink#write(org.zoodb.api.impl.ZooPC)