|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.neoworks.jukex.sqlimpl.JukeXAttributeValue
A JukeX AttributeValue, holding the value of an Attribute.
Constructor Summary | |
JukeXAttributeValue(Attribute attr,
int value)
Do NOT use this method if you wish an AttributeValue to be stored in the database. |
|
JukeXAttributeValue(long id,
Attribute attr,
java.lang.String s)
Do NOT use this method if you wish an AttributeValue to be stored in the database. |
Method Summary | |
long |
getId()
Return the database ID of this object |
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)
Changes the value of the current AttributeValue. |
java.lang.String |
toString()
Get a String representation of this AttributeValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public JukeXAttributeValue(long id, Attribute attr, java.lang.String s)
public JukeXAttributeValue(Attribute attr, int value)
Method Detail |
public long getId()
DatabaseObject
getId
in interface DatabaseObject
public int getInt()
AttributeValue
getInt
in interface AttributeValue
public java.lang.String getString()
AttributeValue
getString
in interface AttributeValue
public int getType()
AttributeValue
getType
in interface AttributeValue
public void setString(java.lang.String newval)
setString
in interface AttributeValue
newval
- The String to set as the new valuepublic java.lang.String toString()
AttributeValue
toString
in interface AttributeValue
toString
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |