Class BugCollection.BugInstance

  • Enclosing class:
    BugCollection

    public static class BugCollection.BugInstance
    extends Object
    Each BugInstance can have a sequence of annotations

    Java class for anonymous complex type.

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

     <complexType>
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="ShortMessage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="LongMessage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <choice maxOccurs="unbounded">
               <element name="Class">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <sequence>
                         <element ref="{}SourceLine"/>
                         <element ref="{}Message" minOccurs="0"/>
                       </sequence>
                       <attribute name="classname" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                       <attribute name="role" type="{http://www.w3.org/2001/XMLSchema}string" />
                       <attribute name="primary" type="{http://www.w3.org/2001/XMLSchema}boolean" />
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
               <element name="Type">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <sequence>
                         <element ref="{}SourceLine" minOccurs="0"/>
                         <element ref="{}Message" minOccurs="0"/>
                       </sequence>
                       <attribute name="descriptor" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                       <attribute name="role" type="{http://www.w3.org/2001/XMLSchema}string" />
                       <attribute name="typeParameters" type="{http://www.w3.org/2001/XMLSchema}string" />
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
               <element name="Method">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <sequence minOccurs="0">
                         <element ref="{}SourceLine"/>
                         <element ref="{}Message" minOccurs="0"/>
                       </sequence>
                       <attribute name="classname" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                       <attribute name="signature" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                       <attribute name="isStatic" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
                       <attribute name="role" type="{http://www.w3.org/2001/XMLSchema}string" />
                       <attribute name="primary" type="{http://www.w3.org/2001/XMLSchema}boolean" />
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
               <element ref="{}SourceLine"/>
               <element name="LocalVariable">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <sequence>
                         <element ref="{}Message" minOccurs="0"/>
                       </sequence>
                       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                       <attribute name="register" use="required" type="{http://www.w3.org/2001/XMLSchema}short" />
                       <attribute name="pc" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
                       <attribute name="role" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
               <element name="Field">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <sequence>
                         <element ref="{}SourceLine"/>
                         <element ref="{}Message" minOccurs="0"/>
                       </sequence>
                       <attribute name="classname" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                       <attribute name="signature" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                       <attribute name="sourceSignature" type="{http://www.w3.org/2001/XMLSchema}string" />
                       <attribute name="isStatic" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
                       <attribute name="role" type="{http://www.w3.org/2001/XMLSchema}string" />
                       <attribute name="primary" type="{http://www.w3.org/2001/XMLSchema}boolean" />
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
               <element name="Int">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <sequence>
                         <element ref="{}Message" minOccurs="0"/>
                       </sequence>
                       <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}long" />
                       <attribute name="role" type="{http://www.w3.org/2001/XMLSchema}string" />
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
               <element name="String">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <sequence>
                         <element ref="{}Message" minOccurs="0"/>
                       </sequence>
                       <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                       <attribute name="role" type="{http://www.w3.org/2001/XMLSchema}string" />
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
               <element name="Property">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                       <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
               <element name="UserAnnotation" minOccurs="0">
                 <complexType>
                   <simpleContent>
                     <extension base="<http://www.w3.org/2001/XMLSchema>string">
                       <attribute name="designation" type="{}designationType" />
                       <attribute name="user" type="{http://www.w3.org/2001/XMLSchema}string" />
                       <attribute name="needsSync" type="{http://www.w3.org/2001/XMLSchema}boolean" />
                       <attribute name="timestamp" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" />
                     </extension>
                   </simpleContent>
                 </complexType>
               </element>
             </choice>
           </sequence>
           <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="priority" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedByte" />
           <attribute name="abbrev" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="category" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="uid" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" />
           <attribute name="reviews" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
           <attribute name="firstSeen" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="consensus" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="isInCloud" type="{http://www.w3.org/2001/XMLSchema}boolean" />
           <attribute name="last" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
           <attribute name="removedByChange" type="{http://www.w3.org/2001/XMLSchema}boolean" />
           <attribute name="first" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
           <attribute name="introducedByChange" type="{http://www.w3.org/2001/XMLSchema}boolean" />
           <attribute name="shouldFix" type="{http://www.w3.org/2001/XMLSchema}boolean" />
           <attribute name="ageInDays" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
           <attribute name="notAProblem" type="{http://www.w3.org/2001/XMLSchema}boolean" />
           <attribute name="instanceHash" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="instanceOccurrenceNum" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
           <attribute name="instanceOccurrenceMax" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
           <attribute name="rank" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
           <attribute name="cweid" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • shortMessage

        protected String shortMessage
      • longMessage

        protected String longMessage
      • clazzOrTypeOrMethod

        protected List<Object> clazzOrTypeOrMethod
      • priority

        protected short priority
      • abbrev

        protected String abbrev
      • category

        protected String category
      • reviews

        protected Long reviews
      • firstSeen

        protected String firstSeen
      • consensus

        protected String consensus
      • isInCloud

        protected Boolean isInCloud
      • last

        protected Long last
      • removedByChange

        protected Boolean removedByChange
      • first

        protected Long first
      • introducedByChange

        protected Boolean introducedByChange
      • shouldFix

        protected Boolean shouldFix
      • ageInDays

        protected Long ageInDays
      • notAProblem

        protected Boolean notAProblem
      • instanceHash

        protected String instanceHash
      • instanceOccurrenceNum

        protected Long instanceOccurrenceNum
      • instanceOccurrenceMax

        protected Long instanceOccurrenceMax
      • rank

        protected Long rank
      • cweid

        protected Long cweid
    • Constructor Detail

      • BugInstance

        public BugInstance()
    • Method Detail

      • getShortMessage

        public String getShortMessage()
        Gets the value of the shortMessage property.
        Returns:
        possible object is String
      • setShortMessage

        public void setShortMessage​(String value)
        Sets the value of the shortMessage property.
        Parameters:
        value - allowed object is String
      • getLongMessage

        public String getLongMessage()
        Gets the value of the longMessage property.
        Returns:
        possible object is String
      • setLongMessage

        public void setLongMessage​(String value)
        Sets the value of the longMessage property.
        Parameters:
        value - allowed object is String
      • getType

        public String getType()
        Gets the value of the type property.
        Returns:
        possible object is String
      • setType

        public void setType​(String value)
        Sets the value of the type property.
        Parameters:
        value - allowed object is String
      • getPriority

        public short getPriority()
        Gets the value of the priority property.
      • setPriority

        public void setPriority​(short value)
        Sets the value of the priority property.
      • getAbbrev

        public String getAbbrev()
        Gets the value of the abbrev property.
        Returns:
        possible object is String
      • setAbbrev

        public void setAbbrev​(String value)
        Sets the value of the abbrev property.
        Parameters:
        value - allowed object is String
      • getCategory

        public String getCategory()
        Gets the value of the category property.
        Returns:
        possible object is String
      • setCategory

        public void setCategory​(String value)
        Sets the value of the category property.
        Parameters:
        value - allowed object is String
      • getUid

        public BigInteger getUid()
        Gets the value of the uid property.
        Returns:
        possible object is BigInteger
      • setUid

        public void setUid​(BigInteger value)
        Sets the value of the uid property.
        Parameters:
        value - allowed object is BigInteger
      • getReviews

        public Long getReviews()
        Gets the value of the reviews property.
        Returns:
        possible object is Long
      • setReviews

        public void setReviews​(Long value)
        Sets the value of the reviews property.
        Parameters:
        value - allowed object is Long
      • getFirstSeen

        public String getFirstSeen()
        Gets the value of the firstSeen property.
        Returns:
        possible object is String
      • setFirstSeen

        public void setFirstSeen​(String value)
        Sets the value of the firstSeen property.
        Parameters:
        value - allowed object is String
      • getConsensus

        public String getConsensus()
        Gets the value of the consensus property.
        Returns:
        possible object is String
      • setConsensus

        public void setConsensus​(String value)
        Sets the value of the consensus property.
        Parameters:
        value - allowed object is String
      • isIsInCloud

        public Boolean isIsInCloud()
        Gets the value of the isInCloud property.
        Returns:
        possible object is Boolean
      • setIsInCloud

        public void setIsInCloud​(Boolean value)
        Sets the value of the isInCloud property.
        Parameters:
        value - allowed object is Boolean
      • getLast

        public Long getLast()
        Gets the value of the last property.
        Returns:
        possible object is Long
      • setLast

        public void setLast​(Long value)
        Sets the value of the last property.
        Parameters:
        value - allowed object is Long
      • isRemovedByChange

        public Boolean isRemovedByChange()
        Gets the value of the removedByChange property.
        Returns:
        possible object is Boolean
      • setRemovedByChange

        public void setRemovedByChange​(Boolean value)
        Sets the value of the removedByChange property.
        Parameters:
        value - allowed object is Boolean
      • getFirst

        public Long getFirst()
        Gets the value of the first property.
        Returns:
        possible object is Long
      • setFirst

        public void setFirst​(Long value)
        Sets the value of the first property.
        Parameters:
        value - allowed object is Long
      • isIntroducedByChange

        public Boolean isIntroducedByChange()
        Gets the value of the introducedByChange property.
        Returns:
        possible object is Boolean
      • setIntroducedByChange

        public void setIntroducedByChange​(Boolean value)
        Sets the value of the introducedByChange property.
        Parameters:
        value - allowed object is Boolean
      • isShouldFix

        public Boolean isShouldFix()
        Gets the value of the shouldFix property.
        Returns:
        possible object is Boolean
      • setShouldFix

        public void setShouldFix​(Boolean value)
        Sets the value of the shouldFix property.
        Parameters:
        value - allowed object is Boolean
      • getAgeInDays

        public Long getAgeInDays()
        Gets the value of the ageInDays property.
        Returns:
        possible object is Long
      • setAgeInDays

        public void setAgeInDays​(Long value)
        Sets the value of the ageInDays property.
        Parameters:
        value - allowed object is Long
      • isNotAProblem

        public Boolean isNotAProblem()
        Gets the value of the notAProblem property.
        Returns:
        possible object is Boolean
      • setNotAProblem

        public void setNotAProblem​(Boolean value)
        Sets the value of the notAProblem property.
        Parameters:
        value - allowed object is Boolean
      • getInstanceHash

        public String getInstanceHash()
        Gets the value of the instanceHash property.
        Returns:
        possible object is String
      • setInstanceHash

        public void setInstanceHash​(String value)
        Sets the value of the instanceHash property.
        Parameters:
        value - allowed object is String
      • getInstanceOccurrenceNum

        public Long getInstanceOccurrenceNum()
        Gets the value of the instanceOccurrenceNum property.
        Returns:
        possible object is Long
      • setInstanceOccurrenceNum

        public void setInstanceOccurrenceNum​(Long value)
        Sets the value of the instanceOccurrenceNum property.
        Parameters:
        value - allowed object is Long
      • getInstanceOccurrenceMax

        public Long getInstanceOccurrenceMax()
        Gets the value of the instanceOccurrenceMax property.
        Returns:
        possible object is Long
      • setInstanceOccurrenceMax

        public void setInstanceOccurrenceMax​(Long value)
        Sets the value of the instanceOccurrenceMax property.
        Parameters:
        value - allowed object is Long
      • getRank

        public Long getRank()
        Gets the value of the rank property.
        Returns:
        possible object is Long
      • setRank

        public void setRank​(Long value)
        Sets the value of the rank property.
        Parameters:
        value - allowed object is Long
      • getCweid

        public Long getCweid()
        Gets the value of the cweid property.
        Returns:
        possible object is Long
      • setCweid

        public void setCweid​(Long value)
        Sets the value of the cweid property.
        Parameters:
        value - allowed object is Long