use of org.eclipse.xtext.example.homeautomation.ruleEngine.State in project xtext-eclipse by eclipse.
the class RuleImpl method setDeviceState.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void setDeviceState(State newDeviceState) {
State oldDeviceState = deviceState;
deviceState = newDeviceState;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, RuleEnginePackage.RULE__DEVICE_STATE, oldDeviceState, deviceState));
}
Aggregations