public int setValue(Integer32 newValue) { //--AgentGen BEGIN=snmpTsmConfigurationUsePrefix::setValue TSM tsmCopy = tsm; if (tsmCopy != null) { tsmCopy.setUsePrefix(TruthValueTC.getBooleanValue(newValue)); } //--AgentGen END return super.setValue(newValue); }
public void setTsm(TSM tsm) { if (this.tsm != null) { this.tsm.getCounterSupport().removeCounterListener(counterListener); } this.tsm = tsm; this.tsm.getCounterSupport().addCounterListener(counterListener); tsm.setUsePrefix(TruthValueTC.getBooleanValue(snmpTsmConfigurationUsePrefix.getValue())); }