001: /*
002: * File : $Source: /usr/local/cvs/opencms/src-modules/org/opencms/workplace/tools/accounts/CmsUserAddInfoBean.java,v $
003: * Date : $Date: 2008-02-27 12:05:26 $
004: * Version: $Revision: 1.4 $
005: *
006: * This library is part of OpenCms -
007: * the Open Source Content Management System
008: *
009: * Copyright (c) 2002 - 2008 Alkacon Software GmbH (http://www.alkacon.com)
010: *
011: * This library is free software; you can redistribute it and/or
012: * modify it under the terms of the GNU Lesser General Public
013: * License as published by the Free Software Foundation; either
014: * version 2.1 of the License, or (at your option) any later version.
015: *
016: * This library is distributed in the hope that it will be useful,
017: * but WITHOUT ANY WARRANTY; without even the implied warranty of
018: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
019: * Lesser General Public License for more details.
020: *
021: * For further information about Alkacon Software GmbH, please see the
022: * company website: http://www.alkacon.com
023: *
024: * For further information about OpenCms, please see the
025: * project website: http://www.opencms.org
026: *
027: * You should have received a copy of the GNU Lesser General Public
028: * License along with this library; if not, write to the Free Software
029: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
030: */
031:
032: package org.opencms.workplace.tools.accounts;
033:
034: /**
035: * User additional information bean.<p>
036: *
037: * @author Michael Moossen
038: *
039: * @version $Revision: 1.4 $
040: *
041: * @since 6.5.6
042: */
043: public class CmsUserAddInfoBean {
044:
045: /** The name of the additional info entry. */
046: private String m_name;
047:
048: /** The type. */
049: private Class m_type;
050:
051: /** The value. */
052: private String m_value;
053:
054: /**
055: * Default constructor.<p>
056: *
057: * @param name the name of the additional info entry
058: * @param value the value
059: * @param type the type
060: */
061: public CmsUserAddInfoBean(String name, String value, Class type) {
062:
063: m_name = name;
064: m_value = value;
065: m_type = type;
066: }
067:
068: /**
069: * Returns the name.<p>
070: *
071: * @return the name
072: */
073: public String getName() {
074:
075: return m_name;
076: }
077:
078: /**
079: * Returns the type.<p>
080: *
081: * @return the type
082: */
083: public Class getType() {
084:
085: return m_type;
086: }
087:
088: /**
089: * Returns the value.<p>
090: *
091: * @return the value
092: */
093: public String getValue() {
094:
095: return m_value;
096: }
097:
098: /**
099: * Sets the value.<p>
100: *
101: * @param value the value to set
102: */
103: public void setValue(String value) {
104:
105: m_value = value;
106: }
107: }
|