Class ProjectUpdateImpl
java.lang.Object
com.commercetools.api.models.project.ProjectUpdateImpl
- All Implemented Interfaces:
ProjectUpdate
,ResourceUpdate<ProjectUpdate,
,ProjectUpdateAction, ProjectUpdateBuilder> io.vrap.rmf.base.client.ModelBase
public class ProjectUpdateImpl
extends Object
implements ProjectUpdate, io.vrap.rmf.base.client.ModelBase
ProjectUpdate
-
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 Project.Expected version of the Project on which the changes should be applied.int
hashCode()
void
setActions
(ProjectUpdateAction... actions) Update actions to be performed on the Project.void
setActions
(List<ProjectUpdateAction> actions) Update actions to be performed on the Project.void
setVersion
(Long version) Expected version of the Project 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.project.ProjectUpdate
withProjectUpdate
Methods inherited from interface com.commercetools.api.models.ResourceUpdate
get
-
Constructor Details
-
ProjectUpdateImpl
public ProjectUpdateImpl()create empty instance
-
-
Method Details
-
getVersion
Expected version of the Project 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 interfaceProjectUpdate
- Specified by:
getVersion
in interfaceResourceUpdate<ProjectUpdate,
ProjectUpdateAction, ProjectUpdateBuilder> - Returns:
- version
-
getActions
Update actions to be performed on the Project.
- Specified by:
getActions
in interfaceProjectUpdate
- Specified by:
getActions
in interfaceResourceUpdate<ProjectUpdate,
ProjectUpdateAction, ProjectUpdateBuilder> - Returns:
- actions
-
setVersion
Description copied from interface:ProjectUpdate
Expected version of the Project 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 interfaceProjectUpdate
- Specified by:
setVersion
in interfaceResourceUpdate<ProjectUpdate,
ProjectUpdateAction, ProjectUpdateBuilder> - Parameters:
version
- value to be set
-
setActions
Description copied from interface:ProjectUpdate
Update actions to be performed on the Project.
- Specified by:
setActions
in interfaceProjectUpdate
- Parameters:
actions
- values to be set
-
setActions
Description copied from interface:ProjectUpdate
Update actions to be performed on the Project.
- Specified by:
setActions
in interfaceProjectUpdate
- Specified by:
setActions
in interfaceResourceUpdate<ProjectUpdate,
ProjectUpdateAction, ProjectUpdateBuilder> - Parameters:
actions
- values to be set
-
equals
-
hashCode
-