org.squashtest.csp.tm.domain.event
Class RequirementPropertyChange
java.lang.Object
org.squashtest.csp.tm.domain.event.RequirementAuditEvent
org.squashtest.csp.tm.domain.event.RequirementPropertyChange
- All Implemented Interfaces:
- ChangedProperty, RequirementVersionModification
@Entity
public class RequirementPropertyChange
- extends RequirementAuditEvent
- implements RequirementVersionModification, ChangedProperty
Will log when the value of a property of a requirement changed. For technical reasons and optimization, large
properties (typically CLOBS) will be logged in a sister class : RequirementLargePropertyChange
- Author:
- bsiri
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequirementPropertyChange
public RequirementPropertyChange()
builder
public static RequirementPropertyChangeEventBuilder<RequirementPropertyChange> builder()
getPropertyName
public String getPropertyName()
- Specified by:
getPropertyName in interface ChangedProperty- Specified by:
getPropertyName in interface RequirementVersionModification
- Returns:
- the modified property, should never return
null - See Also:
RequirementVersionModification.getPropertyName()
getOldValue
public String getOldValue()
- Specified by:
getOldValue in interface ChangedProperty
getNewValue
public String getNewValue()
- Specified by:
getNewValue in interface ChangedProperty
accept
public void accept(RequirementAuditEventVisitor visitor)
- Specified by:
accept in class RequirementAuditEvent
Copyright © 2010-2012 Squashtest TM, Squashtest.org. All Rights Reserved.