64e953e1701fb7e0858c87c9b081052329018728
[vid.git] / vid-app-common / src / main / java / org / onap / vid / model / aaiTree / AbstractNode.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * VID
4  * ================================================================================
5  * Copyright (C) 2017 - 2019 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.vid.model.aaiTree;
22
23 import org.onap.vid.model.Action;
24 import org.onap.vid.mso.model.ModelInfo;
25
26 public abstract class AbstractNode {
27
28     protected final Action action;
29     protected String instanceName;
30     protected String instanceId;
31     protected String orchStatus;
32     protected String productFamilyId;
33     protected String lcpCloudRegionId;
34     protected String tenantId;
35     protected ModelInfo modelInfo;
36
37     public AbstractNode() {
38         this.action = Action.None;
39     }
40
41     public final Action getAction() {
42         return action;
43     }
44
45     public final String getInstanceName() {
46         return instanceName;
47     }
48
49     public final String getInstanceId() {
50         return instanceId;
51     }
52
53     public final String getOrchStatus() {
54         return orchStatus;
55     }
56
57     public final String getProductFamilyId() {
58         return productFamilyId;
59     }
60
61     public final String getLcpCloudRegionId() {
62         return lcpCloudRegionId;
63     }
64
65     public final String getTenantId() {
66         return tenantId;
67     }
68
69     public final ModelInfo getModelInfo() {
70         return modelInfo;
71     }
72
73 }