code: public Collection<String> getRelatedDetectionSystems(DetectionSystem detectionSystem) {
  		Collection<String> relatedDetectionSystems = new HashSet<String>();
  
  		relatedDetectionSystems.add(detectionSystem.getDetectionSystemId());
  
  		if(correlationSets != null) {
  			for(CorrelationSet correlationSet : correlationSets) {
  				if(correlationSet.getClientApplications() != null) {
  					if(correlationSet.getClientApplications().contains(detectionSystem.getDetectionSystemId())) {
  						relatedDetectionSystems.addAll(correlationSet.getClientApplications());
  					}
  				}
  			}
  		}
  
  		return relatedDetectionSystems;
  	}
docs: Find related detection systems based on a given detection system.
  This simply means those systems that have been configured along with the
  specified system id as part of a correlation set.
  
  @param detectionSystemId system ID to evaluate and find correlated systems
  @return collection of strings representing correlation set, INCLUDING specified system ID