Home | History | Annotate | Download | only in settings
      1 /**
      2  * $Revision$
      3  * $Date$
      4  *
      5  * Copyright 2003-2007 Jive Software.
      6  *
      7  * All rights reserved. Licensed under the Apache License, Version 2.0 (the "License");
      8  * you may not use this file except in compliance with the License.
      9  * You may obtain a copy of the License at
     10  *
     11  *     http://www.apache.org/licenses/LICENSE-2.0
     12  *
     13  * Unless required by applicable law or agreed to in writing, software
     14  * distributed under the License is distributed on an "AS IS" BASIS,
     15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     16  * See the License for the specific language governing permissions and
     17  * limitations under the License.
     18  */
     19 
     20 package org.jivesoftware.smackx.workgroup.settings;
     21 
     22 public class ChatSetting {
     23     private String key;
     24     private String value;
     25     private int type;
     26 
     27     public ChatSetting(String key, String value, int type){
     28         setKey(key);
     29         setValue(value);
     30         setType(type);
     31     }
     32 
     33     public String getKey() {
     34         return key;
     35     }
     36 
     37     public void setKey(String key) {
     38         this.key = key;
     39     }
     40 
     41     public String getValue() {
     42         return value;
     43     }
     44 
     45     public void setValue(String value) {
     46         this.value = value;
     47     }
     48 
     49     public int getType() {
     50         return type;
     51     }
     52 
     53     public void setType(int type) {
     54         this.type = type;
     55     }
     56 }
     57