2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright © 2017-2018 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 package org.onap.aai.introspection.tools;
22 import org.onap.aai.introspection.Introspector;
26 private Severity severity;
27 private IssueType error;
28 private String detail;
29 private Introspector obj;
30 private String propName;
31 private boolean resolved = false;
36 * @param severity the new severity
38 public void setSeverity(Severity severity) {
40 this.severity = severity;
46 * @param error the new error
48 public void setType(IssueType error) {
55 * @param detail the new detail
57 public void setDetail(String detail) {
64 * @return the severity
66 public Object getSeverity() {
71 * Sets the introspector.
73 * @param obj the new introspector
75 public void setIntrospector(Introspector obj) {
80 * Gets the introspector.
82 * @return the introspector
84 public Introspector getIntrospector() {
93 public String getDetail() {
102 public IssueType getType() {
107 * Sets the prop name.
109 * @param prop the new prop name
111 public void setPropName(String prop) {
116 * Gets the prop name.
118 * @return the prop name
120 public String getPropName() {
121 return this.propName;
125 * Checks if is resolved.
127 * @return true, if is resolved
129 public boolean isResolved() {
136 * @param resolved the new resolved
138 public void setResolved(boolean resolved) {
139 this.resolved = resolved;