diff options
Diffstat (limited to 'plugins/org.eclipse.osee.ats.dsl/src-gen/org/eclipse/osee/ats/dsl/atsDsl/impl/CreatePeerReviewRuleImpl.java')
-rw-r--r-- | plugins/org.eclipse.osee.ats.dsl/src-gen/org/eclipse/osee/ats/dsl/atsDsl/impl/CreatePeerReviewRuleImpl.java | 298 |
1 files changed, 143 insertions, 155 deletions
diff --git a/plugins/org.eclipse.osee.ats.dsl/src-gen/org/eclipse/osee/ats/dsl/atsDsl/impl/CreatePeerReviewRuleImpl.java b/plugins/org.eclipse.osee.ats.dsl/src-gen/org/eclipse/osee/ats/dsl/atsDsl/impl/CreatePeerReviewRuleImpl.java index c67fdd7f6ca..44531d32de3 100644 --- a/plugins/org.eclipse.osee.ats.dsl/src-gen/org/eclipse/osee/ats/dsl/atsDsl/impl/CreatePeerReviewRuleImpl.java +++ b/plugins/org.eclipse.osee.ats.dsl/src-gen/org/eclipse/osee/ats/dsl/atsDsl/impl/CreatePeerReviewRuleImpl.java @@ -3,174 +3,162 @@ package org.eclipse.osee.ats.dsl.atsDsl.impl; import org.eclipse.emf.common.notify.Notification; - import org.eclipse.emf.ecore.EClass; - import org.eclipse.emf.ecore.impl.ENotificationImpl; - import org.eclipse.osee.ats.dsl.atsDsl.AtsDslPackage; import org.eclipse.osee.ats.dsl.atsDsl.CreatePeerReviewRule; /** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Create Peer Review Rule</b></em>'. - * <!-- end-user-doc --> + * <!-- begin-user-doc --> An implementation of the model object '<em><b>Create Peer Review Rule</b></em>'. <!-- + * end-user-doc --> * <p> * The following features are implemented: * </p> * <ul> - * <li>{@link org.eclipse.osee.ats.dsl.atsDsl.impl.CreatePeerReviewRuleImpl#getLocation <em>Location</em>}</li> + * <li>{@link org.eclipse.osee.ats.dsl.atsDsl.impl.CreatePeerReviewRuleImpl#getLocation <em>Location</em>}</li> * </ul> * * @generated */ -public class CreatePeerReviewRuleImpl extends ReviewRuleImpl implements CreatePeerReviewRule -{ - /** - * The default value of the '{@link #getLocation() <em>Location</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLocation() - * @generated - * @ordered - */ - protected static final String LOCATION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getLocation() <em>Location</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLocation() - * @generated - * @ordered - */ - protected String location = LOCATION_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected CreatePeerReviewRuleImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() - { - return AtsDslPackage.Literals.CREATE_PEER_REVIEW_RULE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getLocation() - { - return location; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLocation(String newLocation) - { - String oldLocation = location; - location = newLocation; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, AtsDslPackage.CREATE_PEER_REVIEW_RULE__LOCATION, oldLocation, location)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case AtsDslPackage.CREATE_PEER_REVIEW_RULE__LOCATION: - return getLocation(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case AtsDslPackage.CREATE_PEER_REVIEW_RULE__LOCATION: - setLocation((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case AtsDslPackage.CREATE_PEER_REVIEW_RULE__LOCATION: - setLocation(LOCATION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case AtsDslPackage.CREATE_PEER_REVIEW_RULE__LOCATION: - return LOCATION_EDEFAULT == null ? location != null : !LOCATION_EDEFAULT.equals(location); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (location: "); - result.append(location); - result.append(')'); - return result.toString(); - } +public class CreatePeerReviewRuleImpl extends ReviewRuleImpl implements CreatePeerReviewRule { + /** + * The default value of the '{@link #getLocation() <em>Location</em>}' attribute. <!-- begin-user-doc --> <!-- + * end-user-doc --> + * + * @see #getLocation() + * @generated + * @ordered + */ + protected static final String LOCATION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getLocation() <em>Location</em>}' attribute. <!-- begin-user-doc --> <!-- + * end-user-doc --> + * + * @see #getLocation() + * @generated + * @ordered + */ + protected String location = LOCATION_EDEFAULT; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + protected CreatePeerReviewRuleImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return AtsDslPackage.Literals.CREATE_PEER_REVIEW_RULE; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public String getLocation() { + return location; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public void setLocation(String newLocation) { + String oldLocation = location; + location = newLocation; + if (eNotificationRequired()) { + eNotify(new ENotificationImpl(this, Notification.SET, AtsDslPackage.CREATE_PEER_REVIEW_RULE__LOCATION, + oldLocation, location)); + } + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case AtsDslPackage.CREATE_PEER_REVIEW_RULE__LOCATION: + return getLocation(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case AtsDslPackage.CREATE_PEER_REVIEW_RULE__LOCATION: + setLocation((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case AtsDslPackage.CREATE_PEER_REVIEW_RULE__LOCATION: + setLocation(LOCATION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case AtsDslPackage.CREATE_PEER_REVIEW_RULE__LOCATION: + return LOCATION_EDEFAULT == null ? location != null : !LOCATION_EDEFAULT.equals(location); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) { + return super.toString(); + } + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (location: "); + result.append(location); + result.append(')'); + return result.toString(); + } } //CreatePeerReviewRuleImpl |