public static Stella_Object access_PLDirectoryContents_Slot_Value(PLDirectoryContents self, Symbol slotname, Stella_Object value, boolean setvalueP) {
    if (slotname == GuiServer.SYM_GUI_SERVER_DirectoryName) {
      if (setvalueP) {
        self.DirectoryName = ((StringWrapper)(value)).wrapperValue;
      }
      else {
        value = StringWrapper.wrapString(self.DirectoryName);
      }
    }
    else if (slotname == GuiServer.SYM_GUI_SERVER_PLDirectory) {
      if (setvalueP) {
        self.PLDirectory = ((List)(value));
      }
      else {
        value = self.PLDirectory;
      }
    }
    else if (slotname == GuiServer.SYM_GUI_SERVER_PLFile) {
      if (setvalueP) {
        self.PLFile = ((List)(value));
      }
      else {
        value = self.PLFile;
      }
    }
    else {
      { OutputStringStream stream000 = OutputStringStream.newOutputStringStream();

        stream000.nativeStream.print("`" + slotname + "' is not a valid case option");
        throw ((StellaException)(StellaException.newStellaException(stream000.theStringReader()).fillInStackTrace()));
      }
    }
    return (value);
  }