Class DivergedChange
java.lang.Object
com.broadleafcommerce.sandbox.domain.DivergedChange
- All Implemented Interfaces:
Serializable
A change that has been promoted in advance of the current change represented in a
ChangeDetail
. The base from which the current ChangeSummary is derived has diverged as a
result of these changes.- Author:
- Jeff Fischer
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDivergedChange
(com.broadleafcommerce.data.tracking.core.filtering.domain.ChangeDetail changeDetail, String fieldName, boolean conflicting) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
com.broadleafcommerce.data.tracking.core.filtering.domain.ChangeDetail
TheChangeDetail
information for the change that is promoted in advance of the current user-level ChangeInfo.The name of the field for this changeint
hashCode()
boolean
Whether or not the advance change is in conflict with a change in the current ChangeInfovoid
setConflicting
(boolean conflicting) Whether or not the advance change is in conflict with a change in the current ChangeInfovoid
setFieldName
(String fieldName) The name of the field for this changetoString()
-
Constructor Details
-
DivergedChange
public DivergedChange(com.broadleafcommerce.data.tracking.core.filtering.domain.ChangeDetail changeDetail, String fieldName, boolean conflicting)
-
-
Method Details
-
getChangeDetail
public com.broadleafcommerce.data.tracking.core.filtering.domain.ChangeDetail getChangeDetail()TheChangeDetail
information for the change that is promoted in advance of the current user-level ChangeInfo.- Returns:
- The
Tracking
information for the change that is promoted in advance
-
isConflicting
public boolean isConflicting()Whether or not the advance change is in conflict with a change in the current ChangeInfo- Returns:
- Whether or not the advance change is in conflict with a change in the current ChangeInfo
-
getFieldName
The name of the field for this change- Returns:
- The name of the field for this change
-
setConflicting
public void setConflicting(boolean conflicting) Whether or not the advance change is in conflict with a change in the current ChangeInfo- Parameters:
conflicting
- Whether or not the advance change is in conflict with a change in the current ChangeInfo
-
setFieldName
The name of the field for this change- Parameters:
fieldName
- The name of the field for this change
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-