public class BugProperty extends Object implements XMLWriteable, Serializable, Cloneable
| Modifier and Type | Field and Description |
|---|---|
static String |
IS_BUG
Boolean property defining whether or not the BugInstance is really a bug.
|
static String |
SEVERITY
Integer property defining the warning severity (1=least severe, 5=most
severe).
|
| Modifier and Type | Method and Description |
|---|---|
protected Object |
clone() |
String |
getName()
Get name of property.
|
String |
getValue()
Get value of property.
|
boolean |
getValueAsBoolean()
Get value of property as boolean.
|
int |
getValueAsInt()
Get value of property as an integer.
|
void |
setValue(String value)
Set value of property.
|
void |
writeXML(XMLOutput xmlOutput)
Write this object to given XMLOutput.
|
public static final String IS_BUG
public static final String SEVERITY
public String getName()
public String getValue()
public boolean getValueAsBoolean()
public int getValueAsInt()
NumberFormatException - if the value cannot be parsed as an integerpublic void setValue(String value)
value - public void writeXML(XMLOutput xmlOutput) throws IOException
XMLWriteablewriteXML in interface XMLWriteablexmlOutput - the XMLOutput for the documentIOExceptionCopyright © 2003–2015. All rights reserved.