protected void createEAttribute(EClass owner, int id) { EAttributeImpl a = (EAttributeImpl)ecoreFactory.createEAttribute(); a.setFeatureID(id); owner.eStructuralFeatures.add(a); }
public EAttribute createEAttribute() { var theEAttribute = new EAttributeImpl(); return(theEAttribute); }