Class UnknownChangeImpl
java.lang.Object
com.commercetools.history.models.change.UnknownChangeImpl
- All Implemented Interfaces:
Change,UnknownChange,io.vrap.rmf.base.client.ModelBase
public class UnknownChangeImpl
extends Object
implements UnknownChange, io.vrap.rmf.base.client.ModelBase
Change triggered when the format of changes on an entity is not identified by Audit Log.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle -
Field Summary
Fields inherited from interface com.commercetools.history.models.change.UnknownChange
UNKNOWN_CHANGE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIdentifier for the type of modification.Value after the change.Value before the change.getType()Unique discriminator value to reliably deserialize the data type.inthashCode()voidIdentifier for the type of modification.voidsetNextValue(Object nextValue) Value after the change.voidsetPreviousValue(Object previousValue) Value before the change.toString()Methods inherited from interface com.commercetools.history.models.change.Change
withChangeMethods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionStringMethods inherited from interface com.commercetools.history.models.change.UnknownChange
withUnknownChange
-
Constructor Details
-
UnknownChangeImpl
public UnknownChangeImpl()create empty instance
-
-
Method Details
-
getType
Description copied from interface:ChangeUnique discriminator value to reliably deserialize the data type.
- Specified by:
getTypein interfaceChange- Specified by:
getTypein interfaceUnknownChange- Returns:
- type
-
getChange
Identifier for the type of modification.
- Specified by:
getChangein interfaceChange- Specified by:
getChangein interfaceUnknownChange- Returns:
- change
-
getPreviousValue
Value before the change.
- Specified by:
getPreviousValuein interfaceUnknownChange- Returns:
- previousValue
-
getNextValue
Value after the change.
- Specified by:
getNextValuein interfaceUnknownChange- Returns:
- nextValue
-
setChange
Description copied from interface:UnknownChangeIdentifier for the type of modification.
- Specified by:
setChangein interfaceChange- Specified by:
setChangein interfaceUnknownChange- Parameters:
change- value to be set
-
setPreviousValue
Description copied from interface:UnknownChangeValue before the change.
- Specified by:
setPreviousValuein interfaceUnknownChange- Parameters:
previousValue- value to be set
-
setNextValue
Description copied from interface:UnknownChangeValue after the change.
- Specified by:
setNextValuein interfaceUnknownChange- Parameters:
nextValue- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-