net.firstpartners.rp.back.struct
Class TupleStruct

java.lang.Object
  extended by net.firstpartners.rp.back.struct.TupleStruct

public class TupleStruct
extends java.lang.Object

Tuple class

Version:
1.1
Author:
Firstpartners.net

Field Summary
private  java.lang.String keyword
          Keyord of the tuple
static java.lang.String KEYWORD_GENERIC
          Name for keyord generic of the tuple
static java.lang.String KEYWORD_NAME
          Name for Keyword of the tuples
private  java.lang.String value
          Value of the tuple
 
Constructor Summary
TupleStruct(java.lang.String keyword, java.lang.String value)
          Creates a new TupleStruct object.
 
Method Summary
 java.lang.String getKeyword()
          Get the keyword
 java.lang.String getValue()
          Get the value
 void setKeyword(java.lang.String keyword)
          Set the keyword
 void setValue(java.lang.String value)
          Set the value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEYWORD_NAME

public static final java.lang.String KEYWORD_NAME
Name for Keyword of the tuples

See Also:
Constant Field Values

KEYWORD_GENERIC

public static final java.lang.String KEYWORD_GENERIC
Name for keyord generic of the tuple

See Also:
Constant Field Values

keyword

private java.lang.String keyword
Keyord of the tuple


value

private java.lang.String value
Value of the tuple

Constructor Detail

TupleStruct

public TupleStruct(java.lang.String keyword,
                   java.lang.String value)
Creates a new TupleStruct object.

Parameters:
keyword - Keyword of the tuples
value - Value of the tuple
Method Detail

getKeyword

public java.lang.String getKeyword()
Get the keyword

Returns:

setKeyword

public void setKeyword(java.lang.String keyword)
Set the keyword

Parameters:
keyword -

getValue

public java.lang.String getValue()
Get the value

Returns:

setValue

public void setValue(java.lang.String value)
Set the value

Parameters:
value - Content value to set