protected Properties getCheckpoints(Bw bwService) {
		SortedProperties result = new SortedProperties();

		String serviceKey = "bw[" + bwService.getName() + "]";
		
		Checkpoints checkpoints = getBWCheckpoints(bwService);
		if (checkpoints != null) {
			String key;

			// tablePrefix
			key = serviceKey + "/checkpoints/tablePrefix";
			result.setProperty(key, checkpoints.getTablePrefix());

			for (String checkpoint : checkpoints.getCheckpoint()) {
				if (checkpoint == null) continue;
				
				// checkpoint
				key = serviceKey + "/checkpoints/checkpoint["+checkpoint+"]";
				result.setProperty(key, checkpoint.equals(checkpoints.getSelected()));
			}
		}
		
		return result;
	}
protected Properties getCheckpoints(Bw bwService) {
		SortedProperties result = new SortedProperties();

		String serviceKey = "bw[" + bwService.getName() + "]";
		
		Checkpoints checkpoints = getBWCheckpoints(bwService);
		if (checkpoints != null) {
			String key;

			
			key = serviceKey + "/checkpoints/tablePrefix";
			result.setProperty(key, checkpoints.getTablePrefix());

			for (String checkpoint : checkpoints.getCheckpoint()) {
				if (checkpoint == null) continue;
				
				
				key = serviceKey + "/checkpoints/checkpoint["+checkpoint+"]";
				result.setProperty(key, checkpoint.equals(checkpoints.getSelected()));
			}
		}
		
		return result;
	}
protected Properties getCheckpoints ( Bw bwService ) { SortedProperties result = new SortedProperties ( ) ; String serviceKey = "bw[" + bwService . getName ( ) + "]" ; Checkpoints checkpoints = getBWCheckpoints ( bwService ) ; if ( checkpoints != null ) { String key ; // tablePrefix key = serviceKey + "/checkpoints/tablePrefix" ; result . setProperty ( key , checkpoints . getTablePrefix ( ) ) ; for ( String checkpoint : checkpoints . getCheckpoint ( ) ) { if ( checkpoint == null ) continue ; // checkpoint key = serviceKey + "/checkpoints/checkpoint[" + checkpoint + "]" ; result . setProperty ( key , checkpoint . equals ( checkpoints . getSelected ( ) ) ) ; } } return result ; }
<p>
This method focuses on checkpoints found in this path :
"/application/services/bw/checkpoints/checkpoint"
</p>
<p > This method focuses on checkpoints found in this path : / application / services / bw / checkpoints / checkpoint < / p >