software.common
Class Rrow
java.lang.Object
software.common.Rrow
- All Implemented Interfaces:
- java.io.Serializable
public class Rrow
- extends java.lang.Object
- implements java.io.Serializable
A row in the R table of the punchboard
- Author:
- stefan
- See Also:
- Serialized Form
|
Field Summary |
static java.lang.String |
idAttr
|
static java.lang.String |
voteAttr
|
|
Constructor Summary |
Rrow()
empty constructor |
Rrow(org.xml.sax.Attributes attrs)
|
Rrow(org.w3c.dom.Node row)
|
|
Method Summary |
int |
getId()
|
byte[] |
getVote()
|
void |
setId(int id)
|
void |
setVote(byte[] vote)
|
java.lang.String |
toString()
creates an xml representation of the R row. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
idAttr
public static final java.lang.String idAttr
- See Also:
- Constant Field Values
voteAttr
public static final java.lang.String voteAttr
- See Also:
- Constant Field Values
Rrow
public Rrow()
- empty constructor
Rrow
public Rrow(org.w3c.dom.Node row)
throws java.lang.Exception
- Parameters:
row - a DOM node contaning a R row
- Throws:
java.lang.Exception
Rrow
public Rrow(org.xml.sax.Attributes attrs)
throws java.lang.Exception
- Parameters:
attrs - a SAX set of attributes contaning a R row
- Throws:
java.lang.Exception
getId
public int getId()
setId
public void setId(int id)
getVote
public byte[] getVote()
setVote
public void setVote(byte[] vote)
toString
public java.lang.String toString()
- creates an xml representation of the R row.
- Overrides:
toString in class java.lang.Object