class DoNotUseFilter implements Filter {

    @Override
    public boolean filter(final Object datamodelObj) {
        if(datamodelObj instanceof DbArtifact){
            return doNotUse.equals( ((DbArtifact)datamodelObj).getDoNotUse());
        }

        return false;
    }

    public  DoNotUseFilter(final Boolean doNotUse);

}