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

org.sakaiproject.signup.restful.SignupParticipant Maven / Gradle / Ivy

There is a newer version: 23.3
Show newest version
/**
 * Copyright (c) 2007-2014 The Apereo Foundation
 *
 * Licensed under the Educational Community 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://opensource.org/licenses/ecl2
 *
 * 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.
 */
/*
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* The Apereo Foundation licenses this file to you under the Educational 
* Community 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://opensource.org/licenses/ecl2.txt
* 
* 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.sakaiproject.signup.restful;

/**
 * 

* This class holds the information of sign-up attendee. It's a wrapper class * for RESTful case *

*/ public class SignupParticipant { /* sakai user id */ private String attendeeUserId; private String signupSiteId; private String comments; private String displayName; private boolean attended; /** * Constructor * */ public SignupParticipant() { } /** * This is a constructor * * @param attendeeUserId * the internal user id (not username) * @param signupSiteId * a unique id which represents the current site */ public SignupParticipant(String attendeeUserId, String signupSiteId) { this.attendeeUserId = attendeeUserId; this.signupSiteId = signupSiteId; } /** * get the internal user id (not username) */ public String getAttendeeUserId() { return attendeeUserId; } /** * this is a setter method and it set the internal user id (not username) * * @param attendeeId * the internal user id (not username) */ public void setAttendeeUserId(String attendeeId) { this.attendeeUserId = attendeeId; } public String getDisplayName() { return displayName; } public void setDisplayName(String displayName) { this.displayName = displayName; } /** * get the site Id, which the attendee is in * * @return a site Id */ public String getSignupSiteId() { return signupSiteId; } /** * this is a setter. * * @param signupSiteId * a site Id */ public void setSignupSiteId(String signupSiteId) { this.signupSiteId = signupSiteId; } /** * get the comments * * @return a comment string */ public String getComments() { return comments; } /** * this is a setter. * * @param comment * a comment by user */ public void setComments(String comment) { this.comments = comment; } /** * @return the attended */ public boolean isAttended() { return attended; } /** * @param attended the attended to set */ public void setAttended(boolean attended) { this.attended = attended; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy