public class SymptomSecuritySource extends Symptom implements com.exalead.util.Checkable, java.io.Serializable
Symptom.Severity
Modifier and Type | Field and Description |
---|---|
java.lang.String |
securitySource |
DEFAULT_SEVERITY, DEFAULT_VALID, details, id, severity, valid, value
Constructor and Description |
---|
SymptomSecuritySource() |
SymptomSecuritySource(SymptomSecuritySource o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this SymptomSecuritySource.
|
static SymptomSecuritySource |
fromString(java.lang.String s)
String representation of this SymptomSecuritySource.
|
java.lang.String |
getSecuritySource()
Security source affected by the issue
|
SymptomSecuritySource |
makeCopy()
Creates and returns a deep copy of this SymptomSecuritySource.
|
static SymptomSecuritySource |
readFrom(java.io.InputStream is)
Read this SymptomSecuritySource from an XML fragment.
|
void |
setSecuritySource(java.lang.String securitySource)
Security source affected by the issue
|
java.lang.String |
toString()
String representation of this SymptomSecuritySource.
|
SymptomSecuritySource |
withDetails(java.lang.String details) |
SymptomSecuritySource |
withId(java.lang.String id) |
SymptomSecuritySource |
withSecuritySource(java.lang.String securitySource) |
SymptomSecuritySource |
withSeverity(java.lang.String severity) |
SymptomSecuritySource |
withValid(boolean valid) |
SymptomSecuritySource |
withValid(java.lang.Boolean valid) |
SymptomSecuritySource |
withValue(java.lang.String value) |
void |
writeTo(java.io.OutputStream os)
Write this SymptomSecuritySource as an XML fragment
|
getDetails, getId, getSeverity, getSeverityAsEnum, getValue, isA, isOneOf, isValid, setDetails, setId, setSeverity, setSeverity, setValid, setValue
public SymptomSecuritySource()
public SymptomSecuritySource(SymptomSecuritySource o)
public SymptomSecuritySource withId(java.lang.String id)
public SymptomSecuritySource withValid(boolean valid)
public SymptomSecuritySource withValid(java.lang.Boolean valid)
public SymptomSecuritySource withSeverity(java.lang.String severity)
withSeverity
in class Symptom
public SymptomSecuritySource withValue(java.lang.String value)
public SymptomSecuritySource withDetails(java.lang.String details)
withDetails
in class Symptom
public void setSecuritySource(java.lang.String securitySource)
public java.lang.String getSecuritySource()
public SymptomSecuritySource withSecuritySource(java.lang.String securitySource)
public SymptomSecuritySource makeCopy()
public static SymptomSecuritySource readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
public static SymptomSecuritySource fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
Copyright © 2021 Dassault Systèmes, All Rights Reserved.