/** */ package org.eclipse.etrice.core.room; /** * * A representation of the model object 'Sub Protocol'. * * * *
The sub protocol is part of the {@link CompoundProtocolClass} and defines * kind of a named channel for messages. The sub protocols are used to associate an * end port with a particular channel. * * * *

* The following features are supported: *

* * * @see org.eclipse.etrice.core.room.RoomPackage#getSubProtocol() * @model * @generated */ public interface SubProtocol extends RoomElement { /** * Returns the value of the 'Name' attribute. * * * *
By this name the sub protocols or channels are distinguished. * * * @return the value of the 'Name' attribute. * @see #setName(String) * @see org.eclipse.etrice.core.room.RoomPackage#getSubProtocol_Name() * @model * @generated */ String getName(); /** * Sets the value of the '{@link org.eclipse.etrice.core.room.SubProtocol#getName Name}' attribute. * * * @param value the new value of the 'Name' attribute. * @see #getName() * @generated */ void setName(String value); /** * Returns the value of the 'Protocol' reference. * * * *
This is the protocol of this channel. * * * @return the value of the 'Protocol' reference. * @see #setProtocol(GeneralProtocolClass) * @see org.eclipse.etrice.core.room.RoomPackage#getSubProtocol_Protocol() * @model * @generated */ GeneralProtocolClass getProtocol(); /** * Sets the value of the '{@link org.eclipse.etrice.core.room.SubProtocol#getProtocol Protocol}' reference. * * * @param value the new value of the 'Protocol' reference. * @see #getProtocol() * @generated */ void setProtocol(GeneralProtocolClass value); } // SubProtocol