Project Wonder 5.0

er.bugtracker
Class Bug

java.lang.Object
  extended by com.webobjects.eocontrol.EOCustomObject
      extended by com.webobjects.eocontrol.EOGenericRecord
          extended by er.extensions.eof.ERXGenericRecord
              extended by er.bugtracker._Bug
                  extended by er.bugtracker.Bug
All Implemented Interfaces:
com.webobjects.eocontrol._EOPrivateMemento, com.webobjects.eocontrol.EODeferredFaulting, com.webobjects.eocontrol.EOEnterpriseObject, com.webobjects.eocontrol.EOFaulting, com.webobjects.eocontrol.EOKeyValueCoding, com.webobjects.eocontrol.EOKeyValueCoding._BestBindingCreation._ForwardingBindingCheck, com.webobjects.eocontrol.EOKeyValueCoding._KeyBindingCreation, com.webobjects.eocontrol.EOKeyValueCodingAdditions, com.webobjects.eocontrol.EORelationshipManipulation, com.webobjects.eocontrol.EOValidation, com.webobjects.foundation.NSKeyValueCoding, com.webobjects.foundation.NSKeyValueCoding._KeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding._ReflectionKeyBindingCreation.Callback, com.webobjects.foundation.NSKeyValueCoding.ErrorHandling, com.webobjects.foundation.NSKeyValueCodingAdditions, com.webobjects.foundation.NSValidation, Markable, ERXDatabaseContextDelegate.AutoBatchFaultingEnterpriseObject, ERXEnterpriseObject, ERXGeneratesPrimaryKeyInterface, ERXGuardedObjectInterface, ERXKey.ValueCoding, ERXNonNullObjectInterface, java.io.Serializable
Direct Known Subclasses:
_Requirement

public class Bug
extends _Bug
implements Markable

See Also:
Serialized Form

Nested Class Summary
static class Bug.BugClazz<Bug>
           
 
Nested classes/interfaces inherited from class er.bugtracker._Bug
_Bug._BugClazz, _Bug.Key
 
Nested classes/interfaces inherited from class er.extensions.eof.ERXGenericRecord
ERXGenericRecord.ERXGenericRecordClazz<T extends com.webobjects.eocontrol.EOEnterpriseObject>, ERXGenericRecord.InverseRelationshipUpdater, ERXGenericRecord.LocalizedBinding, ERXGenericRecord.TouchingBinding
 
Nested classes/interfaces inherited from class com.webobjects.eocontrol.EOGenericRecord
com.webobjects.eocontrol.EOGenericRecord._DictionaryBinding, com.webobjects.eocontrol.EOGenericRecord._LazyDictionaryBinding
 
Nested classes/interfaces inherited from class com.webobjects.eocontrol.EOCustomObject
com.webobjects.eocontrol.EOCustomObject._BooleanFieldBinding, com.webobjects.eocontrol.EOCustomObject._FieldBinding, com.webobjects.eocontrol.EOCustomObject._LazyFieldBinding, com.webobjects.eocontrol.EOCustomObject._NumberFieldBinding
 
Nested classes/interfaces inherited from interface er.extensions.eof.ERXEnterpriseObject
ERXEnterpriseObject.Observer, ERXEnterpriseObject.Processor
 
Nested classes/interfaces inherited from interface com.webobjects.eocontrol.EOKeyValueCodingAdditions
com.webobjects.eocontrol.EOKeyValueCodingAdditions.DefaultImplementation, com.webobjects.eocontrol.EOKeyValueCodingAdditions.Utility
 
Nested classes/interfaces inherited from interface com.webobjects.eocontrol.EOKeyValueCoding
com.webobjects.eocontrol.EOKeyValueCoding._BestBindingCreation, com.webobjects.eocontrol.EOKeyValueCoding._KeyBindingCreation, com.webobjects.eocontrol.EOKeyValueCoding._StoredForwardingBinding
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCoding
com.webobjects.foundation.NSKeyValueCoding._BooleanFieldBinding, com.webobjects.foundation.NSKeyValueCoding._BooleanMethodBinding, com.webobjects.foundation.NSKeyValueCoding._FieldBinding, com.webobjects.foundation.NSKeyValueCoding._ForwardingBinding, com.webobjects.foundation.NSKeyValueCoding._KeyBinding, com.webobjects.foundation.NSKeyValueCoding._NumberFieldBinding, com.webobjects.foundation.NSKeyValueCoding._NumberMethodBinding, com.webobjects.foundation.NSKeyValueCoding._ReflectionKeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding.ErrorHandling, com.webobjects.foundation.NSKeyValueCoding.Null, com.webobjects.foundation.NSKeyValueCoding.UnknownKeyException, com.webobjects.foundation.NSKeyValueCoding.ValueAccessor
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSValidation
com.webobjects.foundation.NSValidation._MethodBinding, com.webobjects.foundation.NSValidation._ValidationBinding, com.webobjects.foundation.NSValidation.ValidationException
 
Nested classes/interfaces inherited from interface com.webobjects.eocontrol._EOPrivateMemento
com.webobjects.eocontrol._EOPrivateMemento.DefaultImplementation
 
Field Summary
protected  boolean _componentChanged
           
protected  boolean _ownerChanged
           
static Bug.BugClazz<Bug> clazz
           
 
Fields inherited from class er.bugtracker._Bug
ENTITY_NAME
 
Fields inherited from class er.extensions.eof.ERXGenericRecord
_primaryKey, _touchSource, insertionStackTrace
 
Fields inherited from class com.webobjects.eocontrol.EOGenericRecord
_CLASS
 
Fields inherited from interface er.extensions.eof.ERXEnterpriseObject
applyRestrictingQualifierOnInsert, DidDeleteProcessor, DidInsertProcessor, DidRevertProcessor, DidUpdateProcessor, FlushCachesProcessor, insertionTrackingLog, KEY_MARKER, logMod, tranLogDidDelete, tranLogDidInsert, tranLogDidRevert, tranLogDidUpdate, tranLogMightDelete, tranLogWillDelete, tranLogWillInsert, tranLogWillRevert, tranLogWillUpdate, validation, validationException, WillDeleteProcessor, WillInsertProcessor, WillRevertProcessor, WillUpdateProcessor
 
Fields inherited from interface com.webobjects.eocontrol.EOEnterpriseObject
_CLASS
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
_KeyPathSeparatorChar, KeyPathSeparator
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding
NullValue
 
Constructor Summary
Bug()
           
 
Method Summary
 java.lang.Number bugid()
           
 boolean canForDelete()
           
 void close()
           
 com.webobjects.foundation.NSArray commentsByDate()
           
 void didUpdate()
          Called on the object after is has successfully been updated in the database.
 java.lang.Number id()
           
 void init(com.webobjects.eocontrol.EOEditingContext ec)
          used for initialization stuff instead of awakeFromInsertion.
 void markAsRead()
           
 void markUnread()
           
 void moveToVerification()
           
 java.lang.String newText()
           
 void rejectVerification()
           
 void reopen()
           
 void setComponent(Component value)
           
 void setNewText(java.lang.String newValue)
           
 void setOwner(People value)
           
 void setState(State newState)
           
 void setTextDescription(java.lang.String value)
           
 com.webobjects.foundation.NSArray sortedComments()
           
 ERTaggable<Bug> taggable()
           
 java.lang.String textDescription()
           
 void touch()
           
 void validateForInsert()
          Calls up validateForInsert() on the class description if it supports it.
 void validateForUpdate()
          Calls up validateForUpdate() on the class description if it supports it.
 java.lang.Object validateTargetReleaseForNewBugs()
           
 
Methods inherited from class er.bugtracker._Bug
addToComments, addToTestItems, comments, component, dateModified, dateSubmitted, isFeatureRequest, isRead, originator, owner, previousOwner, priority, removeFromComments, removeFromTestItems, setDateModified, setDateSubmitted, setIsFeatureRequest, setIsRead, setOriginator, setPreviousOwner, setPriority, setSubject, setTargetRelease, setType, state, subject, targetRelease, testItems, type
 
Methods inherited from class er.extensions.eof.ERXGenericRecord
_otherStorageBinding, _setPrimaryKeyDictionary, _setUpdateInverseRelationships, _setValueForPrimaryKey, _updateInverseRelationships, _validateValueForKey, addObjectsToBothSidesOfRelationshipWithKey, addObjectToBothSidesOfRelationshipWithKey, applyRestrictingQualifierOnInsert, awakeFromClientUpdate, awakeFromFetch, awakeFromInsertion, batchCheckConsistency, batchFaultingRelationshipName, batchFaultingSourceGlobalID, batchFaultingTimeStamp, canDelete, canUpdate, changesFromCommittedSnapshot, checkConsistency, checkMatchingEditingContexts, clearProperties, committedSnapshot, committedSnapshotValueForKey, delete, description, didCopyFromChildInEditingContext, didDelete, didInsert, didRevert, encryptedPrimaryKey, entity, excludeObjectFromPropertyWithKey, flushCaches, foreignKeyForRelationshipWithKey, getClassLog, hasKeyChangedFromCommittedSnapshot, hasKeyChangedFromCommittedSnapshotFromValue, hasKeyChangedFromCommittedSnapshotFromValueToNewValue, hasKeyChangedFromCommittedSnapshotToValue, includeObjectIntoPropertyWithKey, isDeletedEO, isNewEO, isNewObject, isNonNull, isUpdatedObject, isValidatedWhenNested, localesForKey, localInstanceIn, localInstanceOf, localInstancesOf, localizationShouldFallbackToDefaultLanguage, mightDelete, parentObjectStoreIsObjectStoreCoordinator, permanentGlobalID, permanentGlobalID, primaryKey, primaryKeyAttributeNames, primaryKeyDictionary, primaryKeyInTransaction, rawPrimaryKey, rawPrimaryKeyInTransaction, refetchObjectFromDB, refetchObjectFromDBinEditingContext, removeObjectsFromBothSidesOfRelationshipWithKey, removeObjectsFromPropertyWithKey, self, setBatchFaultingTimestamp, setValidatedWhenNested, shouldTrimSpaces, takeStoredValueForKey, takeValueForKey, takeValueForKey, toLongString, toString, touchFromBatchFaultingSource, trimSpaces, updateFromSnapshot, validateForSave, validateValueForKey, valueForKey, willDelete, willInsert, willReadRelationship, willRevert, willUpdate
 
Methods inherited from class com.webobjects.eocontrol.EOGenericRecord
__setClassDescription, _keyGetBindingForKey, _keySetBindingForKey, _storedKeyGetBindingForKey, _storedKeySetBindingForKey, classDescription, usesDeferredFaultCreation
 
Methods inherited from class com.webobjects.eocontrol.EOCustomObject
__classDescription, __clearPendingChanges, __editingContext, __globalID, __hasAuxillaryObservers, __hasPendingChanges, __hasPendingUpdate, __isInitialized, __isPendingDeletion, __isPendingInsertion, __isShared, __lastSnapshot, __originalSnapshot, __retainCount, __setAuxillaryObservers, __setEditingContext, __setGlobalID, __setInitialized, __setLastSnapshot, __setOriginalSnapshot, __setPendingDeletion, __setPendingInsertion, __setPendingUpdate, __setRetainCount, __setShared, _createKeyGetBindingForKey, _createKeySetBindingForKey, _createStoredKeyGetBindingForKey, _createStoredKeySetBindingForKey, _fieldKeyBinding, _forwardingBindingNeededForClass, _methodKeyGetBinding, _methodKeySetBinding, addObjectToPropertyWithKey, allPropertyKeys, attributeKeys, canAccessFieldsDirectly, changesFromSnapshot, classDescriptionForDestinationKey, clearFault, deleteRuleForRelationshipKey, editingContext, entityName, eoDescription, eoShallowDescription, equals, faultHandler, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hashCode, inverseForRelationshipKey, invokeRemoteMethod, isFault, isToManyKey, opaqueState, ownsDestinationObjectsForRelationshipKey, prepareValuesForClient, propagateDeleteWithEditingContext, readResolve, reapplyChangesFromDictionary, removeObjectFromBothSidesOfRelationshipWithKey, removeObjectFromPropertyWithKey, shouldUseStoredAccessors, snapshot, storedValueForKey, takeValueForKeyPath, takeValuesFromDictionary, takeValuesFromDictionaryWithMapping, toManyRelationshipKeys, toOneRelationshipKeys, turnIntoFault, unableToSetNullForKey, userPresentableDescription, validateClientUpdate, validateForDelete, validateTakeValueForKeyPath, valueForKey, valueForKeyPath, valuesForKeys, valuesForKeysWithMapping, willChange, willRead
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.webobjects.eocontrol.EOEnterpriseObject
allPropertyKeys, attributeKeys, changesFromSnapshot, classDescription, classDescriptionForDestinationKey, deleteRuleForRelationshipKey, editingContext, entityName, eoDescription, eoShallowDescription, inverseForRelationshipKey, invokeRemoteMethod, isToManyKey, opaqueState, ownsDestinationObjectsForRelationshipKey, prepareValuesForClient, propagateDeleteWithEditingContext, reapplyChangesFromDictionary, snapshot, toManyRelationshipKeys, toOneRelationshipKeys, userPresentableDescription, willChange
 
Methods inherited from interface com.webobjects.eocontrol.EOKeyValueCodingAdditions
takeValuesFromDictionary, takeValuesFromDictionaryWithMapping, valuesForKeys, valuesForKeysWithMapping
 
Methods inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
takeValueForKeyPath, valueForKeyPath
 
Methods inherited from interface com.webobjects.eocontrol.EOKeyValueCoding
storedValueForKey
 
Methods inherited from interface com.webobjects.foundation.NSKeyValueCoding
valueForKey
 
Methods inherited from interface com.webobjects.foundation.NSKeyValueCoding.ErrorHandling
handleQueryWithUnboundKey, handleTakeValueForUnboundKey, unableToSetNullForKey
 
Methods inherited from interface com.webobjects.eocontrol.EORelationshipManipulation
addObjectToPropertyWithKey, removeObjectFromBothSidesOfRelationshipWithKey, removeObjectFromPropertyWithKey
 
Methods inherited from interface com.webobjects.eocontrol.EOValidation
validateClientUpdate, validateForDelete
 
Methods inherited from interface com.webobjects.foundation.NSValidation
validateTakeValueForKeyPath
 
Methods inherited from interface com.webobjects.eocontrol.EOFaulting
clearFault, faultHandler, isFault, turnIntoFault, willRead
 

Field Detail

_componentChanged

protected boolean _componentChanged

_ownerChanged

protected boolean _ownerChanged

clazz

public static final Bug.BugClazz<Bug> clazz
Constructor Detail

Bug

public Bug()
Method Detail

init

public void init(com.webobjects.eocontrol.EOEditingContext ec)
Description copied from class: ERXGenericRecord
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.

Overrides:
init in class ERXGenericRecord
Parameters:
ec - the EOEditingContext in which this new EO is inserted

taggable

public ERTaggable<Bug> taggable()

markAsRead

public void markAsRead()
Specified by:
markAsRead in interface Markable

markUnread

public void markUnread()

touch

public void touch()

commentsByDate

public com.webobjects.foundation.NSArray commentsByDate()

textDescription

public java.lang.String textDescription()

setTextDescription

public void setTextDescription(java.lang.String value)

setComponent

public void setComponent(Component value)
Overrides:
setComponent in class _Bug

setOwner

public void setOwner(People value)
Overrides:
setOwner in class _Bug

setState

public void setState(State newState)
Overrides:
setState in class _Bug

validateTargetReleaseForNewBugs

public java.lang.Object validateTargetReleaseForNewBugs()
                                                 throws com.webobjects.foundation.NSValidation.ValidationException
Throws:
com.webobjects.foundation.NSValidation.ValidationException

validateForInsert

public void validateForInsert()
Description copied from class: ERXGenericRecord
Calls up validateForInsert() on the class description if it supports it.

Specified by:
validateForInsert in interface com.webobjects.eocontrol.EOValidation
Overrides:
validateForInsert in class ERXGenericRecord

validateForUpdate

public void validateForUpdate()
Description copied from class: ERXGenericRecord
Calls up validateForUpdate() on the class description if it supports it.

Specified by:
validateForUpdate in interface com.webobjects.eocontrol.EOValidation
Overrides:
validateForUpdate in class ERXGenericRecord

canForDelete

public boolean canForDelete()

newText

public java.lang.String newText()

setNewText

public void setNewText(java.lang.String newValue)

sortedComments

public com.webobjects.foundation.NSArray sortedComments()

didUpdate

public void didUpdate()
Description copied from interface: ERXEnterpriseObject
Called on the object after is has successfully been updated in the database.

Specified by:
didUpdate in interface ERXEnterpriseObject
Overrides:
didUpdate in class ERXGenericRecord

close

public void close()

reopen

public void reopen()

rejectVerification

public void rejectVerification()

moveToVerification

public void moveToVerification()

bugid

public java.lang.Number bugid()

id

public java.lang.Number id()

Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.