/** * Sets the name. * * @param name the new name */ public void setName(String name) { if (editor.isLocalProcessingDescriptor()) editor.getAeDescription().getMetaData().setName(name); else if (editor.isTypeSystemDescriptor()) editor.getTypeSystemDescription().setName(name); else if (editor.isTypePriorityDescriptor()) editor.getTypePriorities().setName(name); else if (editor.isFsIndexCollection()) editor.getFsIndexCollection().setName(name); else if (editor.isExtResAndBindingsDescriptor()) editor.getExtResAndBindings().setName(name); else throw new InternalErrorCDE("invalid state"); }