//# 0 errors, 68 messages
//#
/*
    //#KeyValueObject.java:1:1: class: org.apache.roller.weblogger.ui.struts2.util.KeyValueObject
    //#KeyValueObject.java:1:1: method: org.apache.roller.weblogger.ui.struts2.util.KeyValueObject.org.apache.roller.weblogger.ui.struts2.util.KeyValueObject__static_init
 * Licensed to the Apache Software Foundation (ASF) under one or more
 *  contributor license agreements.  The ASF licenses this file to You
 * under the Apache 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://www.apache.org/licenses/LICENSE-2.0
 *
 * 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.  For additional information regarding
 * copyright in this work, please see the NOTICE file in the top level
 * directory of this distribution.
 */

package org.apache.roller.weblogger.ui.struts2.util;


/**
 * A simple object to maintain a key/value pair.
 */
public class KeyValueObject {
    
    private Object key = null;
    private Object value = null;
    
    
    public KeyValueObject() {}
    //#KeyValueObject.java:31: method: void org.apache.roller.weblogger.ui.struts2.util.KeyValueObject.org.apache.roller.weblogger.ui.struts2.util.KeyValueObject()
    //#input(void org.apache.roller.weblogger.ui.struts2.util.KeyValueObject()): this
    //#output(void org.apache.roller.weblogger.ui.struts2.util.KeyValueObject()): this.key
    //#output(void org.apache.roller.weblogger.ui.struts2.util.KeyValueObject()): this.value
    //#post(void org.apache.roller.weblogger.ui.struts2.util.KeyValueObject()): this.key == null
    //#post(void org.apache.roller.weblogger.ui.struts2.util.KeyValueObject()): this.value == null
    //#KeyValueObject.java:31: end of method: void org.apache.roller.weblogger.ui.struts2.util.KeyValueObject.org.apache.roller.weblogger.ui.struts2.util.KeyValueObject()
    
    public KeyValueObject(Object key, Object value) {
    //#KeyValueObject.java:33: method: void org.apache.roller.weblogger.ui.struts2.util.KeyValueObject.org.apache.roller.weblogger.ui.struts2.util.KeyValueObject(Object, Object)
    //#input(void org.apache.roller.weblogger.ui.struts2.util.KeyValueObject(Object, Object)): __Descendant_Table[org/apache/roller/weblogger/ui/struts2/util/KeyValueObject]
    //#input(void org.apache.roller.weblogger.ui.struts2.util.KeyValueObject(Object, Object)): __Descendant_Table[others]
    //#input(void org.apache.roller.weblogger.ui.struts2.util.KeyValueObject(Object, Object)): __Dispatch_Table.setKey(Ljava/lang/Object;)V
    //#input(void org.apache.roller.weblogger.ui.struts2.util.KeyValueObject(Object, Object)): __Dispatch_Table.setValue(Ljava/lang/Object;)V
    //#input(void org.apache.roller.weblogger.ui.struts2.util.KeyValueObject(Object, Object)): key
    //#input(void org.apache.roller.weblogger.ui.struts2.util.KeyValueObject(Object, Object)): this
    //#input(void org.apache.roller.weblogger.ui.struts2.util.KeyValueObject(Object, Object)): this.__Tag
    //#input(void org.apache.roller.weblogger.ui.struts2.util.KeyValueObject(Object, Object)): value
    //#output(void org.apache.roller.weblogger.ui.struts2.util.KeyValueObject(Object, Object)): this.key
    //#output(void org.apache.roller.weblogger.ui.struts2.util.KeyValueObject(Object, Object)): this.value
    //#pre[3] (void org.apache.roller.weblogger.ui.struts2.util.KeyValueObject(Object, Object)): this.__Tag == org/apache/roller/weblogger/ui/struts2/util/KeyValueObject
    //#post(void org.apache.roller.weblogger.ui.struts2.util.KeyValueObject(Object, Object)): this.key == key
    //#post(void org.apache.roller.weblogger.ui.struts2.util.KeyValueObject(Object, Object)): init'ed(this.key)
    //#post(void org.apache.roller.weblogger.ui.struts2.util.KeyValueObject(Object, Object)): this.value == value
    //#post(void org.apache.roller.weblogger.ui.struts2.util.KeyValueObject(Object, Object)): init'ed(this.value)
        this.setKey(key);
        this.setValue(value);
    }
    //#KeyValueObject.java:36: end of method: void org.apache.roller.weblogger.ui.struts2.util.KeyValueObject.org.apache.roller.weblogger.ui.struts2.util.KeyValueObject(Object, Object)

    public Object getKey() {
        return key;
    //#KeyValueObject.java:39: method: Object org.apache.roller.weblogger.ui.struts2.util.KeyValueObject.getKey()
    //#input(Object getKey()): this
    //#input(Object getKey()): this.key
    //#output(Object getKey()): return_value
    //#pre[2] (Object getKey()): init'ed(this.key)
    //#post(Object getKey()): return_value == this.key
    //#post(Object getKey()): init'ed(return_value)
    //#KeyValueObject.java:39: end of method: Object org.apache.roller.weblogger.ui.struts2.util.KeyValueObject.getKey()
    }

    public void setKey(Object key) {
        this.key = key;
    //#KeyValueObject.java:43: method: void org.apache.roller.weblogger.ui.struts2.util.KeyValueObject.setKey(Object)
    //#input(void setKey(Object)): key
    //#input(void setKey(Object)): this
    //#output(void setKey(Object)): this.key
    //#post(void setKey(Object)): this.key == key
    //#post(void setKey(Object)): init'ed(this.key)
    }
    //#KeyValueObject.java:44: end of method: void org.apache.roller.weblogger.ui.struts2.util.KeyValueObject.setKey(Object)

    public Object getValue() {
        return value;
    //#KeyValueObject.java:47: method: Object org.apache.roller.weblogger.ui.struts2.util.KeyValueObject.getValue()
    //#input(Object getValue()): this
    //#input(Object getValue()): this.value
    //#output(Object getValue()): return_value
    //#pre[2] (Object getValue()): init'ed(this.value)
    //#post(Object getValue()): return_value == this.value
    //#post(Object getValue()): init'ed(return_value)
    //#KeyValueObject.java:47: end of method: Object org.apache.roller.weblogger.ui.struts2.util.KeyValueObject.getValue()
    }

    public void setValue(Object value) {
        this.value = value;
    //#KeyValueObject.java:51: method: void org.apache.roller.weblogger.ui.struts2.util.KeyValueObject.setValue(Object)
    //#input(void setValue(Object)): this
    //#input(void setValue(Object)): value
    //#output(void setValue(Object)): this.value
    //#post(void setValue(Object)): this.value == value
    //#post(void setValue(Object)): init'ed(this.value)
    }
    //#KeyValueObject.java:52: end of method: void org.apache.roller.weblogger.ui.struts2.util.KeyValueObject.setValue(Object)
    
}
    //#output(org.apache.roller.weblogger.ui.struts2.util.KeyValueObject__static_init): __Descendant_Table[org/apache/roller/weblogger/ui/struts2/util/KeyValueObject]
    //#output(org.apache.roller.weblogger.ui.struts2.util.KeyValueObject__static_init): __Dispatch_Table.getKey()Ljava/lang/Object;
    //#output(org.apache.roller.weblogger.ui.struts2.util.KeyValueObject__static_init): __Dispatch_Table.getValue()Ljava/lang/Object;
    //#output(org.apache.roller.weblogger.ui.struts2.util.KeyValueObject__static_init): __Dispatch_Table.setKey(Ljava/lang/Object;)V
    //#output(org.apache.roller.weblogger.ui.struts2.util.KeyValueObject__static_init): __Dispatch_Table.setValue(Ljava/lang/Object;)V
    //#post(org.apache.roller.weblogger.ui.struts2.util.KeyValueObject__static_init): __Descendant_Table[org/apache/roller/weblogger/ui/struts2/util/KeyValueObject] == &__Dispatch_Table
    //#post(org.apache.roller.weblogger.ui.struts2.util.KeyValueObject__static_init): __Dispatch_Table.getKey()Ljava/lang/Object; == &getKey
    //#post(org.apache.roller.weblogger.ui.struts2.util.KeyValueObject__static_init): __Dispatch_Table.getValue()Ljava/lang/Object; == &getValue
    //#post(org.apache.roller.weblogger.ui.struts2.util.KeyValueObject__static_init): __Dispatch_Table.setKey(Ljava/lang/Object;)V == &setKey
    //#post(org.apache.roller.weblogger.ui.struts2.util.KeyValueObject__static_init): __Dispatch_Table.setValue(Ljava/lang/Object;)V == &setValue
    //#KeyValueObject.java:: end of method: org.apache.roller.weblogger.ui.struts2.util.KeyValueObject.org.apache.roller.weblogger.ui.struts2.util.KeyValueObject__static_init
    //#KeyValueObject.java:: end of class: org.apache.roller.weblogger.ui.struts2.util.KeyValueObject
