public class LogRecord extends DynamicStructure
| Modifier and Type | Class and Description |
|---|---|
static class |
LogRecord.Builder |
static class |
LogRecord.Fields |
Structure.MapKind<T>UaNamespaceTranslateable.Context| Modifier and Type | Field and Description |
|---|---|
static StructureSpecification |
SPECIFICATION |
| Modifier | Constructor and Description |
|---|---|
|
LogRecord() |
|
LogRecord(DateTime f_time,
UnsignedShort f_severity,
NodeId f_eventType,
NodeId f_sourceNode,
String f_sourceName,
LocalizedText f_message,
TraceContextDataType f_traceContext,
NameValuePair[] f_additionalData) |
protected |
LogRecord(UaDataTypeSpecification specification) |
| Modifier and Type | Method and Description |
|---|---|
static LogRecord.Builder |
builder() |
LogRecord |
clone()
Clones the Structure.
|
NameValuePair[] |
getAdditionalData() |
NodeId |
getEventType() |
LocalizedText |
getMessage() |
UnsignedShort |
getSeverity() |
String |
getSourceName() |
NodeId |
getSourceNode() |
DateTime |
getTime() |
TraceContextDataType |
getTraceContext() |
void |
setAdditionalData(NameValuePair[] value) |
void |
setEventType(NodeId value) |
void |
setMessage(LocalizedText value) |
void |
setSeverity(UnsignedShort value) |
void |
setSourceName(String value) |
void |
setSourceNode(NodeId value) |
void |
setTime(DateTime value) |
void |
setTraceContext(TraceContextDataType value) |
LogRecord.Builder |
toBuilder()
Returns a builder with the data of this Structure pre-set.
|
builderclear, equals, forEachField, forEachField, get, get, hashCode, indexGet, indexSet, set, set, specification, toFieldNamesMap, toFieldNamesMap, toFieldsMap, toFieldsMap, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitreduceFields, reduceFields, toMap, withTranslatedNamespacespublic static final StructureSpecification SPECIFICATION
public LogRecord()
protected LogRecord(UaDataTypeSpecification specification)
public LogRecord(DateTime f_time, UnsignedShort f_severity, NodeId f_eventType, NodeId f_sourceNode, String f_sourceName, LocalizedText f_message, TraceContextDataType f_traceContext, NameValuePair[] f_additionalData)
public DateTime getTime()
public void setTime(DateTime value)
public UnsignedShort getSeverity()
public void setSeverity(UnsignedShort value)
public NodeId getEventType()
public void setEventType(NodeId value)
public NodeId getSourceNode()
public void setSourceNode(NodeId value)
public String getSourceName()
public void setSourceName(String value)
public LocalizedText getMessage()
public void setMessage(LocalizedText value)
public TraceContextDataType getTraceContext()
public void setTraceContext(TraceContextDataType value)
public NameValuePair[] getAdditionalData()
public void setAdditionalData(NameValuePair[] value)
public LogRecord clone()
AbstractStructureCloneNotSupportedException
as all Structures must be cloneable.clone in interface Structureclone in class DynamicStructurepublic static LogRecord.Builder builder()
public LogRecord.Builder toBuilder()
Structure#getClass() as this one.toBuilder in interface StructuretoBuilder in class AbstractStructureCopyright © 2026. All rights reserved.