Chore: Fix typo in INFO
[externalapi/nbi.git] / src / main / java / org / onap / nbi / apis / serviceorder / model / orchestrator / ServiceOrderInfo.java
1 /**
2  *     Copyright (c) 2018 Orange
3  *
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
7  *
8  *         http://www.apache.org/licenses/LICENSE-2.0
9  *
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.
15  */
16
17 package org.onap.nbi.apis.serviceorder.model.orchestrator;
18
19 import org.onap.nbi.apis.serviceorder.model.consumer.SubscriberInfo;
20 import java.util.HashMap;
21 import java.util.Map;
22
23 public class ServiceOrderInfo {
24
25     private boolean useServiceOrderCustomer;
26     private SubscriberInfo subscriberInfo;
27     private Map<String, ServiceOrderItemInfo> serviceOrderItemInfos = new HashMap<>();
28     private boolean allItemsInAdd = true;
29     private boolean allItemsCompleted;
30     private boolean serviceOrderRejected = false;
31     private String serviceOrderId;
32     private String owningEntityId;
33
34     public String getOwningEntityId() {
35         return owningEntityId;
36     }
37
38     public void setOwningEntityId(String owningEntityId) {
39         this.owningEntityId = owningEntityId;
40     }
41
42     public String getServiceOrderId() {
43         return serviceOrderId;
44     }
45
46     public void setServiceOrderId(String serviceOrderId) {
47         this.serviceOrderId = serviceOrderId;
48     }
49
50     public boolean isAllItemsInAdd() {
51         return allItemsInAdd;
52     }
53
54     public void setAllItemsInAdd(boolean allItemsInAdd) {
55         this.allItemsInAdd = allItemsInAdd;
56     }
57
58     public boolean isAllItemsCompleted() {
59         return allItemsCompleted;
60     }
61
62     public void setAllItemsCompleted(boolean allItemsCompleted) {
63         this.allItemsCompleted = allItemsCompleted;
64     }
65
66     public boolean isServiceOrderRejected() {
67         return serviceOrderRejected;
68     }
69
70     public void setIsServiceOrderRejected(boolean isServiceOrderRejected) {
71         this.serviceOrderRejected = isServiceOrderRejected;
72     }
73
74     public Map<String, ServiceOrderItemInfo> getServiceOrderItemInfos() {
75         return serviceOrderItemInfos;
76     }
77
78     public void addServiceOrderItemInfos(String id, ServiceOrderItemInfo serviceOrderItemInfo) {
79         this.serviceOrderItemInfos.put(id, serviceOrderItemInfo);
80     }
81
82     public SubscriberInfo getSubscriberInfo() {
83         return subscriberInfo;
84     }
85
86     public void setSubscriberInfo(SubscriberInfo subscriberInfo) {
87         this.subscriberInfo = subscriberInfo;
88     }
89
90     public boolean isUseServiceOrderCustomer() {
91         return useServiceOrderCustomer;
92     }
93
94     public void setUseServiceOrderCustomer(boolean useServiceOrderCustomer) {
95         this.useServiceOrderCustomer = useServiceOrderCustomer;
96     }
97
98 }