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