All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.eurekaclinical.protempa.client.comm.ProtempaUserTemplate Maven / Gradle / Ivy

package org.eurekaclinical.protempa.client.comm;

/*-
 * #%L
 * Eureka! Clinical Protempa Client
 * %%
 * Copyright (C) 2018 Emory University
 * %%
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * #L%
 */


import org.eurekaclinical.common.comm.UserTemplate;

public class ProtempaUserTemplate extends UserTemplate { 
    private boolean autoAuthorize;
    private String criteria;
     public ProtempaUserTemplate() {
    }
 
 
     public boolean isAutoAuthorize() {
        return autoAuthorize;
    }
     public void setAutoAuthorize(boolean autoAuthorize) {
        this.autoAuthorize = autoAuthorize;
    }
     /**
     * Gets the criteria for triggering auto-authorization. May be
     * null, which means that auto-authorization will always be
     * triggered when requested. The criteria are expressed as an expression in
     * Freemarker syntax.
     */
    public String getCriteria() {
        return criteria;
    }
     /**
     * Sets criteria for triggering auto-authorization. May be
     * null, which means that auto-authorization will always be
     * triggered when requested.
     *
     * @param criteria the criteria for triggering auto-authorization, expressed
     * using Freemarker expression syntax.
     */
    public void setCriteria(String criteria) {
        this.criteria = criteria;
    }
     @Override
    public String toString() {
        return "UserAgreementUserTemplate{" + ", autoAuthorize=" + autoAuthorize + ", criteria=" + criteria + super.toString() + '}';
    }
 }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy