package models.visualModel; import models.algebra.Symbol; import models.dataConstraintModel.ChannelMember; import models.dataFlowModel.DataflowChannelGenerator; public class FormulaChannelGenerator extends DataflowChannelGenerator { private Symbol defaultOperator = null; private String formula = null; public FormulaChannelGenerator(String channelName, Symbol defaultOperator) { super(channelName); this.defaultOperator = defaultOperator; } public void addChannelMemberAsInput(ChannelMember channelMember) { super.addChannelMemberAsInput(channelMember); } public void addChannelMemberAsOutput(ChannelMember channelMember) { super.addChannelMemberAsOutput(channelMember); } public Symbol getDefaultOperator() { return defaultOperator; } public void setDefaultOperator(Symbol defaultOperator) { this.defaultOperator = defaultOperator; } public void setFormula(String formula) { this.formula = formula; } public String getFormula() { return formula; } }