code: public void setCardinality(String newCardinality)
    {
      String oldCardinality = cardinality;
      cardinality = newCardinality;
      if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, SimpleAntlrPackage.ELEMENT_WITH_CARDINALITY__CARDINALITY, oldCardinality, cardinality));
    }
docs: <!-- begin-user-doc -->
  <!-- end-user-doc -->
  @generated