2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright © 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
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=========================================================
20 * ECOMP is a trademark and service mark of AT&T Intellectual Property.
22 package org.onap.aai.dbgraphgen;
24 import java.util.ArrayList;
25 import java.util.HashMap;
26 import java.util.List;
29 import org.apache.tinkerpop.gremlin.structure.Vertex;
30 import org.onap.aai.dbgen.PropertyLimitDesc;
32 public class ResultSet {
34 private String newDataDelFlag;
35 private String doNotOutputFlag;
36 private String locationInModelSubGraph;
37 private List<ResultSet> subResultSet;
38 private PropertyLimitDesc propertyLimitDesc;
39 private Map<String,Object> propertyOverRideHash;
40 private Map<String,Object> extraPropertyHash;
43 * Instantiates a new result set.
47 this.newDataDelFlag = "";
48 this.doNotOutputFlag = "";
49 this.locationInModelSubGraph = "";
50 this.subResultSet = new ArrayList<>();
51 this.propertyLimitDesc = null;
52 this.propertyOverRideHash = new HashMap<>();
53 this.extraPropertyHash = new HashMap<>();
57 public void setPropertyLimitDesc(PropertyLimitDesc pld) {
58 this.propertyLimitDesc = pld;
66 public Vertex getVert(){
71 * Gets the sub result set.
73 * @return the sub result set
75 public List<ResultSet> getSubResultSet(){
76 return this.subResultSet;
80 * Gets the new data del flag.
82 * @return the new data del flag
84 public String getNewDataDelFlag(){
85 return this.newDataDelFlag;
89 * Gets the do not output flag.
91 * @return the do not output flag
93 public String getDoNotOutputFlag(){
94 return this.doNotOutputFlag;
98 * Gets the location in model sub graph.
100 * @return the location in model sub graph
102 public String getLocationInModelSubGraph(){
103 return this.locationInModelSubGraph;
107 * Gets the property limit desc.
109 * @return the property limit desc
111 public PropertyLimitDesc getPropertyLimitDesc(){
112 return this.propertyLimitDesc;
116 * Gets the property over ride hash.
118 * @return the property over ride hash
120 public Map<String,Object> getPropertyOverRideHash(){
121 return this.propertyOverRideHash;
125 * Gets the extra property hash.
127 * @return the extra property hash
129 public Map<String,Object> getExtraPropertyHash(){
130 return this.extraPropertyHash;
134 public void setVert(Vertex vert) {
139 public void setNewDataDelFlag(String newDataDelFlag) {
140 this.newDataDelFlag = newDataDelFlag;
144 public void setDoNotOutputFlag(String doNotOutputFlag) {
145 this.doNotOutputFlag = doNotOutputFlag;
149 public void setLocationInModelSubGraph(String locationInModelSubGraph) {
150 this.locationInModelSubGraph = locationInModelSubGraph;
154 public void setSubResultSet(List<ResultSet> subResultSet) {
155 this.subResultSet = subResultSet;
159 public void setPropertyOverRideHash(Map<String, Object> propertyOverRideHash) {
160 this.propertyOverRideHash = propertyOverRideHash;
164 public void setExtraPropertyHash(Map<String, Object> extraPropertyHash) {
165 this.extraPropertyHash = extraPropertyHash;