public class SymptomSource extends SymptomDataModelSearchLogic implements com.exalead.util.Checkable, java.io.Serializable
Symptom.Severity
Modifier and Type | Field and Description |
---|---|
java.lang.String |
connector |
dataModel, searchLogic
DEFAULT_SEVERITY, DEFAULT_VALID, details, id, severity, valid, value
Constructor and Description |
---|
SymptomSource() |
SymptomSource(java.lang.String searchLogic,
java.lang.String connector) |
SymptomSource(SymptomSource o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this SymptomSource.
|
static SymptomSource |
fromString(java.lang.String s)
String representation of this SymptomSource.
|
java.lang.String |
getConnector() |
SymptomSource |
makeCopy()
Creates and returns a deep copy of this SymptomSource.
|
static SymptomSource |
readFrom(java.io.InputStream is)
Read this SymptomSource from an XML fragment.
|
void |
setConnector(java.lang.String connector) |
java.lang.String |
toString()
String representation of this SymptomSource.
|
SymptomSource |
withConnector(java.lang.String connector) |
SymptomSource |
withDataModel(java.lang.String dataModel) |
SymptomSource |
withDetails(java.lang.String details) |
SymptomSource |
withId(java.lang.String id) |
SymptomSource |
withSearchLogic(java.lang.String searchLogic) |
SymptomSource |
withSeverity(java.lang.String severity) |
SymptomSource |
withValid(boolean valid) |
SymptomSource |
withValid(java.lang.Boolean valid) |
SymptomSource |
withValue(java.lang.String value) |
void |
writeTo(java.io.OutputStream os)
Write this SymptomSource as an XML fragment
|
getDataModel, getSearchLogic, setDataModel, setSearchLogic
getDetails, getId, getSeverity, getSeverityAsEnum, getValue, isA, isOneOf, isValid, setDetails, setId, setSeverity, setSeverity, setValid, setValue
public SymptomSource()
public SymptomSource(java.lang.String searchLogic, java.lang.String connector)
public SymptomSource(SymptomSource o)
public SymptomSource withDataModel(java.lang.String dataModel)
withDataModel
in class SymptomDataModelSearchLogic
public SymptomSource withSearchLogic(java.lang.String searchLogic)
withSearchLogic
in class SymptomDataModelSearchLogic
public SymptomSource withId(java.lang.String id)
withId
in class SymptomDataModelSearchLogic
public SymptomSource withValid(boolean valid)
withValid
in class SymptomDataModelSearchLogic
public SymptomSource withValid(java.lang.Boolean valid)
withValid
in class SymptomDataModelSearchLogic
public SymptomSource withSeverity(java.lang.String severity)
withSeverity
in class SymptomDataModelSearchLogic
public SymptomSource withValue(java.lang.String value)
withValue
in class SymptomDataModelSearchLogic
public SymptomSource withDetails(java.lang.String details)
withDetails
in class SymptomDataModelSearchLogic
public void setConnector(java.lang.String connector)
public java.lang.String getConnector()
public SymptomSource withConnector(java.lang.String connector)
public SymptomSource makeCopy()
makeCopy
in class SymptomDataModelSearchLogic
public static SymptomSource 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
writeTo
in class SymptomDataModelSearchLogic
javax.xml.bind.JAXBException
java.io.IOException
public static SymptomSource 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()
toString
in class SymptomDataModelSearchLogic
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
check
in class SymptomDataModelSearchLogic
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.