Adding interfaces in documentation
[aai/sparky-be.git] / sparkybe-onap-service / src / main / java / org / onap / aai / sparky / viewandinspect / entity / GizmoEntity.java
1 /**
2  * ============LICENSE_START===================================================
3  * SPARKY (AAI UI service)
4  * ============================================================================
5  * Copyright © 2017 AT&T Intellectual Property.
6  * Copyright © 2017 Amdocs
7  * All rights reserved.
8  * ============================================================================
9  * Licensed under the Apache License, Version 2.0 (the "License");
10  * you may not use this file except in compliance with the License.
11  * You may obtain a copy of the License at
12  *
13  *      http://www.apache.org/licenses/LICENSE-2.0
14  *
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  * ============LICENSE_END=====================================================
21  *
22  * ECOMP and OpenECOMP are trademarks
23  * and service marks of AT&T Intellectual Property.
24  */
25 package org.onap.aai.sparky.viewandinspect.entity;
26
27 import java.util.Arrays;
28 import java.util.Map;
29
30 public class GizmoEntity {
31
32   private String id;
33   private String type;
34   private String url;
35   private Map<String, String> properties;
36   private GizmoRelationshipHint[] in;
37   private GizmoRelationshipHint[] out;
38
39   public String getId() {
40     return id;
41   }
42
43   public void setId(String id) {
44     this.id = id;
45   }
46
47   public String getType() {
48     return type;
49   }
50
51   public void setType(String type) {
52     this.type = type;
53   }
54
55   public String getUrl() {
56     return url;
57   }
58
59   public void setUrl(String url) {
60     this.url = url;
61   }
62
63   public Map<String, String> getProperties() {
64     return properties;
65   }
66
67   public void setProperties(Map<String, String> properties) {
68     this.properties = properties;
69   }
70
71   public GizmoRelationshipHint[] getIn() {
72     return in;
73   }
74
75   public void setIn(GizmoRelationshipHint[] in) {
76     this.in = in;
77   }
78
79   public GizmoRelationshipHint[] getOut() {
80     return out;
81   }
82
83   public void setOut(GizmoRelationshipHint[] out) {
84     this.out = out;
85   }
86
87   @Override
88   public String toString() {
89     return "GizmoEntity [" + (id != null ? "id=" + id + ", " : "")
90         + (type != null ? "type=" + type + ", " : "") + (url != null ? "url=" + url + ", " : "")
91         + (properties != null ? "properties=" + properties + ", " : "")
92         + (in != null ? "in=" + Arrays.toString(in) + ", " : "")
93         + (out != null ? "out=" + Arrays.toString(out) : "") + "]";
94   }
95
96
97
98 }