org.buglet.bugsystem
Class Bug
java.lang.Object
|
+--org.buglet.bugsystem.Bug
- public class Bug
- extends java.lang.Object
Constructor Summary |
Bug(DOMUtil bugDoc)
|
Bug(long bugID)
|
Bug(java.lang.String bugMessage)
|
Method Summary |
org.w3c.dom.Element |
bugHeader(java.lang.String name,
java.util.Hashtable results,
java.lang.String dbName)
|
DOMUtil |
fromDB(long bugID)
This is the bug reading section |
long |
getID()
|
java.lang.String |
getOwner()
returns the owner of the bug - the person who posted
the bug in the first place |
java.lang.String |
getShortDescription()
|
void |
headerToDB(long bugID)
|
void |
initBugStamps()
|
static void |
main(java.lang.String[] args)
|
void |
toDB()
This is the bug writing section |
java.lang.String |
toXML()
|
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
env
static BugEnv env
log
static org.apache.log4j.Category log
bugDoc
public DOMUtil bugDoc
stamps
public java.util.Vector stamps
Bug
public Bug(long bugID)
Bug
public Bug(DOMUtil bugDoc)
Bug
public Bug(java.lang.String bugMessage)
initBugStamps
public void initBugStamps()
fromDB
public DOMUtil fromDB(long bugID)
- This is the bug reading section
bugHeader
public org.w3c.dom.Element bugHeader(java.lang.String name,
java.util.Hashtable results,
java.lang.String dbName)
toDB
public void toDB()
- This is the bug writing section
headerToDB
public void headerToDB(long bugID)
toXML
public java.lang.String toXML()
getID
public long getID()
getShortDescription
public java.lang.String getShortDescription()
getOwner
public java.lang.String getOwner()
- returns the owner of the bug - the person who posted
the bug in the first place
main
public static void main(java.lang.String[] args)
Copyright © 2001 58k.com Inc. All Rights Reserved