* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setSimilarityType(SimilarityTypeType newSimilarityType) {
SimilarityTypeType oldSimilarityType = similarityType;
similarityType = newSimilarityType == null ? SIMILARITY_TYPE_EDEFAULT : newSimilarityType;
boolean oldSimilarityTypeESet = similarityTypeESet;
similarityTypeESet = true;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, _40Package.TEXT_MODEL_SIMILIARITY_TYPE__SIMILARITY_TYPE, oldSimilarityType, similarityType, !oldSimilarityTypeESet));