com.tszadel.qctools4j.model.defect
Class Bug

java.lang.Object
  extended by com.tszadel.qctools4j.model.defect.Bug
All Implemented Interfaces:
IQcModel, IQcModelWithAttachments

public class Bug
extends Object
implements IQcModelWithAttachments

Information about defects.

Author:
tszadel

Constructor Summary
Bug()
           
 
Method Summary
 Integer getActualFixTime()
          Get the field BG_ACTUAL_FIX_TIME.
 Boolean getAttachment()
          Get the field BG_ATTACHMENT.
 List<Attachment> getAttachments()
          Overrides getAttachments.
 Integer getBugId()
          Get the field BG_BUG_ID.
 Date getClosingDate()
          Get the field BG_CLOSING_DATE.
 String getClosingVersion()
          Get the field BG_CLOSING_VERSION.
 String getDescription()
          Get the field BG_DESCRIPTION.
 String getDetectedBy()
          Get the field BG_DETECTED_BY.
 Date getDetectionDate()
          Get the field BG_DETECTION_DATE.
 String getDetectionVersion()
          Get the field BG_DETECTION_VERSION.
 String getDevComments()
          Get the field BG_DEV_COMMENTS.
 Integer getEstimatedFixTime()
          Get the field BG_ESTIMATED_FIX_TIME.
 String getPlannedClosingVer()
          Get the field BG_PLANNED_CLOSING_VER.
 String getPriority()
          Get the field BG_PRIORITY.
 String getProject()
          Get the field BG_PROJECT.
 Boolean getReproducible()
          Get the field BG_REPRODUCIBLE.
 String getRequestNote()
          Get the field BG_REQUEST_NOTE.
 String getResponsible()
          Get the field BG_RESPONSIBLE.
 String getSeverity()
          Get the field BG_SEVERITY.
 String getStatus()
          Get the field BG_STATUS.
 String getSummary()
          Get the field BG_SUMMARY.
 Boolean getToMail()
          Get the field BG_TO_MAIL.
 Object getUser01()
          Get the field BG_USER_01.
 Object getUser02()
          Get the field BG_USER_02.
 Object getUser03()
          Get the field BG_USER_03.
 Object getUser04()
          Get the field BG_USER_04.
 Object getUser05()
          Get the field BG_USER_05.
 Object getUser06()
          Get the field BG_USER_06.
 Object getUser07()
          Get the field BG_USER_07.
 Object getUser08()
          Get the field BG_USER_08.
 Object getUser09()
          Get the field BG_USER_09.
 Object getUser10()
          Get the field BG_USER_10.
 Object getUser11()
          Get the field BG_USER_11.
 Object getUser12()
          Get the field BG_USER_12.
 Object getUser13()
          Get the field BG_USER_13.
 Object getUser14()
          Get the field BG_USER_14.
 Object getUser15()
          Get the field BG_USER_15.
 Object getUser16()
          Get the field BG_USER_16.
 Object getUser17()
          Get the field BG_USER_17.
 Object getUser18()
          Get the field BG_USER_18.
 Object getUser19()
          Get the field BG_USER_19.
 Object getUser20()
          Get the field BG_USER_20.
 Object getUser21()
          Get the field BG_USER_21.
 Object getUser22()
          Get the field BG_USER_22.
 Object getUser23()
          Get the field BG_USER_23.
 Object getUser24()
          Get the field BG_USER_24.
 void setActualFixTime(Integer pActualFixTime)
          Set the field BG_ACTUAL_FIX_TIME.
 void setAttachment(Boolean pAttachment)
          Set the field BG_ATTACHMENT.
 void setBugId(Integer pBugId)
          Set the field BG_BUG_ID.
 void setClosingDate(Date pClosingDate)
          Set the field BG_CLOSING_DATE.
 void setClosingVersion(String pClosingVersion)
          Set the field BG_CLOSING_VERSION.
 void setDescription(String pDescription)
          Set the field BG_DESCRIPTION.
 void setDetectedBy(String pDetectedBy)
          Set the field BG_DETECTED_BY.
 void setDetectionDate(Date pDetectionDate)
          Set the field BG_DETECTION_DATE.
 void setDetectionVersion(String pDetectionVersion)
          Set the field BG_DETECTION_VERSION.
 void setDevComments(String pDevComments)
          Set the field BG_DEV_COMMENTS.
 void setEstimatedFixTime(Integer pEstimatedFixTime)
          Set the field BG_ESTIMATED_FIX_TIME.
 void setPlannedClosingVer(String pPlannedClosingVer)
          Set the field BG_PLANNED_CLOSING_VER.
 void setPriority(String pPriority)
          Set the field BG_PRIORITY.
 void setProject(String pProject)
          Set the field BG_PROJECT.
 void setReproducible(Boolean pReproducible)
          Set the field BG_REPRODUCIBLE.
 void setRequestNote(String pRequestNote)
          Set the field BG_REQUEST_NOTE.
 void setResponsible(String pResponsible)
          Set the field BG_RESPONSIBLE.
 void setSeverity(String pSeverity)
          Set the field BG_SEVERITY.
 void setStatus(String pStatus)
          Set the field BG_STATUS.
 void setSummary(String pSummary)
          Set the field BG_SUMMARY.
 void setToMail(Boolean pToMail)
          Set the field BG_TO_MAIL.
 void setUser01(Object pUser01)
          Set the field BG_USER_01.
 void setUser02(Object pUser02)
          Set the field BG_USER_02.
 void setUser03(Object pUser03)
          Set the field BG_USER_03.
 void setUser04(Object pUser04)
          Set the field BG_USER_04.
 void setUser05(Object pUser05)
          Set the field BG_USER_05.
 void setUser06(Object pUser06)
          Set the field BG_USER_06.
 void setUser07(Object pUser07)
          Set the field BG_USER_07.
 void setUser08(Object pUser08)
          Set the field BG_USER_08.
 void setUser09(Object pUser09)
          Set the field BG_USER_09.
 void setUser10(Object pUser10)
          Set the field BG_USER_10.
 void setUser11(Object pUser11)
          Set the field BG_USER_11.
 void setUser12(Object pUser12)
          Set the field BG_USER_12.
 void setUser13(Object pUser13)
          Set the field BG_USER_13.
 void setUser14(Object pUser14)
          Set the field BG_USER_14.
 void setUser15(Object pUser15)
          Set the field BG_USER_15.
 void setUser16(Object pUser16)
          Set the field BG_USER_16.
 void setUser17(Object pUser17)
          Set the field BG_USER_17.
 void setUser18(Object pUser18)
          Set the field BG_USER_18.
 void setUser19(Object pUser19)
          Set the field BG_USER_19.
 void setUser20(Object pUser20)
          Set the field BG_USER_20.
 void setUser21(Object pUser21)
          Set the field BG_USER_21.
 void setUser22(Object pUser22)
          Set the field BG_USER_22.
 void setUser23(Object pUser23)
          Set the field BG_USER_23.
 void setUser24(Object pUser24)
          Set the field BG_USER_24.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Bug

public Bug()
Method Detail

getActualFixTime

public Integer getActualFixTime()
Get the field BG_ACTUAL_FIX_TIME.
Description:The number of days worked to fix the defect.

Returns:
The field BG_ACTUAL_FIX_TIME.

getAttachment

public Boolean getAttachment()
Get the field BG_ATTACHMENT.
Description:Indicates whether the defect record has any attachments. The value of this field can be either Y or N.

Returns:
The field BG_ATTACHMENT.

getAttachments

public List<Attachment> getAttachments()
Overrides getAttachments. Returns the attachments.

Specified by:
getAttachments in interface IQcModelWithAttachments
Returns:
The attachments.
See Also:
IQcModelWithAttachments.getAttachments()

getBugId

public Integer getBugId()
Get the field BG_BUG_ID.
Description:The defect record ID.

Returns:
The field BG_BUG_ID.

getClosingDate

public Date getClosingDate()
Get the field BG_CLOSING_DATE.
Description:The date the defect record was closed.

Returns:
The field BG_CLOSING_DATE.

getClosingVersion

public String getClosingVersion()
Get the field BG_CLOSING_VERSION.
Description:The version in which the defect record was closed.

Returns:
The field BG_CLOSING_VERSION.

getDescription

public String getDescription()
Get the field BG_DESCRIPTION.
Description:A description of the defect.

Returns:
The field BG_DESCRIPTION.

getDetectedBy

public String getDetectedBy()
Get the field BG_DETECTED_BY.
Description:The user name of the tester who found the defect.

Returns:
The field BG_DETECTED_BY.

getDetectionDate

public Date getDetectionDate()
Get the field BG_DETECTION_DATE.
Description:The date the defect was found.

Returns:
The field BG_DETECTION_DATE.

getDetectionVersion

public String getDetectionVersion()
Get the field BG_DETECTION_VERSION.
Description:The version in which the defect was detected.

Returns:
The field BG_DETECTION_VERSION.

getDevComments

public String getDevComments()
Get the field BG_DEV_COMMENTS.
Description:Comments about the defect, usually by the developer responsible for the defect.

Returns:
The field BG_DEV_COMMENTS.

getEstimatedFixTime

public Integer getEstimatedFixTime()
Get the field BG_ESTIMATED_FIX_TIME.
Description:The number of days the developer estimates will be required to fix the defect.

Returns:
The field BG_ESTIMATED_FIX_TIME.

getPlannedClosingVer

public String getPlannedClosingVer()
Get the field BG_PLANNED_CLOSING_VER.
Description:The version in which the developer estimates the defect will be closed.

Returns:
The field BG_PLANNED_CLOSING_VER.

getPriority

public String getPriority()
Get the field BG_PRIORITY.
Description:The priority level of the defect. The values are from the Priority custom list. Typical values are: 1-Low, 2-Medium, 3-High, 4-Very High, 5-Urgent.

Returns:
The field BG_PRIORITY.

getProject

public String getProject()
Get the field BG_PROJECT.
Description:The name of the project in which the defect was found. The values are from the All Projects custom list.

Returns:
The field BG_PROJECT.

getReproducible

public Boolean getReproducible()
Get the field BG_REPRODUCIBLE.
Description:Indicates whether the tester was able to reproduce the defect.

Returns:
The field BG_REPRODUCIBLE.

getRequestNote

public String getRequestNote()
Get the field BG_REQUEST_NOTE.
Description:The notes added to the linked request in ITG.

Returns:
The field BG_REQUEST_NOTE.

getResponsible

public String getResponsible()
Get the field BG_RESPONSIBLE.
Description:The name of the developer responsible for fixing the defect.

Returns:
The field BG_RESPONSIBLE.

getSeverity

public String getSeverity()
Get the field BG_SEVERITY.
Description:The severity level of the defect. The values are from the Severity custom list. Typical values are: 1-Low, 2-Medium, 3-High, 4-Very High, 5-Urgent.

Returns:
The field BG_SEVERITY.

getStatus

public String getStatus()
Get the field BG_STATUS.
Description:The current status of the defect. The values are from the Bug Status custom list. Typical values are: Open, Fixed, Closed, New, Rejected, and Reopen.

Returns:
The field BG_STATUS.

getSummary

public String getSummary()
Get the field BG_SUMMARY.
Description:A summary of the defect.

Returns:
The field BG_SUMMARY.

getToMail

public Boolean getToMail()
Get the field BG_TO_MAIL.
Description:Indicates whether a defect report should be mailed to users registered to receive such reports.

Returns:
The field BG_TO_MAIL.

getUser01

public Object getUser01()
Get the field BG_USER_01.
Description:User-defined field.

Returns:
The field BG_USER_01.

getUser02

public Object getUser02()
Get the field BG_USER_02.
Description:User-defined field.

Returns:
The field BG_USER_02.

getUser03

public Object getUser03()
Get the field BG_USER_03.
Description:User-defined field.

Returns:
The field BG_USER_03.

getUser04

public Object getUser04()
Get the field BG_USER_04.
Description:User-defined field.

Returns:
The field BG_USER_04.

getUser05

public Object getUser05()
Get the field BG_USER_05.
Description:User-defined field.

Returns:
The field BG_USER_05.

getUser06

public Object getUser06()
Get the field BG_USER_06.
Description:User-defined field.

Returns:
The field BG_USER_06.

getUser07

public Object getUser07()
Get the field BG_USER_07.
Description:User-defined field.

Returns:
The field BG_USER_07.

getUser08

public Object getUser08()
Get the field BG_USER_08.
Description:User-defined field.

Returns:
The field BG_USER_08.

getUser09

public Object getUser09()
Get the field BG_USER_09.
Description:User-defined field.

Returns:
The field BG_USER_09.

getUser10

public Object getUser10()
Get the field BG_USER_10.
Description:User-defined field.

Returns:
The field BG_USER_10.

getUser11

public Object getUser11()
Get the field BG_USER_11.
Description:User-defined field.

Returns:
The field BG_USER_11.

getUser12

public Object getUser12()
Get the field BG_USER_12.
Description:User-defined field.

Returns:
The field BG_USER_12.

getUser13

public Object getUser13()
Get the field BG_USER_13.
Description:User-defined field.

Returns:
The field BG_USER_13.

getUser14

public Object getUser14()
Get the field BG_USER_14.
Description:User-defined field.

Returns:
The field BG_USER_14.

getUser15

public Object getUser15()
Get the field BG_USER_15.
Description:User-defined field.

Returns:
The field BG_USER_15.

getUser16

public Object getUser16()
Get the field BG_USER_16.
Description:User-defined field.

Returns:
The field BG_USER_16.

getUser17

public Object getUser17()
Get the field BG_USER_17.
Description:User-defined field.

Returns:
The field BG_USER_17.

getUser18

public Object getUser18()
Get the field BG_USER_18.
Description:User-defined field.

Returns:
The field BG_USER_18.

getUser19

public Object getUser19()
Get the field BG_USER_19.
Description:User-defined field.

Returns:
The field BG_USER_19.

getUser20

public Object getUser20()
Get the field BG_USER_20.
Description:User-defined field.

Returns:
The field BG_USER_20.

getUser21

public Object getUser21()
Get the field BG_USER_21.
Description:User-defined field.

Returns:
The field BG_USER_21.

getUser22

public Object getUser22()
Get the field BG_USER_22.
Description:User-defined field.

Returns:
The field BG_USER_22.

getUser23

public Object getUser23()
Get the field BG_USER_23.
Description:User-defined field.

Returns:
The field BG_USER_23.

getUser24

public Object getUser24()
Get the field BG_USER_24.
Description:User-defined field.

Returns:
The field BG_USER_24.

setActualFixTime

public void setActualFixTime(Integer pActualFixTime)
Set the field BG_ACTUAL_FIX_TIME.
Description:The number of days worked to fix the defect.

Parameters:
pActualFixTime - The value of the field BG_ACTUAL_FIX_TIME.

setAttachment

public void setAttachment(Boolean pAttachment)
Set the field BG_ATTACHMENT.
Description:Indicates whether the defect record has any attachments. The value of this field can be either Y or N.

Parameters:
pAttachment - The value of the field BG_ATTACHMENT.

setBugId

public void setBugId(Integer pBugId)
Set the field BG_BUG_ID.
Description:The defect record ID.

Parameters:
pBugId - The value of the field BG_BUG_ID.

setClosingDate

public void setClosingDate(Date pClosingDate)
Set the field BG_CLOSING_DATE.
Description:The date the defect record was closed.

Parameters:
pClosingDate - The value of the field BG_CLOSING_DATE.

setClosingVersion

public void setClosingVersion(String pClosingVersion)
Set the field BG_CLOSING_VERSION.
Description:The version in which the defect record was closed.

Parameters:
pClosingVersion - The value of the field BG_CLOSING_VERSION.

setDescription

public void setDescription(String pDescription)
Set the field BG_DESCRIPTION.
Description:A description of the defect.

Parameters:
pDescription - The value of the field BG_DESCRIPTION.

setDetectedBy

public void setDetectedBy(String pDetectedBy)
Set the field BG_DETECTED_BY.
Description:The user name of the tester who found the defect.

Parameters:
pDetectedBy - The value of the field BG_DETECTED_BY.

setDetectionDate

public void setDetectionDate(Date pDetectionDate)
Set the field BG_DETECTION_DATE.
Description:The date the defect was found.

Parameters:
pDetectionDate - The value of the field BG_DETECTION_DATE.

setDetectionVersion

public void setDetectionVersion(String pDetectionVersion)
Set the field BG_DETECTION_VERSION.
Description:The version in which the defect was detected.

Parameters:
pDetectionVersion - The value of the field BG_DETECTION_VERSION.

setDevComments

public void setDevComments(String pDevComments)
Set the field BG_DEV_COMMENTS.
Description:Comments about the defect, usually by the developer responsible for the defect.

Parameters:
pDevComments - The value of the field BG_DEV_COMMENTS.

setEstimatedFixTime

public void setEstimatedFixTime(Integer pEstimatedFixTime)
Set the field BG_ESTIMATED_FIX_TIME.
Description:The number of days the developer estimates will be required to fix the defect.

Parameters:
pEstimatedFixTime - The value of the field BG_ESTIMATED_FIX_TIME.

setPlannedClosingVer

public void setPlannedClosingVer(String pPlannedClosingVer)
Set the field BG_PLANNED_CLOSING_VER.
Description:The version in which the developer estimates the defect will be closed.

Parameters:
pPlannedClosingVer - The value of the field BG_PLANNED_CLOSING_VER.

setPriority

public void setPriority(String pPriority)
Set the field BG_PRIORITY.
Description:The priority level of the defect. The values are from the Priority custom list. Typical values are: 1-Low, 2-Medium, 3-High, 4-Very High, 5-Urgent.

Parameters:
pPriority - The value of the field BG_PRIORITY.

setProject

public void setProject(String pProject)
Set the field BG_PROJECT.
Description:The name of the project in which the defect was found. The values are from the All Projects custom list.

Parameters:
pProject - The value of the field BG_PROJECT.

setReproducible

public void setReproducible(Boolean pReproducible)
Set the field BG_REPRODUCIBLE.
Description:Indicates whether the tester was able to reproduce the defect.

Parameters:
pReproducible - The value of the field BG_REPRODUCIBLE.

setRequestNote

public void setRequestNote(String pRequestNote)
Set the field BG_REQUEST_NOTE.
Description:The notes added to the linked request in ITG.

Parameters:
pRequestNote - The value of the field BG_REQUEST_NOTE.

setResponsible

public void setResponsible(String pResponsible)
Set the field BG_RESPONSIBLE.
Description:The name of the developer responsible for fixing the defect.

Parameters:
pResponsible - The value of the field BG_RESPONSIBLE.

setSeverity

public void setSeverity(String pSeverity)
Set the field BG_SEVERITY.
Description:The severity level of the defect. The values are from the Severity custom list. Typical values are: 1-Low, 2-Medium, 3-High, 4-Very High, 5-Urgent.

Parameters:
pSeverity - The value of the field BG_SEVERITY.

setStatus

public void setStatus(String pStatus)
Set the field BG_STATUS.
Description:The current status of the defect. The values are from the Bug Status custom list. Typical values are: Open, Fixed, Closed, New, Rejected, and Reopen.

Parameters:
pStatus - The value of the field BG_STATUS.

setSummary

public void setSummary(String pSummary)
Set the field BG_SUMMARY.
Description:A summary of the defect.

Parameters:
pSummary - The value of the field BG_SUMMARY.

setToMail

public void setToMail(Boolean pToMail)
Set the field BG_TO_MAIL.
Description:Indicates whether a defect report should be mailed to users registered to receive such reports.

Parameters:
pToMail - The value of the field BG_TO_MAIL.

setUser01

public void setUser01(Object pUser01)
Set the field BG_USER_01.
Description:User-defined field.

Parameters:
pUser01 - The value of the field BG_USER_01.

setUser02

public void setUser02(Object pUser02)
Set the field BG_USER_02.
Description:User-defined field.

Parameters:
pUser02 - The value of the field BG_USER_02.

setUser03

public void setUser03(Object pUser03)
Set the field BG_USER_03.
Description:User-defined field.

Parameters:
pUser03 - The value of the field BG_USER_03.

setUser04

public void setUser04(Object pUser04)
Set the field BG_USER_04.
Description:User-defined field.

Parameters:
pUser04 - The value of the field BG_USER_04.

setUser05

public void setUser05(Object pUser05)
Set the field BG_USER_05.
Description:User-defined field.

Parameters:
pUser05 - The value of the field BG_USER_05.

setUser06

public void setUser06(Object pUser06)
Set the field BG_USER_06.
Description:User-defined field.

Parameters:
pUser06 - The value of the field BG_USER_06.

setUser07

public void setUser07(Object pUser07)
Set the field BG_USER_07.
Description:User-defined field.

Parameters:
pUser07 - The value of the field BG_USER_07.

setUser08

public void setUser08(Object pUser08)
Set the field BG_USER_08.
Description:User-defined field.

Parameters:
pUser08 - The value of the field BG_USER_08.

setUser09

public void setUser09(Object pUser09)
Set the field BG_USER_09.
Description:User-defined field.

Parameters:
pUser09 - The value of the field BG_USER_09.

setUser10

public void setUser10(Object pUser10)
Set the field BG_USER_10.
Description:User-defined field.

Parameters:
pUser10 - The value of the field BG_USER_10.

setUser11

public void setUser11(Object pUser11)
Set the field BG_USER_11.
Description:User-defined field.

Parameters:
pUser11 - The value of the field BG_USER_11.

setUser12

public void setUser12(Object pUser12)
Set the field BG_USER_12.
Description:User-defined field.

Parameters:
pUser12 - The value of the field BG_USER_12.

setUser13

public void setUser13(Object pUser13)
Set the field BG_USER_13.
Description:User-defined field.

Parameters:
pUser13 - The value of the field BG_USER_13.

setUser14

public void setUser14(Object pUser14)
Set the field BG_USER_14.
Description:User-defined field.

Parameters:
pUser14 - The value of the field BG_USER_14.

setUser15

public void setUser15(Object pUser15)
Set the field BG_USER_15.
Description:User-defined field.

Parameters:
pUser15 - The value of the field BG_USER_15.

setUser16

public void setUser16(Object pUser16)
Set the field BG_USER_16.
Description:User-defined field.

Parameters:
pUser16 - The value of the field BG_USER_16.

setUser17

public void setUser17(Object pUser17)
Set the field BG_USER_17.
Description:User-defined field.

Parameters:
pUser17 - The value of the field BG_USER_17.

setUser18

public void setUser18(Object pUser18)
Set the field BG_USER_18.
Description:User-defined field.

Parameters:
pUser18 - The value of the field BG_USER_18.

setUser19

public void setUser19(Object pUser19)
Set the field BG_USER_19.
Description:User-defined field.

Parameters:
pUser19 - The value of the field BG_USER_19.

setUser20

public void setUser20(Object pUser20)
Set the field BG_USER_20.
Description:User-defined field.

Parameters:
pUser20 - The value of the field BG_USER_20.

setUser21

public void setUser21(Object pUser21)
Set the field BG_USER_21.
Description:User-defined field.

Parameters:
pUser21 - The value of the field BG_USER_21.

setUser22

public void setUser22(Object pUser22)
Set the field BG_USER_22.
Description:User-defined field.

Parameters:
pUser22 - The value of the field BG_USER_22.

setUser23

public void setUser23(Object pUser23)
Set the field BG_USER_23.
Description:User-defined field.

Parameters:
pUser23 - The value of the field BG_USER_23.

setUser24

public void setUser24(Object pUser24)
Set the field BG_USER_24.
Description:User-defined field.

Parameters:
pUser24 - The value of the field BG_USER_24.