@Override public void onValueChange(final ValueChangeEvent<String> event) { if (chosenPatternSelection == null) { return; } chosenPatternSelection.setEntryPointName(event.getValue()); } });
@Override public void onValueChange(final ValueChangeEvent<String> event) { if (chosenPatternSelection == null) { return; } chosenPatternSelection.setEntryPointName(event.getValue()); } });
@Test public void testDiffEntryPoint() { column1.setEntryPointName("entryPoint1"); column2.setEntryPointName("entryPoint2"); checkSingleDiff(FIELD_ENTRY_POINT_NAME, "entryPoint1", "entryPoint2", column1, column2); }
/** * Clones this pattern instance. * @return The cloned instance. */ public Pattern52 clonePattern() { Pattern52 cloned = new Pattern52(); cloned.setBoundName( getBoundName() ); cloned.setChildColumns( new ArrayList<ConditionCol52>( getChildColumns() ) ); cloned.setEntryPointName( getEntryPointName() ); cloned.setFactType( getFactType() ); cloned.setNegated( isNegated() ); cloned.setWindow( getWindow() ); return cloned; }
@Override public Pattern52 editingPattern() { editingPattern.setFactType(patternWrapper().getFactType()); editingPattern.setBoundName(patternWrapper().getBoundName()); editingPattern.setNegated(patternWrapper().isNegated()); editingPattern.setEntryPointName(patternWrapper().getEntryPointName()); return editingPattern; }
private Pattern52 wrappedPattern() { editingPattern.setFactType(patternWrapper().getFactType()); editingPattern.setBoundName(patternWrapper().getBoundName()); editingPattern.setNegated(patternWrapper().isNegated()); editingPattern.setEntryPointName(patternWrapper().getEntryPointName()); return editingPattern; }
/** * Update this pattern instance properties with the given ones from other pattern instance. * @param other The pattern to obtain the properties to set. */ public void update( Pattern52 other ) { setBoundName( other.getBoundName() ); setChildColumns( other.getChildColumns() ); setEntryPointName( other.getEntryPointName() ); setFactType( other.getFactType() ); setNegated( other.isNegated() ); setWindow( other.getWindow() ); }
@Override public Pattern52 editingPattern() { editingPattern.setFactType(patternWrapper().getFactType()); editingPattern.setBoundName(patternWrapper().getBoundName()); editingPattern.setNegated(patternWrapper().isNegated()); editingPattern.setEntryPointName(patternWrapper().getEntryPointName()); return editingPattern; }
private Pattern52 wrappedPattern() { editingPattern.setFactType(patternWrapper().getFactType()); editingPattern.setBoundName(patternWrapper().getBoundName()); editingPattern.setNegated(patternWrapper().isNegated()); editingPattern.setEntryPointName(patternWrapper().getEntryPointName()); return editingPattern; }
editedPattern.setEntryPointName(entryPoint); editedCondition.setWidth(condition.getWidth()); verify(pattern).setEntryPointName(entryPoint);
@Before public void setup() { column1 = new Pattern52(); column1.setFactType("Fact"); column1.setBoundName("$var"); column1.setNegated(false); column1.setWindow(new CEPWindow()); column1.setEntryPointName("entryPoint"); column2 = new Pattern52(); column2.setFactType("Fact"); column2.setBoundName("$var"); column2.setNegated(false); column2.setWindow(new CEPWindow()); column2.setEntryPointName("entryPoint"); }
window1.setOperator("dummyOp1"); column1.setWindow(window1); column1.setEntryPointName("entryPoint1"); window2.setOperator("dummyOp2"); column2.setWindow(window2); column2.setEntryPointName("entryPoint2");
originalPattern.setEntryPointName(editedPattern.getEntryPointName());
originalPattern.setEntryPointName(editedPattern.getEntryPointName());
originalPattern.setBoundName("patBind1"); originalPattern.setFactType("FactType1"); originalPattern.setEntryPointName("ep1"); newPattern.setEntryPointName("ep2");