er.bugtracker
Class Bug
java.lang.Object
com.webobjects.eocontrol.EOCustomObject
com.webobjects.eocontrol.EOGenericRecord
er.extensions.eof.ERXGenericRecord
er.bugtracker._Bug
er.bugtracker.Bug
- All Implemented Interfaces:
- _EOPrivateMemento, EODeferredFaulting, EOEnterpriseObject, EOFaulting, EOKeyValueCoding, EOKeyValueCoding._BestBindingCreation._ForwardingBindingCheck, EOKeyValueCoding._KeyBindingCreation, EOKeyValueCodingAdditions, EORelationshipManipulation, EOValidation, NSKeyValueCoding, NSKeyValueCoding._KeyBindingCreation, NSKeyValueCoding._ReflectionKeyBindingCreation.Callback, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, NSValidation, Markable, ERXEnterpriseObject, ERXGeneratesPrimaryKeyInterface, ERXGuardedObjectInterface, ERXKey.ValueCoding, Serializable
- Direct Known Subclasses:
- _Requirement
public class Bug
- extends _Bug
- implements Markable
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCoding |
NSKeyValueCoding._BooleanFieldBinding, NSKeyValueCoding._BooleanMethodBinding, NSKeyValueCoding._FieldBinding, NSKeyValueCoding._ForwardingBinding, NSKeyValueCoding._KeyBinding, NSKeyValueCoding._MethodBinding, NSKeyValueCoding._NumberFieldBinding, NSKeyValueCoding._NumberMethodBinding, NSKeyValueCoding._ReflectionKeyBindingCreation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.MapImplementation, NSKeyValueCoding.Null<T>, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.ValueAccessor |
| Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCoding |
NSKeyValueCoding._BooleanFieldBinding, NSKeyValueCoding._BooleanMethodBinding, NSKeyValueCoding._FieldBinding, NSKeyValueCoding._ForwardingBinding, NSKeyValueCoding._KeyBinding, NSKeyValueCoding._MethodBinding, NSKeyValueCoding._NumberFieldBinding, NSKeyValueCoding._NumberMethodBinding, NSKeyValueCoding._ReflectionKeyBindingCreation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.MapImplementation, NSKeyValueCoding.Null<T>, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.ValueAccessor |
| 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 |
|
Constructor Summary |
Bug()
|
| 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, _setUpdateInverseRelationships, _updateInverseRelationships, _validateValueForKey, addObjectsToBothSidesOfRelationshipWithKey, addObjectToBothSidesOfRelationshipWithKey, applyRestrictingQualifierOnInsert, awakeFromClientUpdate, awakeFromFetch, awakeFromInsertion, batchCheckConsistency, canDelete, canUpdate, changesFromCommittedSnapshot, checkConsistency, checkMatchingEditingContexts, clearProperties, committedSnapshot, committedSnapshotValueForKey, delete, description, didDelete, didInsert, didRevert, encryptedPrimaryKey, entity, excludeObjectFromPropertyWithKey, flushCaches, foreignKeyForRelationshipWithKey, getClassLog, includeObjectIntoPropertyWithKey, isDeletedEO, isNewEO, isNewObject, isUpdatedObject, localesForKey, localInstanceIn, localInstanceOf, localInstancesOf, localizationShouldFallbackToDefaultLanguage, mightDelete, parentObjectStoreIsObjectStoreCoordinator, permanentGlobalID, permanentGlobalID, primaryKey, primaryKeyAttributeNames, primaryKeyDictionary, primaryKeyInTransaction, rawPrimaryKey, rawPrimaryKeyInTransaction, refetchObjectFromDBinEditingContext, removeObjectsFromBothSidesOfRelationshipWithKey, removeObjectsFromPropertyWithKey, self, shouldTrimSpaces, takeStoredValueForKey, takeValueForKey, takeValueForKey, toLongString, toString, trimSpaces, updateFromSnapshot, validateForSave, validateValueForKey, valueForKey, willDelete, willInsert, willReadRelationship, willRevert, willUpdate |
| 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, isReadOnly, 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 interface com.webobjects.eocontrol.EOEnterpriseObject |
allPropertyKeys, attributeKeys, changesFromSnapshot, classDescription, classDescriptionForDestinationKey, deleteRuleForRelationshipKey, editingContext, entityName, eoDescription, eoShallowDescription, inverseForRelationshipKey, invokeRemoteMethod, isReadOnly, isToManyKey, opaqueState, ownsDestinationObjectsForRelationshipKey, prepareValuesForClient, propagateDeleteWithEditingContext, reapplyChangesFromDictionary, snapshot, toManyRelationshipKeys, toOneRelationshipKeys, userPresentableDescription, willChange |
_componentChanged
protected boolean _componentChanged
_ownerChanged
protected boolean _ownerChanged
clazz
public static final Bug.BugClazz<Bug> clazz
Bug
public Bug()
init
public void init(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 NSArray commentsByDate()
textDescription
public String textDescription()
setTextDescription
public void setTextDescription(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 Object validateTargetReleaseForNewBugs()
throws NSValidation.ValidationException
- Throws:
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 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 EOValidation- Overrides:
validateForUpdate in class ERXGenericRecord
canForDelete
public boolean canForDelete()
newText
public String newText()
setNewText
public void setNewText(String newValue)
sortedComments
public 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 Number bugid()
id
public Number id()
Copyright © 2002 – 2007 Project Wonder.