903b84ac8a166883941cbd9e82cc8fa14f634faa
[so.git] / bpmn / MSOCoreBPMN / src / main / java / org / onap / so / bpmn / core / domain / OwningEntity.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.onap.so.bpmn.core.domain;
22
23 import java.io.Serializable;
24
25 import com.fasterxml.jackson.annotation.JsonRootName;
26
27 /**
28  * This class is used to store instance
29  * data of owningEntity for ServiceDecomposition
30  *
31  * @author bb3476
32  *
33  */
34 @JsonRootName("owningEntity")
35 public class OwningEntity extends JsonWrapper implements Serializable {
36
37         private static final long serialVersionUID = 1L;
38         private String owningEntityId;
39         private String owningEntityName;
40         public String getOwningEntityId() {
41                 return owningEntityId;
42         }
43         public void setOwningEntityId(String owningEntityId) {
44                 this.owningEntityId = owningEntityId;
45         }
46         public String getOwningEntityName() {
47                 return owningEntityName;
48         }
49         public void setOwningEntityName(String owningEntityName) {
50                 this.owningEntityName = owningEntityName;
51         }
52         
53 }