Search in sources :

Example 1 with WSBooleanE

use of org.talend.mdm.repository.model.mdmserverobject.WSBooleanE in project tmdm-studio-se by Talend.

the class WSViewEImpl method basicSetIsTransformerActive.

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public NotificationChain basicSetIsTransformerActive(WSBooleanE newIsTransformerActive, NotificationChain msgs) {
    WSBooleanE oldIsTransformerActive = isTransformerActive;
    isTransformerActive = newIsTransformerActive;
    if (eNotificationRequired()) {
        ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, MdmserverobjectPackage.WS_VIEW_E__IS_TRANSFORMER_ACTIVE, oldIsTransformerActive, newIsTransformerActive);
        if (msgs == null)
            msgs = notification;
        else
            msgs.add(notification);
    }
    return msgs;
}
Also used : ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl) WSBooleanE(org.talend.mdm.repository.model.mdmserverobject.WSBooleanE)

Example 2 with WSBooleanE

use of org.talend.mdm.repository.model.mdmserverobject.WSBooleanE in project tmdm-studio-se by Talend.

the class WSViewEImpl method basicSetIsAsc.

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public NotificationChain basicSetIsAsc(WSBooleanE newIsAsc, NotificationChain msgs) {
    WSBooleanE oldIsAsc = isAsc;
    isAsc = newIsAsc;
    if (eNotificationRequired()) {
        ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, MdmserverobjectPackage.WS_VIEW_E__IS_ASC, oldIsAsc, newIsAsc);
        if (msgs == null)
            msgs = notification;
        else
            msgs.add(notification);
    }
    return msgs;
}
Also used : ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl) WSBooleanE(org.talend.mdm.repository.model.mdmserverobject.WSBooleanE)

Example 3 with WSBooleanE

use of org.talend.mdm.repository.model.mdmserverobject.WSBooleanE in project tmdm-studio-se by Talend.

the class NewViewAction method newView.

protected WSViewE newView(String key) {
    WSBooleanE wsBool = MdmserverobjectFactory.eINSTANCE.createWSBooleanE();
    wsBool.set_true(false);
    WSViewE view = MdmserverobjectFactory.eINSTANCE.createWSViewE();
    view.setName(key);
    // $NON-NLS-1$
    view.setDescription("");
    view.setTransformerPK(null);
    view.setIsTransformerActive(wsBool);
    return view;
}
Also used : WSBooleanE(org.talend.mdm.repository.model.mdmserverobject.WSBooleanE) WSViewE(org.talend.mdm.repository.model.mdmserverobject.WSViewE)

Aggregations

WSBooleanE (org.talend.mdm.repository.model.mdmserverobject.WSBooleanE)3 ENotificationImpl (org.eclipse.emf.ecore.impl.ENotificationImpl)2 WSViewE (org.talend.mdm.repository.model.mdmserverobject.WSViewE)1