class ExtensionFilter implements Filter {

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

        return false;
    }

    public  ExtensionFilter(final String extension);

}