Class TypeUpdateImpl
java.lang.Object
com.commercetools.api.models.type.TypeUpdateImpl
- All Implemented Interfaces:
ResourceUpdate<TypeUpdate,
,TypeUpdateAction, TypeUpdateBuilder> TypeUpdate
,io.vrap.rmf.base.client.ModelBase
TypeUpdate
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Update actions to be performed on the Type.Expected version of the type on which the changes should be applied.int
hashCode()
void
setActions
(TypeUpdateAction... actions) Update actions to be performed on the Type.void
setActions
(List<TypeUpdateAction> actions) Update actions to be performed on the Type.void
setVersion
(Long version) Expected version of the type on which the changes should be applied.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.ResourceUpdate
get
Methods inherited from interface com.commercetools.api.models.type.TypeUpdate
withTypeUpdate
-
Constructor Details
-
TypeUpdateImpl
public TypeUpdateImpl()create empty instance
-
-
Method Details
-
getVersion
Expected version of the type on which the changes should be applied. If the expected version does not match the actual version, a ConcurrentModification error is returned.
- Specified by:
getVersion
in interfaceResourceUpdate<TypeUpdate,
TypeUpdateAction, TypeUpdateBuilder> - Specified by:
getVersion
in interfaceTypeUpdate
- Returns:
- version
-
getActions
Update actions to be performed on the Type.
- Specified by:
getActions
in interfaceResourceUpdate<TypeUpdate,
TypeUpdateAction, TypeUpdateBuilder> - Specified by:
getActions
in interfaceTypeUpdate
- Returns:
- actions
-
setVersion
Description copied from interface:TypeUpdate
Expected version of the type on which the changes should be applied. If the expected version does not match the actual version, a ConcurrentModification error is returned.
- Specified by:
setVersion
in interfaceResourceUpdate<TypeUpdate,
TypeUpdateAction, TypeUpdateBuilder> - Specified by:
setVersion
in interfaceTypeUpdate
- Parameters:
version
- value to be set
-
setActions
Description copied from interface:TypeUpdate
Update actions to be performed on the Type.
- Specified by:
setActions
in interfaceTypeUpdate
- Parameters:
actions
- values to be set
-
setActions
Description copied from interface:TypeUpdate
Update actions to be performed on the Type.
- Specified by:
setActions
in interfaceResourceUpdate<TypeUpdate,
TypeUpdateAction, TypeUpdateBuilder> - Specified by:
setActions
in interfaceTypeUpdate
- Parameters:
actions
- values to be set
-
equals
-
hashCode
public int hashCode()
-