Package Subset0268.impl

Examples of Subset0268.impl.TContentImpl


   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetContent(TContent newContent, NotificationChain msgs) {
    TContent oldContent = content;
    content = newContent;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Subset0268Package.TPACKET__CONTENT, oldContent, newContent);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here


   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetPackets(TPackets newPackets, NotificationChain msgs) {
    TPackets oldPackets = packets;
    packets = newPackets;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Subset0268Package.TDEFINITIONS__PACKETS, oldPackets, newPackets);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetTrackToTrain(TTrackToTrain newTrackToTrain, NotificationChain msgs) {
    TTrackToTrain oldTrackToTrain = trackToTrain;
    trackToTrain = newTrackToTrain;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Subset0268Package.TPACKETS__TRACK_TO_TRAIN, oldTrackToTrain, newTrackToTrain);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetTrainToTrack(TTrainToTrack newTrainToTrack, NotificationChain msgs) {
    TTrainToTrack oldTrainToTrack = trainToTrack;
    trainToTrack = newTrainToTrack;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Subset0268Package.TPACKETS__TRAIN_TO_TRACK, oldTrainToTrack, newTrainToTrack);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void setTransmissionMedia(TTransmissionMedia newTransmissionMedia) {
    TTransmissionMedia oldTransmissionMedia = transmissionMedia;
    transmissionMedia = newTransmissionMedia == null ? TRANSMISSION_MEDIA_EDEFAULT : newTransmissionMedia;
    boolean oldTransmissionMediaESet = transmissionMediaESet;
    transmissionMediaESet = true;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, Subset0268Package.TPACKET__TRANSMISSION_MEDIA, oldTransmissionMedia, transmissionMedia, !oldTransmissionMediaESet));
View Full Code Here

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void unsetTransmissionMedia() {
    TTransmissionMedia oldTransmissionMedia = transmissionMedia;
    boolean oldTransmissionMediaESet = transmissionMediaESet;
    transmissionMedia = TRANSMISSION_MEDIA_EDEFAULT;
    transmissionMediaESet = false;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.UNSET, Subset0268Package.TPACKET__TRANSMISSION_MEDIA, oldTransmissionMedia, TRANSMISSION_MEDIA_EDEFAULT, oldTransmissionMediaESet));
View Full Code Here

TOP

Related Classes of Subset0268.impl.TContentImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.