public ServiceInfo addAttributes(Attributes thatAttrs)
    {
        Attributes thisAttrs = getAttributes();
        Attributes mergedAttrs = null;
        if (thisAttrs == null)
            mergedAttrs = thatAttrs == null ? null : thatAttrs.union(null);
        else
            mergedAttrs = thisAttrs.union(thatAttrs);
        return clone(getScopes(), mergedAttrs);
    }
public ServiceInfo addAttributes ( Attributes thatAttrs ) { Attributes thisAttrs = getAttributes ( ) ; Attributes mergedAttrs = null ; if ( thisAttrs == null ) mergedAttrs = thatAttrs == null ? null : thatAttrs . union ( null ) ; else mergedAttrs = thisAttrs . union ( thatAttrs ) ; return clone ( getScopes ( ) , mergedAttrs ) ; }
Adds the given Attributes to the Attributes of this <code>ServiceInfo</code>, returning a new instance of
ServiceInfo containing the sum of the Attributes; the current instance of ServiceInfo is left unaltered.

@param thatAttrs The <code>Attributes</code> to add to this instance's Attributes
@return A newly created <code>ServiceInfo</code> containing of the sum of the Attributes
@see Attributes#union(Attributes)