public class SymptomBase extends Symptom implements com.exalead.util.Checkable, java.io.Serializable
Symptom.Severity
DEFAULT_SEVERITY, DEFAULT_VALID, details, id, severity, valid, value
Constructor and Description |
---|
SymptomBase() |
SymptomBase(SymptomBase o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this SymptomBase.
|
static SymptomBase |
fromString(java.lang.String s)
String representation of this SymptomBase.
|
SymptomBase |
makeCopy()
Creates and returns a deep copy of this SymptomBase.
|
static SymptomBase |
readFrom(java.io.InputStream is)
Read this SymptomBase from an XML fragment.
|
java.lang.String |
toString()
String representation of this SymptomBase.
|
SymptomBase |
withDetails(java.lang.String details) |
SymptomBase |
withId(java.lang.String id) |
SymptomBase |
withSeverity(java.lang.String severity) |
SymptomBase |
withValid(boolean valid) |
SymptomBase |
withValid(java.lang.Boolean valid) |
SymptomBase |
withValue(java.lang.String value) |
void |
writeTo(java.io.OutputStream os)
Write this SymptomBase as an XML fragment
|
getDetails, getId, getSeverity, getSeverityAsEnum, getValue, isA, isOneOf, isValid, setDetails, setId, setSeverity, setSeverity, setValid, setValue
public SymptomBase()
public SymptomBase(SymptomBase o)
public SymptomBase withId(java.lang.String id)
public SymptomBase withValid(boolean valid)
public SymptomBase withValid(java.lang.Boolean valid)
public SymptomBase withSeverity(java.lang.String severity)
withSeverity
in class Symptom
public SymptomBase withValue(java.lang.String value)
public SymptomBase withDetails(java.lang.String details)
withDetails
in class Symptom
public SymptomBase makeCopy()
public static SymptomBase 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 SymptomBase 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.