de.hs_rm.cs.lecturenotes.server.core.persistence.dao
Class AttributeValuePair

java.lang.Object
  extended by de.hs_rm.cs.lecturenotes.server.core.persistence.dao.AttributeValuePair

public final class AttributeValuePair
extends java.lang.Object

A simple pair container used to build SQL statements.

Version:
$LastChangedRevision: 231 $
Author:
Enrcio Homann

Constructor Summary
AttributeValuePair(java.lang.String sAttribute, java.lang.String sValue)
          Constructor.
 
Method Summary
 java.lang.String getAttribute()
          Will return the attribute part.
 java.lang.String getValue()
          Will return the value part.
 void setAttribute(java.lang.String sAttribute)
          Sets the attribute part.
 void setValue(java.lang.String sValue)
          Sets the value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeValuePair

public AttributeValuePair(java.lang.String sAttribute,
                          java.lang.String sValue)
Constructor.

Parameters:
sAttribute - String
sValue - String
Method Detail

getAttribute

public java.lang.String getAttribute()
Will return the attribute part.

Returns:
String

setAttribute

public void setAttribute(java.lang.String sAttribute)
Sets the attribute part.

Parameters:
sAttribute - String

getValue

public java.lang.String getValue()
Will return the value part.

Returns:
String

setValue

public void setValue(java.lang.String sValue)
Sets the value.

Parameters:
sValue - String