Pattern52 implements CompositeColumn<ConditionCol52>,
                   HasCEPWindow,
                   DiffColumn { public void setWindow( CEPWindow window ) { this.window = window; } Pattern52(); @Override List<BaseColumnFieldDiff> diff( BaseColumn otherColumn ); Pattern52 clonePattern(); void update( Pattern52 other ); String getFactType(); void setFactType( String factType ); String getBoundName(); boolean isBound(); void setBoundName( String boundName ); boolean isNegated(); void setNegated( boolean negated ); List<ConditionCol52> getChildColumns(); void setChildColumns( List<ConditionCol52> conditions ); void setWindow( CEPWindow window ); CEPWindow getWindow(); String getEntryPointName(); void setEntryPointName( String entryPointName ); String getHeader(); void setHeader( String header ); boolean isHideColumn(); void setHideColumn( boolean hideColumn ); int getWidth(); void setWidth( int width ); DTCellValue52 getDefaultValue(); void setDefaultValue( DTCellValue52 defaultValue ); @Override boolean equals(Object o); @Override int hashCode(); static final String FIELD_FACT_TYPE; static final String FIELD_BOUND_NAME; static final String FIELD_IS_NEGATED; static final String FIELD_WINDOW; static final String FIELD_ENTRY_POINT_NAME; }
@Test public void testDiffWindow() { CEPWindow window1 = new CEPWindow(); window1.setOperator("dummyOp1"); column1.setWindow(window1); CEPWindow window2 = new CEPWindow(); window2.setOperator("dummyOp2"); column2.setWindow(window2); checkSingleDiff(FIELD_WINDOW, window1, window2, column1, column2); assertNotEquals(column1, column2); }