2 * Copyright 2016 [ZTE] and others.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 package org.openo.commontosca.catalog.model.externalservice.entity.container;
19 import java.util.List;
21 import javax.xml.bind.annotation.XmlAccessType;
22 import javax.xml.bind.annotation.XmlAccessorType;
23 import javax.xml.bind.annotation.XmlElement;
24 import javax.xml.bind.annotation.XmlElementWrapper;
25 import javax.xml.bind.annotation.XmlRootElement;
27 @XmlAccessorType(XmlAccessType.FIELD)
28 @XmlRootElement(name = "Application", namespace = ContainerSelfService.NAMESPACE_OF_SELFSERVICE)
29 public class ContainerSelfService {
30 public static final String NAMESPACE_OF_SELFSERVICE =
31 "http://www.eclipse.org/winery/model/selfservice";
33 @XmlElement(namespace = NAMESPACE_OF_SELFSERVICE)
34 private String displayName;
36 @XmlElement(namespace = NAMESPACE_OF_SELFSERVICE)
37 private String description;
39 @XmlElement(namespace = NAMESPACE_OF_SELFSERVICE)
40 private String iconUrl;
42 @XmlElement(namespace = NAMESPACE_OF_SELFSERVICE)
43 private String imageUrl;
45 @XmlElementWrapper(name = "options", namespace = NAMESPACE_OF_SELFSERVICE)
46 @XmlElement(name = "option", namespace = NAMESPACE_OF_SELFSERVICE)
47 private List<ContainerSelfServiceOption> optionList;
49 public String getDisplayName() {
53 public void setDisplayName(String displayName) {
54 this.displayName = displayName;
57 public String getDescription() {
61 public void setDescription(String description) {
62 this.description = description;
65 public String getIconUrl() {
69 public void setIconUrl(String iconUrl) {
70 this.iconUrl = iconUrl;
73 public String getImageUrl() {
77 public void setImageUrl(String imageUrl) {
78 this.imageUrl = imageUrl;
81 public List<ContainerSelfServiceOption> getOptionList() {
85 public void setOptionList(List<ContainerSelfServiceOption> optionList) {
86 this.optionList = optionList;