2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 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=========================================================
21 package org.openecomp.aai.introspection.tools;
23 import org.openecomp.aai.introspection.Introspector;
27 private Severity severity;
28 private IssueType error;
29 private String detail;
30 private Introspector obj;
31 private String propName;
32 private boolean resolved = false;
37 * @param severity the new severity
39 public void setSeverity(Severity severity) {
41 this.severity = severity;
47 * @param error the new error
49 public void setType(IssueType error) {
56 * @param detail the new detail
58 public void setDetail(String detail) {
65 * @return the severity
67 public Object getSeverity() {
72 * Sets the introspector.
74 * @param obj the new introspector
76 public void setIntrospector(Introspector obj) {
81 * Gets the introspector.
83 * @return the introspector
85 public Introspector getIntrospector() {
94 public String getDetail() {
103 public IssueType getType() {
108 * Sets the prop name.
110 * @param prop the new prop name
112 public void setPropName(String prop) {
117 * Gets the prop name.
119 * @return the prop name
121 public String getPropName() {
122 return this.propName;
126 * Checks if is resolved.
128 * @return true, if is resolved
130 public boolean isResolved() {
137 * @param resolved the new resolved
139 public void setResolved(boolean resolved) {
140 this.resolved = resolved;