Bug Class Reference

Inherits er::bugtracker::_Bug, and er::bugtracker::Markable.

Inherited by _Requirement.

Collaboration diagram for Bug:

Collaboration graph
[legend]

List of all members.

Classes

class  BugClazz< Bug >

Public Member Functions

Number bugid ()
boolean canForDelete ()
void close ()
NSArray commentsByDate ()
void didUpdate ()
Number id ()
void init (EOEditingContext ec)
void markAsRead ()
void markUnread ()
void moveToVerification ()
String newText ()
void rejectVerification ()
void reopen ()
void setComponent (Component value)
void setNewText (String newValue)
void setOwner (People value)
void setState (State newState)
void setTextDescription (String value)
NSArray sortedComments ()
ERTaggable< Bugtaggable ()
String textDescription ()
void touch ()
void validateForInsert ()
void validateForUpdate ()
Object validateTargetReleaseForNewBugs () throws NSValidation.ValidationException

Static Public Attributes

static final BugClazz< Bugclazz = new BugClazz<Bug>()

Protected Attributes

boolean _componentChanged
boolean _ownerChanged

Static Package Attributes

static final Logger log = Logger.getLogger(Bug.class)

Private Member Functions

Comment firstComment ()

Private Attributes

String _newText


Member Function Documentation

Number bugid (  ) 

boolean canForDelete (  ) 

void close (  ) 

NSArray commentsByDate (  ) 

void didUpdate (  )  [virtual]

Called on the object after is has successfully been updated in the database.

Reimplemented from ERXGenericRecord.

Comment firstComment (  )  [private]

Number id (  ) 

void init ( EOEditingContext  ec  ) 

used for initialization stuff instead of awakeFromInsertion. awakeFromInsertions is buggy because if an EO is deleted and then its EOEditingContext is reverted using 'revert' for example then EOF will -insert- this EO again in its EOEditingContext which in turn calls awakeFromInsertion again.

Parameters:
ec the EOEditingContext in which this new EO is inserted

Reimplemented from ERXGenericRecord.

Reimplemented in Requirement.

void markAsRead (  ) 

Implements Markable.

void markUnread (  ) 

void moveToVerification (  ) 

String newText (  ) 

void rejectVerification (  ) 

void reopen (  ) 

void setComponent ( Component  value  ) 

void setNewText ( String  newValue  ) 

void setOwner ( People  value  ) 

void setState ( State  newState  ) 

void setTextDescription ( String  value  ) 

NSArray sortedComments (  ) 

ERTaggable<Bug> taggable (  ) 

String textDescription (  ) 

void touch (  ) 

void validateForInsert (  ) 

Calls up validateForInsert() on the class description if it supports it.

Exceptions:
NSValidation.ValidationException if the object does not pass validation for saving to the database.

Reimplemented from ERXGenericRecord.

void validateForUpdate (  ) 

Calls up validateForUpdate() on the class description if it supports it.

Exceptions:
NSValidation.ValidationException if the object does not pass validation for saving to the database.

Reimplemented from ERXGenericRecord.

Object validateTargetReleaseForNewBugs (  )  throws NSValidation.ValidationException


Member Data Documentation

boolean _componentChanged [protected]

String _newText [private]

boolean _ownerChanged [protected]

final BugClazz<Bug> clazz = new BugClazz<Bug>() [static]

Reimplemented in Requirement.

final Logger log = Logger.getLogger(Bug.class) [static, package]

general logging support

Implements ERXEnterpriseObject.

Reimplemented in Requirement.


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:42:43 2012 for Project Wonder by  doxygen 1.5.8