code: @Nonnull
  	public DataBuilder appendDevicePattern(@Nonnull final DevicePattern pattern) {
  		Check.notNull(pattern, "pattern");
  		if (!devicePatterns.containsKey(pattern.getId())) {
  			devicePatterns.put(pattern.getId(), new TreeSet<DevicePattern>(DEVICE_PATTERN_COMPARATOR));
  		}
  
  		devicePatterns.get(pattern.getId()).add(pattern);
  		return this;
  	}
docs: Appends a device pattern to the map of pattern sorted by ID.
  
  @param pattern
  a pattern for a device
  @return itself
  @throws net.sf.qualitycheck.exception.IllegalNullArgumentException
  if the given argument is {@code null}