Search in sources :

Example 1 with BooleanValue

use of com.robotoworks.mechanoid.net.netModel.BooleanValue in project mechanoid by robotoworks.

the class BooleanLiteralImpl method setLiteral.

/**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
public void setLiteral(BooleanValue newLiteral) {
    BooleanValue oldLiteral = literal;
    literal = newLiteral == null ? LITERAL_EDEFAULT : newLiteral;
    if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, NetModelPackage.BOOLEAN_LITERAL__LITERAL, oldLiteral, literal));
}
Also used : ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl) BooleanValue(com.robotoworks.mechanoid.net.netModel.BooleanValue)

Aggregations

BooleanValue (com.robotoworks.mechanoid.net.netModel.BooleanValue)1 ENotificationImpl (org.eclipse.emf.ecore.impl.ENotificationImpl)1