01: /**********************************************************************************
02: * $URL: https://source.sakaiproject.org/svn/mailtool/tags/sakai_2-4-1/mailtool/src/java/org/sakaiproject/tool/mailtool/EmailRole.java $
03: * $Id: EmailRole.java 27662 2007-03-22 19:44:57Z kimsooil@bu.edu $
04: ***********************************************************************************
05: *
06: * Copyright (c) 2006, 2007 The Sakai Foundation.
07: *
08: * Licensed under the Educational Community License, Version 1.0 (the "License");
09: * you may not use this file except in compliance with the License.
10: * You may obtain a copy of the License at
11: *
12: * http://www.opensource.org/licenses/ecl1.php
13: *
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.
19: *
20: **********************************************************************************/package org.sakaiproject.tool.mailtool;
21:
22: /**
23: * EmailRole (can be a role, a section, a group)
24: *
25: * @author kimsooil
26: *
27: */
28: public class EmailRole {
29: String m_realmid = "";
30: String m_roleid = "";
31: String m_rolesingular = "";
32: String m_roleplural = "";
33: String roletype = "";
34:
35: public EmailRole(String realmid, String roleid,
36: String rolesingular, String roleplural) {
37: m_realmid = realmid;
38: m_roleid = roleid;
39: m_rolesingular = rolesingular;
40: m_roleplural = roleplural;
41: }
42:
43: public EmailRole(String realmid, String roleid,
44: String rolesingular, String roleplural, String rtype) {
45: m_realmid = realmid;
46: m_roleid = roleid;
47: m_rolesingular = rolesingular;
48: m_roleplural = roleplural;
49: roletype = rtype;
50: }
51:
52: public String getRealmid() {
53: return m_realmid;
54: }
55:
56: public void setRealmid(String m_realmid) {
57: this .m_realmid = m_realmid;
58: }
59:
60: public String getRoleid() {
61: return m_roleid;
62: }
63:
64: public void setRoleid(String m_roleid) {
65: this .m_roleid = m_roleid;
66: }
67:
68: public String getRoleplural() {
69: return m_roleplural;
70: }
71:
72: public void setRoleplural(String m_roleplural) {
73: this .m_roleplural = m_roleplural;
74: }
75:
76: public String getRolesingular() {
77: return m_rolesingular;
78: }
79:
80: public void setRolesingular(String m_rolesingular) {
81: this .m_rolesingular = m_rolesingular;
82: }
83:
84: public String getRoletype() {
85: return roletype;
86: }
87:
88: public void setRoletype(String roletype) {
89: this.roletype = roletype;
90: }
91: }
|