src/org/ohmage/domain/campaign/CampaignMask.java
public void addPromptId(final String surveyId, final String promptId) {
			if(promptIds == null) {
				promptIds = new HashMap<String, Set<String>>();
			}
			
			Set<String> prompts = promptIds.get(surveyId);
			if(prompts == null) {
				prompts = new HashSet<String>();
				promptIds.put(surveyId, prompts);
			}
			prompts.add(promptId);
		}
/**
		 * Adds a prompt ID to the list of prompt IDs for a survey ID.
		 * 
		 * @param surveyId
		 *        The survey ID to which the prompt belongs.
		 *        
		 * @param promptId
		 *        The prompt ID in the survey.
		 */
Adds a prompt ID to the list of prompt IDs for a survey ID.

@param surveyId
The survey ID to which the prompt belongs.

@param promptId
The prompt ID in the survey.
Adds a prompt ID to the list of prompt IDs for a survey ID . @param surveyId The survey ID to which the prompt belongs . @param promptId The prompt ID in the survey .
public void addPromptId(final String surveyId, final String promptId) {
			if(promptIds == null) {
				promptIds = new HashMap<String, Set<String>>();
			}
			Set<String> prompts = promptIds.get(surveyId);
			if(prompts == null) {
				prompts = new HashSet<String>();
				promptIds.put(surveyId, prompts);
			}
			prompts.add(promptId);
		}
public void addPromptId ( final String surveyId , final String promptId ) { if ( promptIds == null ) { promptIds = new HashMap < String , Set < String > > ( ) ; } Set < String > prompts = promptIds . get ( surveyId ) ; if ( prompts == null ) { prompts = new HashSet < String > ( ) ; promptIds . put ( surveyId , prompts ) ; } prompts . add ( promptId ) ; }
Adds a prompt ID to the list of prompt IDs for a survey ID.
Adds a prompt ID to the list of prompt IDs for a survey ID .