org.problets.lib.comm.database
Class AttributeValue

java.lang.Object
  extended by org.problets.lib.comm.database.AttributeValue

public class AttributeValue
extends java.lang.Object

A class representing the attribute objects

Author:
Atanas Frengov

Constructor Summary
AttributeValue(java.lang.String attribute, java.lang.String value)
          The constructor creates an AttributeValue object with the value specified as parameters
AttributeValue(java.lang.String attribute, java.lang.String value, boolean flag)
           
 
Method Summary
 java.lang.String getAttribute()
          returns the name of the attribute
 boolean getFlag()
          Returns the flag associated with this attribute value pair
 java.lang.String getValue()
          return the value of the object
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeValue

public AttributeValue(java.lang.String attribute,
                      java.lang.String value)
The constructor creates an AttributeValue object with the value specified as parameters

Parameters:
attribute - - the attribute name to ne assigned to the new object
value - the value to be assigned to the new object

AttributeValue

public AttributeValue(java.lang.String attribute,
                      java.lang.String value,
                      boolean flag)
Method Detail

getAttribute

public java.lang.String getAttribute()
returns the name of the attribute

Returns:
a string representing the name of the attribute

getValue

public java.lang.String getValue()
return the value of the object

Returns:
a string representing the value of the object

getFlag

public boolean getFlag()
Returns the flag associated with this attribute value pair


main

public static void main(java.lang.String[] args)