/** * Insert the method's description here. Creation date: (4/6/2001 3:28:16 PM) * * @return java.util.HashMap */ public void addAttribute(EStructuralFeature aFeature, Object aValue) { if (aFeature != null && aValue != null) getAttributes().put(aFeature, aValue); }
protected void setNewObjectAttributes(EObject anObject, ModifierHelper aHelper) { HashMap attributes = aHelper.getAttributes(); Iterator it = attributes.keySet().iterator(); EStructuralFeature feature; Object value = null; while (it.hasNext()) { feature = (EStructuralFeature) it.next(); value = attributes.get(feature); setObjectAttribute(anObject, feature, value, false); } }