public class CategoryUpdater extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
CategoryUpdater.CategoryField
The fields that can be updated.
|
Constructor and Description |
---|
CategoryUpdater()
The default constructor
|
Modifier and Type | Method and Description |
---|---|
Map<CategoryUpdater.CategoryField,Serializable> |
getFields()
Get the fields to update, and the new value
|
CategoryUpdater |
setDescription(String description)
Set the new description
|
CategoryUpdater |
setName(String name)
Set the new name
|
public CategoryUpdater setName(String name)
name
- The new namepublic CategoryUpdater setDescription(String description)
description
- The new descriptionpublic Map<CategoryUpdater.CategoryField,Serializable> getFields()
Copyright © 2016 Bonitasoft S.A.. All rights reserved.