Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2003, 2007 s IT Solutions AT Spardat GmbH . All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html Contributors: s IT Solutions AT Spardat GmbH - initial API and implementation /
package at.spardat.xma.boot;

This class implements a key-value-pair to be tranported over the Com-Interface of Component.

Author(s):
s2877, s3595
Version:
$Id: KeyValue.java 2084 2007-11-27 14:53:31Z s3460 $
public class KeyValue {
    private String key;
    private String value;

    
Constructor for KeyValue.
    public KeyValue() {
    }

    
Constructor for KeyValue.

Parameters:
key The key to set
value The value to set
    public KeyValue(String keyString value) {
        this. = key;
        this. = value;
    }

    
Returns the key.

Returns:
String
    public String getKey() {
        return ;
    }

    
Returns the value.

Returns:
String
    public String getValue() {
        return ;
    }

    
Sets the key.

Parameters:
key The key to set
    public void setKey(String key) {
        this. = key;
    }

    
Sets the value.

Parameters:
value The value to set
    public void setValue(String value) {
        this. = value;
    }
New to GrepCode? Check out our FAQ X