public boolean canCheck(Object thing) { if(thing instanceof BioPAXElement) { return notAllowed((BioPAXElement) thing); } else { return false; } }
public void check(final Validation validation, BioPAXElement thing) { error(validation, thing, "not.allowed.element", false, thing.getModelInterface().getSimpleName()); }
public void check(BioPAXElement thing, boolean fix) { error(thing, "not.allowed.element", false, thing.getModelInterface().getSimpleName()); }
public boolean canCheck(Object thing) { if(thing instanceof BioPAXElement) { return notAllowed((BioPAXElement) thing); } else { return false; } }