All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.synopsys.integration.coverity.ws.v9.DefectInstanceDataObj Maven / Gradle / Ivy

/**
 * coverity-common
 *
 * Copyright (C) 2019 Black Duck Software, Inc.
 * http://www.blackducksoftware.com/
 *
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements. See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership. The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied. See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
package com.synopsys.integration.coverity.ws.v9;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;

/**
 * 

Java class for defectInstanceDataObj complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="defectInstanceDataObj">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="events" type="{http://ws.coverity.com/v9}eventDataObj" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="properties" type="{http://ws.coverity.com/v9}propertyDataObj" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="category" type="{http://ws.coverity.com/v9}localizedValueDataObj" minOccurs="0"/>
 *         <element name="checkerName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="component" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="cwe" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
 *         <element name="domain" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="eventSetCaptions" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="extra" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="function" type="{http://ws.coverity.com/v9}functionInfoDataObj" minOccurs="0"/>
 *         <element name="id" type="{http://ws.coverity.com/v9}defectInstanceIdDataObj" minOccurs="0"/>
 *         <element name="impact" type="{http://ws.coverity.com/v9}localizedValueDataObj" minOccurs="0"/>
 *         <element name="issueKinds" type="{http://ws.coverity.com/v9}localizedValueDataObj" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="localEffect" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="longDescription" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="type" type="{http://ws.coverity.com/v9}localizedValueDataObj" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
*/ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "defectInstanceDataObj", propOrder = { "events", "properties", "category", "checkerName", "component", "cwe", "domain", "eventSetCaptions", "extra", "function", "id", "impact", "issueKinds", "localEffect", "longDescription", "type" }) public class DefectInstanceDataObj { @XmlElement(nillable = true) protected List events; @XmlElement(nillable = true) protected List properties; protected LocalizedValueDataObj category; protected String checkerName; protected String component; protected Integer cwe; protected String domain; @XmlElement(nillable = true) protected List eventSetCaptions; protected String extra; protected FunctionInfoDataObj function; protected DefectInstanceIdDataObj id; protected LocalizedValueDataObj impact; @XmlElement(nillable = true) protected List issueKinds; protected String localEffect; protected String longDescription; protected LocalizedValueDataObj type; /** * Gets the value of the events property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the events property. * *

* For example, to add a new item, do as follows: *

     *    getEvents().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link EventDataObj } */ public List getEvents() { if (events == null) { events = new ArrayList(); } return this.events; } /** * Gets the value of the properties property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the properties property. * *

* For example, to add a new item, do as follows: *

     *    getProperties().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link PropertyDataObj } */ public List getProperties() { if (properties == null) { properties = new ArrayList(); } return this.properties; } /** * Gets the value of the category property. * @return possible object is * {@link LocalizedValueDataObj } */ public LocalizedValueDataObj getCategory() { return category; } /** * Sets the value of the category property. * @param value allowed object is * {@link LocalizedValueDataObj } */ public void setCategory(LocalizedValueDataObj value) { this.category = value; } /** * Gets the value of the checkerName property. * @return possible object is * {@link String } */ public String getCheckerName() { return checkerName; } /** * Sets the value of the checkerName property. * @param value allowed object is * {@link String } */ public void setCheckerName(String value) { this.checkerName = value; } /** * Gets the value of the component property. * @return possible object is * {@link String } */ public String getComponent() { return component; } /** * Sets the value of the component property. * @param value allowed object is * {@link String } */ public void setComponent(String value) { this.component = value; } /** * Gets the value of the cwe property. * @return possible object is * {@link Integer } */ public Integer getCwe() { return cwe; } /** * Sets the value of the cwe property. * @param value allowed object is * {@link Integer } */ public void setCwe(Integer value) { this.cwe = value; } /** * Gets the value of the domain property. * @return possible object is * {@link String } */ public String getDomain() { return domain; } /** * Sets the value of the domain property. * @param value allowed object is * {@link String } */ public void setDomain(String value) { this.domain = value; } /** * Gets the value of the eventSetCaptions property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the eventSetCaptions property. * *

* For example, to add a new item, do as follows: *

     *    getEventSetCaptions().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } */ public List getEventSetCaptions() { if (eventSetCaptions == null) { eventSetCaptions = new ArrayList(); } return this.eventSetCaptions; } /** * Gets the value of the extra property. * @return possible object is * {@link String } */ public String getExtra() { return extra; } /** * Sets the value of the extra property. * @param value allowed object is * {@link String } */ public void setExtra(String value) { this.extra = value; } /** * Gets the value of the function property. * @return possible object is * {@link FunctionInfoDataObj } */ public FunctionInfoDataObj getFunction() { return function; } /** * Sets the value of the function property. * @param value allowed object is * {@link FunctionInfoDataObj } */ public void setFunction(FunctionInfoDataObj value) { this.function = value; } /** * Gets the value of the id property. * @return possible object is * {@link DefectInstanceIdDataObj } */ public DefectInstanceIdDataObj getId() { return id; } /** * Sets the value of the id property. * @param value allowed object is * {@link DefectInstanceIdDataObj } */ public void setId(DefectInstanceIdDataObj value) { this.id = value; } /** * Gets the value of the impact property. * @return possible object is * {@link LocalizedValueDataObj } */ public LocalizedValueDataObj getImpact() { return impact; } /** * Sets the value of the impact property. * @param value allowed object is * {@link LocalizedValueDataObj } */ public void setImpact(LocalizedValueDataObj value) { this.impact = value; } /** * Gets the value of the issueKinds property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the issueKinds property. * *

* For example, to add a new item, do as follows: *

     *    getIssueKinds().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link LocalizedValueDataObj } */ public List getIssueKinds() { if (issueKinds == null) { issueKinds = new ArrayList(); } return this.issueKinds; } /** * Gets the value of the localEffect property. * @return possible object is * {@link String } */ public String getLocalEffect() { return localEffect; } /** * Sets the value of the localEffect property. * @param value allowed object is * {@link String } */ public void setLocalEffect(String value) { this.localEffect = value; } /** * Gets the value of the longDescription property. * @return possible object is * {@link String } */ public String getLongDescription() { return longDescription; } /** * Sets the value of the longDescription property. * @param value allowed object is * {@link String } */ public void setLongDescription(String value) { this.longDescription = value; } /** * Gets the value of the type property. * @return possible object is * {@link LocalizedValueDataObj } */ public LocalizedValueDataObj getType() { return type; } /** * Sets the value of the type property. * @param value allowed object is * {@link LocalizedValueDataObj } */ public void setType(LocalizedValueDataObj value) { this.type = value; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy