@Test public void shouldGenerateAppropriateFilterForRelatedField() { if (isRelationSupported()) { assertEquals(expectedFilterForRelatedField(), getRelatedProperty().asFilter(getIdx())); } }
public CharSequence asFilter(int idx) { return shouldIgnoreThisProperty() ? null : generateFilter(idx); }
Property { public CharSequence asFilter(int idx) { return shouldIgnoreThisProperty() ? null : generateFilter(idx); } }
Property { public CharSequence asFilter(int idx) { return shouldIgnoreThisProperty() ? null : generateFilter(idx); } protected  Property(String name, T value, String type); protected  Property(String jdoVariableName, String name, T value, String type); }
Property { public CharSequence asFilter(int idx) { return shouldIgnoreThisProperty() ? null : generateFilter(idx); } protected  Property(String name, T value, String type); protected  Property(String jdoVariableName, String name, T value, String type); String getName(); T getValue(); String getType(); String getJdoVariableName(); boolean isForRelation(); CharSequence asFilter(int idx); CharSequence asDeclareParameter(int idx); Collection unwrap(); }
Property { public CharSequence asFilter(int idx) { return shouldIgnoreThisProperty() ? null : generateFilter(idx); } protected  Property(String name, T value, String type); protected  Property(String jdoVariableName, String name, T value, String type); String getName(); T getValue(); String getType(); String getJdoVariableName(); boolean isForRelation(); CharSequence asFilter(int idx); CharSequence asDeclareParameter(int idx); Collection unwrap();  }