public class AddGlobalLogEntry
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
int |
code |
java.lang.String |
component |
java.lang.String |
level |
java.lang.String |
message |
Constructor and Description |
---|
AddGlobalLogEntry() |
AddGlobalLogEntry(AddGlobalLogEntry o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this AddGlobalLogEntry.
|
static AddGlobalLogEntry |
fromString(java.lang.String s)
String representation of this AddGlobalLogEntry.
|
int |
getCode()
Event code (might be an error code or a standard message code).
|
java.lang.String |
getComponent()
Component name.
|
java.lang.String |
getLevel()
Level.
|
java.lang.String |
getMessage()
Message.
|
AddGlobalLogEntry |
makeCopy()
Creates and returns a deep copy of this AddGlobalLogEntry.
|
static AddGlobalLogEntry |
readFrom(java.io.InputStream is)
Read this AddGlobalLogEntry from an XML fragment.
|
void |
setCode(int code)
Event code (might be an error code or a standard message code).
|
void |
setComponent(java.lang.String component)
Component name.
|
void |
setLevel(java.lang.String level)
Level.
|
void |
setMessage(java.lang.String message)
Message.
|
java.lang.String |
toString()
String representation of this AddGlobalLogEntry.
|
AddGlobalLogEntry |
withCode(int code) |
AddGlobalLogEntry |
withCode(java.lang.Integer code) |
AddGlobalLogEntry |
withComponent(java.lang.String component) |
AddGlobalLogEntry |
withLevel(java.lang.String level) |
AddGlobalLogEntry |
withMessage(java.lang.String message) |
void |
writeTo(java.io.OutputStream os)
Write this AddGlobalLogEntry as an XML fragment
|
public int code
public java.lang.String component
public java.lang.String message
public java.lang.String level
public AddGlobalLogEntry()
public AddGlobalLogEntry(AddGlobalLogEntry o)
public void setCode(int code)
public int getCode()
public AddGlobalLogEntry withCode(int code)
public AddGlobalLogEntry withCode(java.lang.Integer code)
public void setComponent(java.lang.String component)
public java.lang.String getComponent()
public AddGlobalLogEntry withComponent(java.lang.String component)
public void setMessage(java.lang.String message)
public java.lang.String getMessage()
public AddGlobalLogEntry withMessage(java.lang.String message)
public void setLevel(java.lang.String level)
public java.lang.String getLevel()
public AddGlobalLogEntry withLevel(java.lang.String level)
public AddGlobalLogEntry makeCopy()
public static AddGlobalLogEntry 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
javax.xml.bind.JAXBException
java.io.IOException
public static AddGlobalLogEntry 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 java.lang.Object
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.