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.introspection.tools;
24 import org.onap.aai.introspection.Introspector;
28 private Severity severity;
29 private IssueType error;
30 private String detail;
31 private Introspector obj;
32 private String propName;
33 private boolean resolved = false;
38 * @param severity the new severity
40 public void setSeverity(Severity severity) {
42 this.severity = severity;
48 * @param error the new error
50 public void setType(IssueType error) {
57 * @param detail the new detail
59 public void setDetail(String detail) {
66 * @return the severity
68 public Object getSeverity() {
73 * Sets the introspector.
75 * @param obj the new introspector
77 public void setIntrospector(Introspector obj) {
82 * Gets the introspector.
84 * @return the introspector
86 public Introspector getIntrospector() {
95 public String getDetail() {
104 public IssueType getType() {
109 * Sets the prop name.
111 * @param prop the new prop name
113 public void setPropName(String prop) {
118 * Gets the prop name.
120 * @return the prop name
122 public String getPropName() {
123 return this.propName;
127 * Checks if is resolved.
129 * @return true, if is resolved
131 public boolean isResolved() {
138 * @param resolved the new resolved
140 public void setResolved(boolean resolved) {
141 this.resolved = resolved;