2 * //******************************************************************
4 * // Copyright 2016 Samsung Electronics All Rights Reserved.
6 * //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
8 * // Licensed under the Apache License, Version 2.0 (the "License");
9 * // you may not use this file except in compliance with the License.
10 * // You may obtain a copy of the License at
12 * // http://www.apache.org/licenses/LICENSE-2.0
14 * // Unless required by applicable law or agreed to in writing, software
15 * // distributed under the License is distributed on an "AS IS" BASIS,
16 * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * // See the License for the specific language governing permissions and
18 * // limitations under the License.
20 * //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
22 package org.iotivity.cloud.accountserver.db;
24 public class InviteTable {
30 public InviteTable() {
34 * API to initialize an instance of the group invitation table
37 * user ID who requests the group invitation for the
40 * group ID to be invited
44 public InviteTable(String inviteUser, String gid, String invitedUser) {
45 this.inviteUser = inviteUser;
47 this.invitedUser = invitedUser;
51 * API to get the group ID to be invited
55 public String getGid() {
60 * API to set the group ID to invite
65 public void setGid(String gid) {
70 * API to get the user ID who requests the group invitation
74 public String getInviteUser() {
79 * API to set the user ID to be invited
82 * user ID to be invited
84 public void setInviteUser(String inviteUser) {
85 this.inviteUser = inviteUser;
89 * API to get the user Id to be invited
91 * @return user ID to be invited
93 public String getInvitedUser() {
97 public void setInvitedUser(String invitedUser) {
98 this.invitedUser = invitedUser;