/*
 * Copyright 2006-2007 The Kuali Foundation.
 * 
 * Licensed under the Educational Community License, Version 1.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.opensource.org/licenses/ecl1.php
 * 
 * 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.
 */

package org.kuali.module.kra.routingform.bo;

import java.util.LinkedHashMap;

import org.kuali.core.bo.PersistableBusinessObjectBase;

import edu.iu.uis.eden.workgroup.Workgroup;

/**
 * Class representing a ResearchRiskType.
 * 
 */
public class ResearchRiskType extends PersistableBusinessObjectBase {

	private String researchRiskTypeCode;
	private boolean dataObjectMaintenanceCodeActiveIndicator;
	private String researchRiskTypeDescription;
	private boolean researchRiskBiosafetyIndicator;
    private String controlAttributeTypeCode;
    private Integer researchRiskTypeSortNumber;
    private String researchRiskTypeNotificationGroupText;
    private String researchRiskTypeNotificationValue;
    
    private ControlAttributeType controlAttributeType;
    private Workgroup routeWorkgroup;
    
	/**
	 * Default constructor.
	 */
	public ResearchRiskType() {

	}

	/**
	 * Gets the researchRiskTypeCode attribute.
	 * 
	 * @return Returns the researchRiskTypeCode
	 * 
	 */
	public String getResearchRiskTypeCode() { 
		return researchRiskTypeCode;
	}

	/**
	 * Sets the researchRiskTypeCode attribute.
	 * 
	 * @param researchRiskTypeCode The researchRiskTypeCode to set.
	 * 
	 */
	public void setResearchRiskTypeCode(String researchRiskTypeCode) {
		this.researchRiskTypeCode = researchRiskTypeCode;
	}


	/**
	 * Gets the dataObjectMaintenanceCodeActiveIndicator attribute.
	 * 
	 * @return Returns the dataObjectMaintenanceCodeActiveIndicator
	 * 
	 */
	public boolean isDataObjectMaintenanceCodeActiveIndicator() { 
		return dataObjectMaintenanceCodeActiveIndicator;
	}

	/**
	 * Sets the dataObjectMaintenanceCodeActiveIndicator attribute.
	 * 
	 * @param dataObjectMaintenanceCodeActiveIndicator The dataObjectMaintenanceCodeActiveIndicator to set.
	 * 
	 */
	public void setDataObjectMaintenanceCodeActiveIndicator(boolean dataObjectMaintenanceCodeActiveIndicator) {
		this.dataObjectMaintenanceCodeActiveIndicator = dataObjectMaintenanceCodeActiveIndicator;
	}


	/**
	 * Gets the researchRiskTypeDescription attribute.
	 * 
	 * @return Returns the researchRiskTypeDescription
	 * 
	 */
	public String getResearchRiskTypeDescription() { 
		return researchRiskTypeDescription;
	}

	/**
	 * Sets the researchRiskTypeDescription attribute.
	 * 
	 * @param researchRiskTypeDescription The researchRiskTypeDescription to set.
	 * 
	 */
	public void setResearchRiskTypeDescription(String researchRiskTypeDescription) {
		this.researchRiskTypeDescription = researchRiskTypeDescription;
	}


	/**
	 * Gets the researchRiskBiosafetyIndicator attribute.
	 * 
	 * @return Returns the researchRiskBiosafetyIndicator
	 * 
	 */
	public boolean isResearchRiskBiosafetyIndicator() { 
		return researchRiskBiosafetyIndicator;
	}

	/**
	 * Sets the researchRiskBiosafetyIndicator attribute.
	 * 
	 * @param researchRiskBiosafetyIndicator The researchRiskBiosafetyIndicator to set.
	 * 
	 */
	public void setResearchRiskBiosafetyIndicator(boolean researchRiskBiosafetyIndicator) {
		this.researchRiskBiosafetyIndicator = researchRiskBiosafetyIndicator;
	}

    /**
     * Gets the controlAttributeTypeCode attribute. 
     * @return Returns the controlAttributeTypeCode.
     */
    public String getControlAttributeTypeCode() {
        return controlAttributeTypeCode;
    }

    /**
     * Sets the controlAttributeTypeCode attribute value.
     * @param controlAttributeTypeCode The controlAttributeTypeCode to set.
     */
    public void setControlAttributeTypeCode(String controlAttributeTypeCode) {
        this.controlAttributeTypeCode = controlAttributeTypeCode;
    }

    /**
     * Gets the researchRiskTypeSortNumber attribute. 
     * @return Returns the researchRiskTypeSortNumber.
     */
    public Integer getResearchRiskTypeSortNumber() {
        return researchRiskTypeSortNumber;
    }

    /**
     * Sets the researchRiskTypeSortNumber attribute value.
     * @param researchRiskTypeSortNumber The researchRiskTypeSortNumber to set.
     */
    public void setResearchRiskTypeSortNumber(Integer researchRiskTypeSortNumber) {
        this.researchRiskTypeSortNumber = researchRiskTypeSortNumber;
    }        

    /**
     * Gets the researchRiskTypeNotificationGroupText attribute. 
     * @return Returns the researchRiskTypeNotificationGroupText.
     */
    public String getResearchRiskTypeNotificationGroupText() {
        return researchRiskTypeNotificationGroupText;
    }

    /**
     * Sets the researchRiskTypeNotificationGroupText attribute value.
     * @param researchRiskTypeNotificationGroupText The researchRiskTypeNotificationGroupText to set.
     */
    public void setResearchRiskTypeNotificationGroupText(String researchRiskTypeNotificationGroupText) {
        this.researchRiskTypeNotificationGroupText = researchRiskTypeNotificationGroupText;
    }    

    /**
     * Gets the researchRiskTypeNotificationValue attribute. 
     * @return Returns the researchRiskTypeNotificationValue.
     */
    public String getResearchRiskTypeNotificationValue() {
        return researchRiskTypeNotificationValue;
    }

    /**
     * Sets the researchRiskTypeNotificationValue attribute value.
     * @param researchRiskTypeNotificationValue The researchRiskTypeNotificationValue to set.
     */
    public void setResearchRiskTypeNotificationValue(String researchRiskTypeNotificationValue) {
        this.researchRiskTypeNotificationValue = researchRiskTypeNotificationValue;
    }
  
    /**
     * Gets the controlAttributeType attribute. 
     * @return Returns the controlAttributeType.
     */
    public ControlAttributeType getControlAttributeType() {
        return controlAttributeType;
    }

    /**
     * Sets the controlAttributeType attribute value.
     * @param controlAttributeType The controlAttributeType to set.
     * @deprecated
     */
    public void setControlAttributeType(ControlAttributeType controlAttributeType) {
        this.controlAttributeType = controlAttributeType;
    }    
    
    /**
     * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
     */
    protected LinkedHashMap toStringMapper() {
        LinkedHashMap m = new LinkedHashMap();      
        m.put("researchRiskTypeCode", this.researchRiskTypeCode);
        return m;
    }

}

@@ -1071,57 +1071,8 @@
 on;%0A
-%09private boolean researchRiskBiosafetyIndicator;%0A
     
@@ -3077,563 +3077,8 @@
 %09%7D%0A%0A
-%0A%09/**%0A%09 * Gets the researchRiskBiosafetyIndicator attribute.%0A%09 * %0A%09 * @return Returns the researchRiskBiosafetyIndicator%0A%09 * %0A%09 */%0A%09public boolean isResearchRiskBiosafetyIndicator() %7B %0A%09%09return researchRiskBiosafetyIndicator;%0A%09%7D%0A%0A%09/**%0A%09 * Sets the researchRiskBiosafetyIndicator attribute.%0A%09 * %0A%09 * @param researchRiskBiosafetyIndicator The researchRiskBiosafetyIndicator to set.%0A%09 * %0A%09 */%0A%09public void setResearchRiskBiosafetyIndicator(boolean researchRiskBiosafetyIndicator) %7B%0A%09%09this.researchRiskBiosafetyIndicator = researchRiskBiosafetyIndicator;%0A%09%7D%0A%0A
     
@@ -6246,11 +6246,10 @@
 ;%0A    %7D%0A
-%0A
 %7D%0A

Remove biosafety indicator