com.neoworks.jukex
Interface AttributeValue

All Known Implementing Classes:
JukeXAttributeValue

public interface AttributeValue

AttributeValue represents a possible value of an Attribute.

Author:
Nick Vincent (nick@neoworks.com)

Method Summary
 int getInt()
          Get the int value
 java.lang.String getString()
          Get the String value
 int getType()
          Get the type of the attribute that this value corresponds to
 void setString(java.lang.String newval)
          Set the String value
 java.lang.String toString()
          Get a String representation of this AttributeValue
 

Method Detail

getString

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

Returns:
The value

getInt

public int getInt()
Get the int value

Returns:
The value

getType

public int getType()
Get the type of the attribute that this value corresponds to

Returns:
An int representing the attribute type (see Attribute)

setString

public void setString(java.lang.String newval)
Set the String value

Parameters:
newval - The String to set as the new value

toString

public java.lang.String toString()
Get a String representation of this AttributeValue

Overrides:
toString in class java.lang.Object
Returns:
A String