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
10 * ZTE - initial API and implementation and/or initial documentation
\r
12 package org.onap.sdc.workflowdesigner.resources.entity;
\r
14 import com.fasterxml.jackson.annotation.JsonInclude;
\r
15 import com.fasterxml.jackson.annotation.JsonInclude.Include;
\r
20 @JsonInclude(Include.NON_NULL)
\r
21 public class ExtActivity {
\r
24 private I18nString displayName;
\r
26 private I18nString description;
\r
28 private String type;
\r
30 private IconData icon;
\r
32 private Content content;
\r
37 public String getId() {
\r
42 * @param id the id to set
\r
44 public void setId(String id) {
\r
51 public String getType() {
\r
56 * @param type the type to set
\r
58 public void setType(String type) {
\r
65 public IconData getIcon() {
\r
70 * @param icon the icon to set
\r
72 public void setIcon(IconData icon) {
\r
77 * @return the content
\r
79 public Content getContent() {
\r
84 * @param content the content to set
\r
86 public void setContent(Content content) {
\r
87 this.content = content;
\r
91 * @return the displayName
\r
93 public I18nString getDisplayName() {
\r
98 * @param displayName the displayName to set
\r
100 public void setDisplayName(I18nString displayName) {
\r
101 this.displayName = displayName;
\r
105 * @return the description
\r
107 public I18nString getDescription() {
\r
108 return description;
\r
112 * @param description the description to set
\r
114 public void setDescription(I18nString description) {
\r
115 this.description = description;
\r