org.squashtest.csp.tm.domain.event
Class RequirementLargePropertyChange
java.lang.Object
org.squashtest.csp.tm.domain.event.RequirementAuditEvent
org.squashtest.csp.tm.domain.event.RequirementLargePropertyChange
- All Implemented Interfaces:
- ChangedProperty, RequirementVersionModification
@Entity
public class RequirementLargePropertyChange
- extends RequirementAuditEvent
- implements RequirementVersionModification, ChangedProperty
Will log when the value of a property of a requirement changed. For technical reasons and optimization, that class
logs only large properties (typically CLOBS), the other ones will be logged in a sister class :
RequirementPropertyChange
- Author:
- bsiri
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequirementLargePropertyChange
public RequirementLargePropertyChange()
RequirementLargePropertyChange
public RequirementLargePropertyChange(RequirementVersion requirementVersion,
String author)
builder
public static RequirementPropertyChangeEventBuilder<RequirementLargePropertyChange> 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
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.