Sets the prefix for temporary queue names.

@param prefix
the prefix
@throws JMSException
if the prefix is longer than 12 characters
331167
@Override
    public void setTemporaryQueueNamePrefix(final String prefix)
                    throws JMSException {
         
          temporaryQueueNamePrefix = prefix;
         // defect 99056
        _properties.put(JmsraConstants.TEMP_QUEUE_NAME_PREFIX, prefix);

        if ((prefix != null) && (prefix.length() > 12)) {

            final JMSException exception = new JMSException(NLS
                            .getFormattedMessage(("DESTINATION_PREFIX_LONG_CWSJR1025"),
                                                 new Object[] { prefix }, null));
            if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
                SibTr.exception(this, TRACE, exception);
            }
            throw exception;
        }

    }
728063
@Override
	public void delete() throws JMSException
    {
        if (connection == null)
            throw new FFMQException("Temporary queue already deleted","QUEUE_DOES_NOT_EXIST");
            
        connection.deleteTemporaryQueue(name);
        connection = null;
    }
1179062
void setDestName(String destName) throws JMSException {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.entry(this, tc, "setDestName", destName);

        if ((null == destName) || ("".equals(destName))) {
            // d238447 FFDC review. More likely to be an external rather than internal error,
            //   so no FFDC.
            throw (JMSException) JmsErrorUtils.newThrowable(
                                                            InvalidDestinationException.class,
                                                            "INVALID_VALUE_CWSIA0281",
                                                            new Object[] { "destName", destName },
                                                            tc
                            );
        }
        // Store the property
        updateProperty(DEST_NAME, destName);

        // Clear the cached destinationAddresses, as they may now be incorrect
        clearCachedProducerDestinationAddress();
        clearCachedConsumerDestinationAddress();

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.exit(this, tc, "setDestName");
    }
133805
protected void setPrefixes(final Collection<String> prefixesToSet) {
		if (prefixesToSet == null) {
			throw new IllegalArgumentException("The given prefixSet is not allowed to be null.");
		}
		final Set<String> newPrefixes = new TreeSet<String>();
		for (final String prefixString : prefixesToSet) {
			if (StringUtils.isNotBlank(prefixString)) {
				newPrefixes.add(prefixString);
			}
		}
		lock.writeLock().lock();
		try {
			prefixes = newPrefixes;
			if (getPrefix() != null && !prefixes.contains(getPrefix())) {
				defaultPrefix = null;
				localPrefix.remove();
			}
		} finally {
			lock.writeLock().unlock();
		}
	}
699268
public void setPrefixLists(java.util.Collection<PrefixList> prefixLists) {
        if (prefixLists == null) {
            this.prefixLists = null;
            return;
        }

        this.prefixLists = new com.amazonaws.internal.SdkInternalList<PrefixList>(prefixLists);
    }
742134
public function setPrefix($prefix)
    {
        $this->prefix = $prefix;

        if (!empty($this->prefix)) {
            $this->prefix .= ".";
        }
    }
1246486
def set_prefix(self, prefix=None):
        
        if prefix is None:
            self._pfx = None
        else:
            self._pfx = prefix + self.SEP
821445
def set_prefix(self, prefix):
        
        warnings.warn("set_prefix() is deprecated; use the prefix property",
                      DeprecationWarning, stacklevel=2)
        self.prefix = prefix
478651
public function setPrefix(string $prefix): RouteInterface
    {
        if (!preg_match(
                "/^([A-Z]{1}[a-zA-Z_0-9]{1,31}(\/{1})?){1,5}$/",
                $prefix)) {
            throw new InvalidArgumentException(
                "Can't set prefix: invalid prefix " . $prefix);
        }
        $this->prefix = rtrim($prefix, "/");
        return $this;
    }
1128704
private function setOutputPrefix($prefix)
    {
        if (!($this->output->getFormatter() instanceof PrefixFormatter)) {
            return;
        }

        $this->output->getFormatter()->prefix = $prefix;
    }
1015404
public static void setKeyPrefix(final String keyPrefix) {
		UserPreferences.keyPrefix = keyPrefix;
		try {
			systemRoot.sync();
		} catch (final Exception e) {
			JKExceptionUtil.handle(e);
		}
	}
49940
public void setPrefix(String prefix) {
    if (!Strings.isNullOrEmpty(getProject().getUserProperty(SYSPROP_PREFIX()))) {
      log("Ignoring prefix attribute because it is overridden by user properties.", Project.MSG_WARN);
    } else {
      SysGlobals.initializeWith(prefix);
    }
  }
475565
public void dump(String prefix) {
        System.out.println(toString(prefix));
        if (children != null) {
            for (int i = 0; i < children.length; ++i) {
                SimpleNode n = (SimpleNode) children[i];
                if (n != null) {
                    n.dump(prefix + " ");
                }
            }
        }
    }
1292814
public void setPrefixes( final String... prefixes) {
		if ( prefixes != null && 0 < prefixes.length) format.getHeader().createEntry( PREFIXES, prefixes);
	}
389209
public function addNamePrefix(string $prefix)
    {
        $prefixedRoutes = [];

        foreach ($this->routes as $name => $route) {
            $prefixedRoutes[$prefix.$name] = $route;
            if (null !== $name = $route->getDefault('_canonical_route')) {
                $route->setDefault('_canonical_route', $prefix.$name);
            }
        }

        $this->routes = $prefixedRoutes;
    }
505097
public S tableNamePrefix(String tableNamePrefix) {
      attributes.attribute(TABLE_NAME_PREFIX).set(tableNamePrefix);
      return self();
   }
1008435
public static SuggestedFix prefixWith(Tree node, String prefix) {
    return builder().prefixWith(node, prefix).build();
  }