* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetP_tag(TagAst newP_tag, NotificationChain msgs) {
TagAst oldP_tag = p_tag;
p_tag = newP_tag;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, QvtAstPackage.TAG_METAMODEL_ELEMENT_AST__PTAG, oldP_tag, newP_tag);
if (msgs == null) msgs = notification; else msgs.add(notification);
}