/** * Uses the IMemento pattern to obtain persistence data from the object * * @generated NO MORE */ public String convertIGenericProjectElementToString(EDataType eDataType, Object instanceValue) { IGenericProjectElement elem = (IGenericProjectElement) instanceValue; UdigMemento memento = new UdigMemento(); elem.save(memento); memento.putString(EXTENSION_POINT_ID_KEY, elem.getExtensionId()); return memento.toString(); }