protected EOperation addEOperation(EClass owner, EClassifier type, String name) { EOperation o = ecoreFactory.createEOperation(); initEOperation(o, type, name); owner.getEOperations().add(o); return o; }
protected EOperation addEOperation(EClass owner, EClassifier type, String name, int lowerBound, int upperBound, boolean isUnique, boolean isOrdered) { EOperation o = ecoreFactory.createEOperation(); initEOperation(o, type, name, lowerBound, upperBound, isUnique, isOrdered); owner.getEOperations().add(o); return o; }
/** * @since 2.6 */ protected void createEOperation(EClass owner, int id) { EOperationImpl o = (EOperationImpl)ecoreFactory.createEOperation(); o.setOperationID(id); owner.getEOperations().add(o); }
protected EOperation addEOperation(EClass owner, EClassifier type, String name, int lowerBound, int upperBound) { EOperation o = ecoreFactory.createEOperation(); initEOperation(o, type, name, lowerBound, upperBound); owner.getEOperations().add(o); return o; }
protected EOperation addEOperation(EClass owner, EClassifier type, String name, int lowerBound, int upperBound, boolean isUnique, boolean isOrdered) { EOperation o = ecoreFactory.createEOperation(); initEOperation(o, type, name, lowerBound, upperBound, isUnique, isOrdered); owner.getEOperations().add(o); return o; }
protected EOperation addEOperation(EClass owner, EClassifier type, String name, int lowerBound, int upperBound) { EOperation o = ecoreFactory.createEOperation(); initEOperation(o, type, name, lowerBound, upperBound); owner.getEOperations().add(o); return o; }
/** * @since 2.6 */ protected void createEOperation(EClass owner, int id) { EOperationImpl o = (EOperationImpl)ecoreFactory.createEOperation(); o.setOperationID(id); owner.getEOperations().add(o); }
protected EOperation addEOperation(EClass owner, EClassifier type, String name) { EOperation o = ecoreFactory.createEOperation(); initEOperation(o, type, name); owner.getEOperations().add(o); return o; }
public EOperation createOperation(String name, EClassifier resultType, List<String> paramNames, List<EClassifier> paramTypes) { EOperation result = org.eclipse.emf.ecore.EcoreFactory.eINSTANCE.createEOperation(); result.setName(name); result.setEType(resultType); int i = 0; for (String pname : paramNames) { EParameter param = org.eclipse.emf.ecore.EcoreFactory.eINSTANCE.createEParameter(); param.setName(pname); param.setEType(paramTypes.get(i++)); result.getEParameters().add(param); } return result; }
/** * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children * that can be created under this object. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { super.collectNewChildDescriptors(newChildDescriptors, object); newChildDescriptors.add (createChildParameter (EcorePackage.Literals.ECLASS__EOPERATIONS, EcoreFactory.eINSTANCE.createEOperation())); newChildDescriptors.add (createChildParameter (EcorePackage.Literals.ECLASS__ESTRUCTURAL_FEATURES, EcoreFactory.eINSTANCE.createEAttribute())); newChildDescriptors.add (createChildParameter (EcorePackage.Literals.ECLASS__ESTRUCTURAL_FEATURES, EcoreFactory.eINSTANCE.createEReference())); newChildDescriptors.add (createChildParameter (EcorePackage.Literals.ECLASS__EGENERIC_SUPER_TYPES, EcoreFactory.eINSTANCE.createEGenericType())); }
EOperation eOperation = EcoreFactory.eINSTANCE.createEOperation(); eOperation.setName(getAccessor); eOperation.setUpperBound(eStructuralFeature.getUpperBound()); EOperation eOperation = EcoreFactory.eINSTANCE.createEOperation(); eOperation.setName(setAccessor); EParameter eParameter = EcoreFactory.eINSTANCE.createEParameter(); EOperation eOperation = EcoreFactory.eINSTANCE.createEOperation(); eOperation.setName(isSetAccessor); eOperation.setEType(EcorePackage.Literals.EBOOLEAN); EOperation eOperation = EcoreFactory.eINSTANCE.createEOperation(); eOperation.setName(unsetAccessor); implicitEOperationToEStructuralFeatureMap.put(eOperation, eStructuralFeature);
EOperation eOperation = EcoreFactory.eINSTANCE.createEOperation(); eOperation.setName(getAccessor); eOperation.setUpperBound(eStructuralFeature.getUpperBound()); EOperation eOperation = EcoreFactory.eINSTANCE.createEOperation(); eOperation.setName(setAccessor); EParameter eParameter = EcoreFactory.eINSTANCE.createEParameter(); EOperation eOperation = EcoreFactory.eINSTANCE.createEOperation(); eOperation.setName(isSetAccessor); eOperation.setEType(EcorePackage.Literals.EBOOLEAN); EOperation eOperation = EcoreFactory.eINSTANCE.createEOperation(); eOperation.setName(unsetAccessor); implicitEOperationToEStructuralFeatureMap.put(eOperation, eStructuralFeature);
EOperation eOperation = EcoreFactory.eINSTANCE.createEOperation(); eOperation.setLowerBound(1); eOperation.setOrdered(false);
EOperation eOperation = EcoreFactory.eINSTANCE.createEOperation(); eOperation.setLowerBound(1); eOperation.setOrdered(false);
.createEOperation(); elementToEModelElementMap.put(constraint, eOperation);
Constraint constraint) { resetTypeCaches(); EOperation result = EcoreFactory.eINSTANCE.createEOperation();
.createEOperation(); elementToEModelElementMap.put(operation, eOperation);
EOperation eOperation = EcoreFactory.eINSTANCE.createEOperation(); String operationName = operation.getAttributeNS(null, "name"); eOperation.setName(operationName);
EOperation eOperation = EcoreFactory.eINSTANCE.createEOperation(); String operationName = operation.getAttributeNS(null, "name"); eOperation.setName(operationName);