Class BugCollection.BugInstance
- java.lang.Object
-
- de.chkal.maven.gitlab.codequality.spotbugs.BugCollection.BugInstance
-
- Enclosing class:
- BugCollection
public static class BugCollection.BugInstance extends Object
Each BugInstance can have a sequence of annotationsJava 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>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBugCollection.BugInstance.ClassJava class for anonymous complex type.static classBugCollection.BugInstance.FieldJava class for anonymous complex type.static classBugCollection.BugInstance.IntJava class for anonymous complex type.static classBugCollection.BugInstance.LocalVariableJava class for anonymous complex type.static classBugCollection.BugInstance.MethodJava class for anonymous complex type.static classBugCollection.BugInstance.PropertyJava class for anonymous complex type.static classBugCollection.BugInstance.StringJava class for anonymous complex type.static classBugCollection.BugInstance.TypeJava class for anonymous complex type.static classBugCollection.BugInstance.UserAnnotationJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected Stringabbrevprotected LongageInDaysprotected Stringcategoryprotected List<Object>clazzOrTypeOrMethodprotected Stringconsensusprotected Longcweidprotected Longfirstprotected StringfirstSeenprotected StringinstanceHashprotected LonginstanceOccurrenceMaxprotected LonginstanceOccurrenceNumprotected BooleanintroducedByChangeprotected BooleanisInCloudprotected Longlastprotected StringlongMessageprotected BooleannotAProblemprotected shortpriorityprotected Longrankprotected BooleanremovedByChangeprotected Longreviewsprotected StringshortMessageprotected BooleanshouldFixprotected Stringtypeprotected BigIntegeruid
-
Constructor Summary
Constructors Constructor Description BugInstance()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAbbrev()Gets the value of the abbrev property.LonggetAgeInDays()Gets the value of the ageInDays property.StringgetCategory()Gets the value of the category property.List<Object>getClazzOrTypeOrMethod()Gets the value of the clazzOrTypeOrMethod property.StringgetConsensus()Gets the value of the consensus property.LonggetCweid()Gets the value of the cweid property.LonggetFirst()Gets the value of the first property.StringgetFirstSeen()Gets the value of the firstSeen property.StringgetInstanceHash()Gets the value of the instanceHash property.LonggetInstanceOccurrenceMax()Gets the value of the instanceOccurrenceMax property.LonggetInstanceOccurrenceNum()Gets the value of the instanceOccurrenceNum property.LonggetLast()Gets the value of the last property.StringgetLongMessage()Gets the value of the longMessage property.shortgetPriority()Gets the value of the priority property.LonggetRank()Gets the value of the rank property.LonggetReviews()Gets the value of the reviews property.StringgetShortMessage()Gets the value of the shortMessage property.StringgetType()Gets the value of the type property.BigIntegergetUid()Gets the value of the uid property.BooleanisIntroducedByChange()Gets the value of the introducedByChange property.BooleanisIsInCloud()Gets the value of the isInCloud property.BooleanisNotAProblem()Gets the value of the notAProblem property.BooleanisRemovedByChange()Gets the value of the removedByChange property.BooleanisShouldFix()Gets the value of the shouldFix property.voidsetAbbrev(String value)Sets the value of the abbrev property.voidsetAgeInDays(Long value)Sets the value of the ageInDays property.voidsetCategory(String value)Sets the value of the category property.voidsetConsensus(String value)Sets the value of the consensus property.voidsetCweid(Long value)Sets the value of the cweid property.voidsetFirst(Long value)Sets the value of the first property.voidsetFirstSeen(String value)Sets the value of the firstSeen property.voidsetInstanceHash(String value)Sets the value of the instanceHash property.voidsetInstanceOccurrenceMax(Long value)Sets the value of the instanceOccurrenceMax property.voidsetInstanceOccurrenceNum(Long value)Sets the value of the instanceOccurrenceNum property.voidsetIntroducedByChange(Boolean value)Sets the value of the introducedByChange property.voidsetIsInCloud(Boolean value)Sets the value of the isInCloud property.voidsetLast(Long value)Sets the value of the last property.voidsetLongMessage(String value)Sets the value of the longMessage property.voidsetNotAProblem(Boolean value)Sets the value of the notAProblem property.voidsetPriority(short value)Sets the value of the priority property.voidsetRank(Long value)Sets the value of the rank property.voidsetRemovedByChange(Boolean value)Sets the value of the removedByChange property.voidsetReviews(Long value)Sets the value of the reviews property.voidsetShortMessage(String value)Sets the value of the shortMessage property.voidsetShouldFix(Boolean value)Sets the value of the shouldFix property.voidsetType(String value)Sets the value of the type property.voidsetUid(BigInteger value)Sets the value of the uid property.
-
-
-
Field Detail
-
shortMessage
protected String shortMessage
-
longMessage
protected String longMessage
-
type
protected String type
-
priority
protected short priority
-
abbrev
protected String abbrev
-
category
protected String category
-
uid
protected BigInteger uid
-
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
-
-
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 isString
-
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 isString
-
getClazzOrTypeOrMethod
public List<Object> getClazzOrTypeOrMethod()
Gets the value of the clazzOrTypeOrMethod 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 Jakarta XML Binding object. This is why there is not a
setmethod for the clazzOrTypeOrMethod property.For example, to add a new item, do as follows:
getClazzOrTypeOrMethod().add(newItem);Objects of the following type(s) are allowed in the list
BugCollection.BugInstance.ClassBugCollection.BugInstance.TypeBugCollection.BugInstance.MethodSourceLineBugCollection.BugInstance.LocalVariableBugCollection.BugInstance.FieldBugCollection.BugInstance.IntBugCollection.BugInstance.StringBugCollection.BugInstance.PropertyBugCollection.BugInstance.UserAnnotation
-
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 isString
-
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 isString
-
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 isString
-
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 isBigInteger
-
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 isLong
-
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 isString
-
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 isString
-
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 isBoolean
-
setLast
public void setLast(Long value)
Sets the value of the last property.- Parameters:
value- allowed object isLong
-
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 isBoolean
-
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 isLong
-
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 isBoolean
-
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 isBoolean
-
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 isLong
-
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 isBoolean
-
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 isString
-
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 isLong
-
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 isLong
-
setRank
public void setRank(Long value)
Sets the value of the rank property.- Parameters:
value- allowed object isLong
-
getCweid
public Long getCweid()
Gets the value of the cweid property.- Returns:
- possible object is
Long
-
-