2 * ============LICENSE_START=======================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
21 package org.onap.vid.model.aaiTree;
23 import org.onap.vid.model.Action;
24 import org.onap.vid.mso.model.ModelInfo;
26 public abstract class AbstractNode {
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 String cloudOwner;
36 protected ModelInfo modelInfo;
38 public AbstractNode() {
39 this.action = Action.None;
42 public final Action getAction() {
46 public final String getInstanceName() {
50 public final String getInstanceId() {
54 public final String getOrchStatus() {
58 public final String getProductFamilyId() {
59 return productFamilyId;
62 public final String getLcpCloudRegionId() {
63 return lcpCloudRegionId;
66 public final String getTenantId() {
70 public final ModelInfo getModelInfo() {
74 public String getCloudOwner() {