Update the dependencies to use project version
[aai/sparky-be.git] / src / main / java / org / onap / aai / sparky / viewandinspect / config / VisualizationConfigs.java
1 /**
2  * ============LICENSE_START=======================================================
3  * org.onap.aai
4  * ================================================================================
5  * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
6  * Copyright © 2017 Amdocs
7  * ================================================================================
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  *       http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  * ============LICENSE_END=========================================================
20  *
21  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
22  */
23 package org.onap.aai.sparky.viewandinspect.config;
24
25 /**
26  * The Class VisualizationConfig.
27  */
28 public class VisualizationConfigs {
29
30   private int maxSelfLinkTraversalDepth;
31
32   private boolean visualizationDebugEnabled;
33
34   private String aaiEntityNodeDescriptors;
35
36   private String generalNodeClassName;
37
38   private String searchNodeClassName;
39
40   private String selectedSearchedNodeClassName;
41
42   private int numOfThreadsToFetchNodeIntegrity;
43
44   private String entityTypesToSummarize;
45   private String vnfEntityTypes;
46
47   private boolean makeAllNeighborsBidirectional;
48
49   /**
50    * Instantiates a new visualization config.
51    */
52   public VisualizationConfigs() {}
53
54
55
56   /**
57    * Make all neighbors bidirectional.
58    *
59    * @return true, if successful
60    */
61   public boolean makeAllNeighborsBidirectional() {
62     return makeAllNeighborsBidirectional;
63   }
64
65   public void setMakeAllNeighborsBidirectional(boolean makeAllNeighborsBidirectional) {
66     this.makeAllNeighborsBidirectional = makeAllNeighborsBidirectional;
67   }
68
69   public String getSelectedSearchedNodeClassName() {
70     return selectedSearchedNodeClassName;
71   }
72
73   public void setSelectedSearchedNodeClassName(String selectedSearchedNodeClassName) {
74     this.selectedSearchedNodeClassName = selectedSearchedNodeClassName;
75   }
76
77   public String getGeneralNodeClassName() {
78     return generalNodeClassName;
79   }
80
81   public void setGeneralNodeClassName(String generalNodeClassName) {
82     this.generalNodeClassName = generalNodeClassName;
83   }
84
85   public String getSearchNodeClassName() {
86     return searchNodeClassName;
87   }
88
89   public void setSearchNodeClassName(String searchNodeClassName) {
90     this.searchNodeClassName = searchNodeClassName;
91   }
92
93   public String getAaiEntityNodeDescriptors() {
94     return aaiEntityNodeDescriptors;
95   }
96
97   public void setAaiEntityNodeDescriptors(String aaiEntityNodeDescriptors) {
98     this.aaiEntityNodeDescriptors = aaiEntityNodeDescriptors;
99   }
100
101   public boolean isVisualizationDebugEnabled() {
102     return visualizationDebugEnabled;
103   }
104
105   public void setVisualizationDebugEnabled(boolean visualizationDebugEnabled) {
106     this.visualizationDebugEnabled = visualizationDebugEnabled;
107   }
108
109   public void setMaxSelfLinkTraversalDepth(int maxSelfLinkTraversalDepth) {
110     this.maxSelfLinkTraversalDepth = maxSelfLinkTraversalDepth;
111   }
112
113   public int getMaxSelfLinkTraversalDepth() {
114     return maxSelfLinkTraversalDepth;
115   }
116
117   public int getNumOfThreadsToFetchNodeIntegrity() {
118     return numOfThreadsToFetchNodeIntegrity;
119   }
120
121   public void setNumOfThreadsToFetchNodeIntegrity(int numOfThreadsToFetchNodeIntegrity) {
122     this.numOfThreadsToFetchNodeIntegrity = numOfThreadsToFetchNodeIntegrity;
123   }
124
125   public String getEntityTypesToSummarize() {
126     return entityTypesToSummarize;
127   }
128
129   public void setEntityTypesToSummarize(String entityTypesToSummarize) {
130     this.entityTypesToSummarize = entityTypesToSummarize;
131   }
132
133   public String getVnfEntityTypes() {
134     return vnfEntityTypes;
135   }
136
137   public void setVnfEntityTypes(String vnfEntityTypes) {
138     this.vnfEntityTypes = vnfEntityTypes;
139   }
140
141
142
143   @Override
144   public String toString() {
145     return "VisualizationConfigs [maxSelfLinkTraversalDepth=" + maxSelfLinkTraversalDepth
146         + ", visualizationDebugEnabled=" + visualizationDebugEnabled + ", "
147         + (aaiEntityNodeDescriptors != null
148             ? "aaiEntityNodeDescriptors=" + aaiEntityNodeDescriptors + ", " : "")
149         + (generalNodeClassName != null ? "generalNodeClassName=" + generalNodeClassName + ", "
150             : "")
151         + (searchNodeClassName != null ? "searchNodeClassName=" + searchNodeClassName + ", " : "")
152         + (selectedSearchedNodeClassName != null
153             ? "selectedSearchedNodeClassName=" + selectedSearchedNodeClassName + ", " : "")
154         + "numOfThreadsToFetchNodeIntegrity=" + numOfThreadsToFetchNodeIntegrity + ", "
155         + (entityTypesToSummarize != null
156             ? "entityTypesToSummarize=" + entityTypesToSummarize + ", " : "")
157         + (vnfEntityTypes != null ? "vnfEntityTypes=" + vnfEntityTypes + ", " : "")
158         + "makeAllNeighborsBidirectional=" + makeAllNeighborsBidirectional + "]";
159   }
160
161   /*
162    * (non-Javadoc)
163    * 
164    * @see java.lang.Object#toString()
165    */
166
167
168
169 }