|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.neoworks.jukex.sqlimpl.JukeXAttribute
SQL implementation of Attribute for JukeX.
Field Summary |
Fields inherited from interface com.neoworks.jukex.Attribute |
TYPE_INT, TYPE_STRING |
Method Summary | |
int |
compareTo(java.lang.Object obj)
Compare this Attribute to another Object. |
boolean |
equals(java.lang.Object obj)
Indicate whether an Object is equal to this Attribute. |
AttributeValue |
getAttributeValue(int val)
Get an AttributeValue object representing the integer that was passed |
AttributeValue |
getAttributeValue(java.lang.String s)
Get an AttributeValue object representing the String object that was passed |
long |
getId()
Return the database ID of this object |
java.lang.String |
getName()
Get the name of this attribute |
int |
getType()
Return the type of the attribute, which can be equal to Attribute.TYPE_STRING or Attribute.TYPE_INT |
int |
hashCode()
Get a hashcode for this Attribute |
java.lang.String |
toString()
Get a String representation of this Attribute |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
public long getId()
DatabaseObject
getId
in interface DatabaseObject
public java.lang.String getName()
Attribute
getName
in interface Attribute
public int compareTo(java.lang.Object obj)
compareTo
in interface java.lang.Comparable
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public AttributeValue getAttributeValue(int val)
Attribute
getAttributeValue
in interface Attribute
val
- The integer to retrieve an AttributeValue object for
public AttributeValue getAttributeValue(java.lang.String s)
Attribute
getAttributeValue
in interface Attribute
s
- The String to retrieve an AttributeValue object for
public int getType()
Attribute
getType
in interface Attribute
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |