@Nonnull public EChange removeAttribute (@Nullable final IMicroQName aAttrName) { if (m_aAttrs == null || aAttrName == null) return EChange.UNCHANGED; return m_aAttrs.removeObject (aAttrName); }
@Nonnull public EChange removeAttachment (@Nullable final String sFilename) { return m_aMap.removeObject (sFilename); }
@Nonnull public EChange removePartner (@Nullable final String sPartnerName) { return m_aMap.removeObject (sPartnerName); }
/** * Remove the function with the specified name. * * @param aKey * The function key to be removed. May be <code>null</code>. * @return {@link EChange} */ @Nonnull public EChange removeFunction (@Nullable final XPathFunctionKey aKey) { if (aKey == null) return EChange.UNCHANGED; return m_aMap.removeObject (aKey); }
@Nonnull public EChange deleteProcess (@Nullable final ISMPProcess aProcess) { if (aProcess == null) return EChange.UNCHANGED; final String sProcessID = _getKey (aProcess.getProcessIdentifier ()); return m_aProcesses.removeObject (sProcessID); }
@Nonnull public EChange deleteProcess (@Nullable final ISMPProcess aProcess) { if (aProcess == null) return EChange.UNCHANGED; final String sProcessID = _getKey (aProcess.getProcessIdentifier ()); return m_aProcesses.removeObject (sProcessID); }
/** * Remove the cookie with the specified name. * * @param sName * The name of the cookie to be removed. May be <code>null</code>. * @return {@link EChange} */ @Nonnull public static EChange removeCookie (@Nullable final String sName) { if (StringHelper.hasNoText (sName)) return EChange.UNCHANGED; return s_aRWLock.writeLocked ( () -> s_aCookies.removeObject (sName)); }