00001 /******************************************************************************* 00002 *Copyright (c) Members of the EGEE Collaboration. 2007. 00003 *See http://www.eu-egee.org/partners/ for details on the copyright 00004 *holders. 00005 * 00006 *Licensed under the Apache License, Version 2.0 (the "License"); 00007 *you may not use this file except in compliance with the License. 00008 *You may obtain a copy of the License at 00009 * 00010 * http://www.apache.org/licenses/LICENSE-2.0 00011 * 00012 *Unless required by applicable law or agreed to in writing, software 00013 *distributed under the License is distributed on an "AS IS" BASIS, 00014 *WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00015 *See the License for the specific language governing permissions and 00016 *limitations under the License. 00017 * 00018 * Authors: 00019 * 00020 * Andrea Ceccanti - andrea.ceccanti@cnaf.infn.it 00021 * 00022 *******************************************************************************/ 00023 package org.glite.security.voms.services.registration; 00024 00025 import java.io.Serializable; 00026 00027 00033 public class RegistrationRequest implements Serializable { 00034 00038 private static final long serialVersionUID = 1L; 00039 00040 boolean aupAccepted; 00041 00042 String emailAddress; 00043 String institute; 00044 String phoneNumber; 00045 String comments; 00046 00047 00048 public boolean isAupAccepted() { 00049 00050 return aupAccepted; 00051 } 00052 00053 public void setAupAccepted( boolean aupAccepted ) { 00054 00055 this.aupAccepted = aupAccepted; 00056 } 00057 00058 public String getComments() { 00059 00060 return comments; 00061 } 00062 00063 public void setComments( String comments ) { 00064 00065 this.comments = comments; 00066 } 00067 00068 public String getEmailAddress() { 00069 00070 return emailAddress; 00071 } 00072 00073 public void setEmailAddress( String emailAddress ) { 00074 00075 this.emailAddress = emailAddress; 00076 } 00077 00078 public String getInstitute() { 00079 00080 return institute; 00081 } 00082 00083 public void setInstitute( String institute ) { 00084 00085 this.institute = institute; 00086 } 00087 00088 public String getPhoneNumber() { 00089 00090 return phoneNumber; 00091 } 00092 00093 public void setPhoneNumber( String phoneNumber ) { 00094 00095 this.phoneNumber = phoneNumber; 00096 } 00097 00098 00099 public RegistrationRequest() { 00100 00101 setAupAccepted( false ); 00102 } 00103 }