Code Optimization.
[sdc/sdc-workflow-designer.git] / sdc-workflow-designer-server / src / main / java / org / onap / sdc / workflowdesigner / resources / entity / CategoryData.java
1 /**\r
2  * Copyright (c) 2018 ZTE Corporation.\r
3  * All rights reserved. This program and the accompanying materials\r
4  * are made available under the Apache License, Version 2.0\r
5  * and the Eclipse Public License v1.0 which both accompany this distribution,\r
6  * and are available at http://www.eclipse.org/legal/epl-v10.html\r
7  * and http://www.apache.org/licenses/LICENSE-2.0\r
8  *\r
9  * Contributors:\r
10  *     ZTE - initial API and implementation and/or initial documentation\r
11  */\r
12 package org.onap.sdc.workflowdesigner.resources.entity;\r
13 \r
14 /**\r
15  *\r
16  */\r
17 public class CategoryData {\r
18   private I18nString displayName;\r
19 \r
20   private boolean collapse;\r
21 \r
22   /**\r
23    * @return the displayName\r
24    */\r
25   public I18nString getDisplayName() {\r
26     return displayName;\r
27   }\r
28 \r
29   /**\r
30    * @param displayName the displayName to set\r
31    */\r
32   public void setDisplayName(I18nString displayName) {\r
33     this.displayName = displayName;\r
34   }\r
35 \r
36   /**\r
37    * @return the collapse\r
38    */\r
39   public boolean isCollapse() {\r
40     return collapse;\r
41   }\r
42 \r
43   /**\r
44    * @param collapse the collapse to set\r
45    */\r
46   public void setCollapse(boolean collapse) {\r
47     this.collapse = collapse;\r
48   }\r
49 \r
50 }\r