001/* 002 * Copyright 2017 Anyware Services 003 * 004 * Licensed under the Apache License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.apache.org/licenses/LICENSE-2.0 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016package org.ametys.plugins.explorer.calendars; 017 018/** 019 * Calendar event attendee interface 020 */ 021public class CalendarEventAttendee 022{ 023 private String _populationId; 024 private String _login; 025 private String _email; 026 private boolean _external; 027 private boolean _mandatory; 028 029 /** 030 * Get the population ID of the attendee 031 * @return the population ID of the attendee 032 */ 033 public String getPopulationId() 034 { 035 return _populationId; 036 } 037 038 /** 039 * Get the login of the attendee 040 * @return the login of the attendee 041 */ 042 public String getLogin() 043 { 044 return _login; 045 } 046 047 /** 048 * Get the email of the attendee 049 * @return the email of the attendee 050 */ 051 public String getEmail() 052 { 053 return _email; 054 } 055 056 /** 057 * true if the attendee is external 058 * @return true if the attendee is external 059 */ 060 public boolean isExternal() 061 { 062 return _external; 063 } 064 065 /** 066 * true if the attendee is mandatory 067 * @return true if the attendee is mandatory 068 */ 069 public boolean isMandatory() 070 { 071 return _mandatory; 072 } 073 074 /** 075 * Set the population ID of the attendee 076 * @param populationId the population ID 077 */ 078 public void setPopulationId(String populationId) 079 { 080 this._populationId = populationId; 081 } 082 083 /** 084 * Set the login of the attendee 085 * @param login the login 086 */ 087 public void setLogin(String login) 088 { 089 this._login = login; 090 } 091 092 /** 093 * Set the email of the attendee 094 * @param email the email 095 */ 096 public void setEmail(String email) 097 { 098 this._email = email; 099 } 100 101 /** 102 * Set if the attendee is external 103 * @param external is external 104 */ 105 public void setIsExternal(boolean external) 106 { 107 this._external = external; 108 } 109 110 /** 111 * Set if the attendee is mandatory 112 * @param mandatory is mandatory 113 */ 114 public void setIsMandatory(boolean mandatory) 115 { 116 this._mandatory = mandatory; 117 } 118 119}