Package org.cyclonedx.model
Class Issue
- java.lang.Object
-
- org.cyclonedx.model.Issue
-
public class Issue extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIssue.Type
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringdescriptionprivate java.lang.Stringidprivate java.lang.Stringnameprivate java.util.List<java.lang.String>referencesprivate Sourcesourceprivate Issue.Typetype
-
Constructor Summary
Constructors Constructor Description Issue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddReference(java.lang.String reference)voidaddReference(java.net.URI reference)booleanequals(java.lang.Object object)java.lang.StringgetDescription()java.lang.StringgetId()java.lang.StringgetName()java.util.List<java.lang.String>getReferences()SourcegetSource()Issue.TypegetType()inthashCode()voidsetDescription(java.lang.String description)voidsetId(java.lang.String id)voidsetName(java.lang.String name)voidsetReferences(java.util.List<java.lang.String> references)voidsetSource(Source source)voidsetType(Issue.Type type)
-
-
-
Field Detail
-
id
private java.lang.String id
-
name
private java.lang.String name
-
description
private java.lang.String description
-
source
private Source source
-
references
private java.util.List<java.lang.String> references
-
type
private Issue.Type type
-
-
Method Detail
-
getId
public java.lang.String getId()
-
setId
public void setId(java.lang.String id)
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
getDescription
public java.lang.String getDescription()
-
setDescription
public void setDescription(java.lang.String description)
-
getSource
public Source getSource()
-
setSource
public void setSource(Source source)
-
getReferences
public java.util.List<java.lang.String> getReferences()
-
addReference
public void addReference(java.lang.String reference)
-
addReference
public void addReference(java.net.URI reference)
-
setReferences
public void setReferences(java.util.List<java.lang.String> references)
-
getType
public Issue.Type getType()
-
setType
public void setType(Issue.Type type)
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-