@@ -0,0 +1,1541 @@
+/*%0A * Copyright 2015 Open mHealth%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *     http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0A%0Apackage org.openmhealth.shimmer.common.domain.parameters;%0A%0Aimport java.util.List;%0Aimport java.util.Optional;%0A%0A%0A/**%0A * @author Chris Schaefbauer%0A */%0Apublic class ListRequestParameter%3CT%3E extends RequestParameter%3CList%3CT%3E%3E %7B%0A%0A    List%3CT%3E defaultValues;%0A    String listDelineator;%0A    List%3CT%3E allowableValues;%0A%0A    public Optional%3CList%3CT%3E%3E getDefaultValues() %7B%0A        return Optional.ofNullable(defaultValues);%0A    %7D%0A%0A    public void setDefaultValues(List%3CT%3E defaultValues) %7B%0A        this.defaultValues = defaultValues;%0A    %7D%0A%0A    public String getListDelineator() %7B%0A        return listDelineator;%0A    %7D%0A%0A    public void setListDelineator(String listDelineator) %7B%0A        this.listDelineator = listDelineator;%0A    %7D%0A%0A    public Optional%3CList%3CT%3E%3E getAllowableValues() %7B%0A        return Optional.ofNullable(allowableValues);%0A    %7D%0A%0A    public void setAllowableValues(List%3CT%3E allowableValues) %7B%0A        this.allowableValues = allowableValues;%0A    %7D%0A%0A%7D%0A

Add list request parameter