@Test public void testObjectFilterDefaultsToNoOpFilter() { ForceJPAClassGenerator generator = new ForceJPAClassGenerator(); ObjectFilter objectFilter = generator.getObjectFilter(); assertNotNull(objectFilter, "ForceJPAClassGenerator objectFilter should default when not specified"); assertEquals(objectFilter.getClass(), ObjectNoOpFilter.class, "ForceJPAClassGenerator objectFilter should default to ObjectNoOpFilter"); }
@Override public final ObjectFilter getObjectFilter() { if (objectFilter != null) return objectFilter; return new ObjectNoOpFilter(); }
ForceJPAClassGenerator extends AbstractCodeGenerator { @Override public final ObjectFilter getObjectFilter() { if (objectFilter != null) return objectFilter; return new ObjectNoOpFilter(); } }
ForceJPAClassGenerator extends AbstractCodeGenerator { @Override public final ObjectFilter getObjectFilter() { if (objectFilter != null) return objectFilter; return new ObjectNoOpFilter(); }  }
ForceJPAClassGenerator extends AbstractCodeGenerator { @Override public final ObjectFilter getObjectFilter() { if (objectFilter != null) return objectFilter; return new ObjectNoOpFilter(); }  void setPackageName(String packageName); @Override final ObjectFilter getObjectFilter(); final void setObjectFilter(ObjectFilter objectFilter); @Override final FieldFilter getFieldFilter(); final void setFieldFilter(FieldFilter fieldFilter); }
ForceJPAClassGenerator extends AbstractCodeGenerator { @Override public final ObjectFilter getObjectFilter() { if (objectFilter != null) return objectFilter; return new ObjectNoOpFilter(); }  void setPackageName(String packageName); @Override final ObjectFilter getObjectFilter(); final void setObjectFilter(ObjectFilter objectFilter); @Override final FieldFilter getFieldFilter(); final void setFieldFilter(FieldFilter fieldFilter);  }