/** * This yields an encoding of the owner-child relation. */ public Collection<String> getParameters() { Collection<String> parameters = new ArrayList<String>(); EObject eObject = getEOwner(); EStructuralFeature eStructuralFeature = getEStructuralFeature(); if (eObject != null && eStructuralFeature != null) { parameters.add(eObject.eClass().getName()); parameters.add(eStructuralFeature.getEType().getName()); } return parameters; }
EStructuralFeature childFeature = parameter.getEStructuralFeature(); Object child = parameter.getValue(); if (childFeature != null && child != null) EStructuralFeature childFeature = parameter.getEStructuralFeature(); if (childFeature == null || !childFeature.isMany())
(domain, commandParameter.getEOwner(), commandParameter.getEStructuralFeature() != null ? commandParameter.getEStructuralFeature() : getSetFeature(commandParameter.getEOwner(), commandParameter.getValue()), commandParameter.getValue(), if (commandParameter.getEStructuralFeature() != null) result = createRemoveCommand(domain, commandParameter.getEOwner(), commandParameter.getEStructuralFeature(), commandParameter.getCollection()); if (commandParameter.getEStructuralFeature() != null) (domain, commandParameter.getEOwner(), commandParameter.getEStructuralFeature(), commandParameter.getCollection(), commandParameter.getIndex()); if (commandParameter.getEStructuralFeature() != null) (domain, commandParameter.getEOwner(), commandParameter.getEStructuralFeature(), commandParameter.getValue(), commandParameter.getIndex()); (domain, commandParameter.getEOwner(), commandParameter.getEStructuralFeature(), commandParameter.getValue(), commandParameter.getCollection());