|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.exolab.castor.tests.framework.testDescriptor.BugFix
public class BugFix
Encapsulates information about a bug fix, including the reporter's name (or Email address), the date of the report and of the fix, and one or more comments about the bug.
| Constructor Summary | |
|---|---|
BugFix()
|
|
| Method Summary | |
|---|---|
void |
addComment(int index,
java.lang.String vComment)
|
void |
addComment(java.lang.String vComment)
|
java.util.Enumeration |
enumerateComment()
Method enumerateComment. |
java.lang.String[] |
getComment()
Method getComment.Returns the contents of the collection in an Array. |
java.lang.String |
getComment(int index)
Method getComment. |
int |
getCommentCount()
Method getCommentCount. |
Date |
getDate_Fix()
Returns the value of field 'date_Fix'. |
Date |
getDate_Report()
Returns the value of field 'date_Report'. |
java.lang.String |
getReporter()
Returns the value of field 'reporter'. |
boolean |
isValid()
Method isValid. |
void |
marshal(org.xml.sax.ContentHandler handler)
|
void |
marshal(java.io.Writer out)
|
void |
removeAllComment()
|
boolean |
removeComment(java.lang.String vComment)
Method removeComment. |
java.lang.String |
removeCommentAt(int index)
Method removeCommentAt. |
void |
setComment(int index,
java.lang.String vComment)
|
void |
setComment(java.lang.String[] vCommentArray)
|
void |
setDate_Fix(Date date_Fix)
Sets the value of field 'date_Fix'. |
void |
setDate_Report(Date date_Report)
Sets the value of field 'date_Report'. |
void |
setReporter(java.lang.String reporter)
Sets the value of field 'reporter'. |
static BugFix |
unmarshal(java.io.Reader reader)
Method unmarshal. |
void |
validate()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BugFix()
| Method Detail |
|---|
public void addComment(java.lang.String vComment)
throws java.lang.IndexOutOfBoundsException
vComment -
java.lang.IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addComment(int index,
java.lang.String vComment)
throws java.lang.IndexOutOfBoundsException
index - vComment -
java.lang.IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic java.util.Enumeration enumerateComment()
public java.lang.String getComment(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic java.lang.String[] getComment()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public int getCommentCount()
public Date getDate_Fix()
public Date getDate_Report()
public java.lang.String getReporter()
public boolean isValid()
public void marshal(java.io.Writer out)
throws MarshalException,
ValidationException
out -
MarshalException - if object is
null or if any SAXException is thrown during marshaling
ValidationException - if this
object is an invalid instance according to the schema
public void marshal(org.xml.sax.ContentHandler handler)
throws java.io.IOException,
MarshalException,
ValidationException
handler -
java.io.IOException - if an IOException occurs during
marshaling
ValidationException - if this
object is an invalid instance according to the schema
MarshalException - if object is
null or if any SAXException is thrown during marshalingpublic void removeAllComment()
public boolean removeComment(java.lang.String vComment)
vComment -
public java.lang.String removeCommentAt(int index)
index -
public void setComment(int index,
java.lang.String vComment)
throws java.lang.IndexOutOfBoundsException
index - vComment -
java.lang.IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setComment(java.lang.String[] vCommentArray)
vCommentArray - public void setDate_Fix(Date date_Fix)
date_Fix - the value of field 'date_Fix'.public void setDate_Report(Date date_Report)
date_Report - the value of field 'date_Report'.public void setReporter(java.lang.String reporter)
reporter - the value of field 'reporter'.
public static BugFix unmarshal(java.io.Reader reader)
throws MarshalException,
ValidationException
reader -
MarshalException - if object is
null or if any SAXException is thrown during marshaling
ValidationException - if this
object is an invalid instance according to the schema
public void validate()
throws ValidationException
ValidationException - if this
object is an invalid instance according to the schema
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||