Package org.opennms.netmgt.tl1d
Class Tl1AutonomousMessage
- java.lang.Object
-
- org.opennms.netmgt.tl1d.Tl1Message
-
- org.opennms.netmgt.tl1d.Tl1AutonomousMessage
-
public class Tl1AutonomousMessage extends Tl1Message
This class is used to represent a TL1 Autonomous Message as defined below and scraped from WikiPedia.TL1 autonomous message Auto Header Auto Id Auto block Terminators SID Date Time Alarm code ATAG Verb MyNE 04-08-14 09:12:04 A 101 REPT EVT SESSION - Version:
- $Id: $
- Author:
- David Hustace
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
Tl1AutonomousMessage.AutoBlock
protected static class
Tl1AutonomousMessage.AutoHeader
protected static class
Tl1AutonomousMessage.AutoId
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
UEI
ConstantUEI="uei.opennms.org/api/tl1d/message/autono"{trunked}
-
Fields inherited from class org.opennms.netmgt.tl1d.Tl1Message
ACKNOWLEDGEMENT, AUTONOMOUS, INPUT, OUTPUT
-
-
Constructor Summary
Constructors Constructor Description Tl1AutonomousMessage(java.lang.String rawMessage)
Constructor for Tl1AutonomousMessage.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tl1AutonomousMessage.AutoBlock
getAutoBlock()
getAutoBlockTl1AutonomousMessage.AutoHeader
getHeader()
getHeaderTl1AutonomousMessage.AutoId
getId()
getIdjava.lang.String
getTerminator()
getTerminatorvoid
setAutoBlock(Tl1AutonomousMessage.AutoBlock block)
setAutoBlockvoid
setHeader(Tl1AutonomousMessage.AutoHeader header)
setHeadervoid
setId(Tl1AutonomousMessage.AutoId id)
setIdvoid
setTerminator(java.lang.String terminator)
setTerminator-
Methods inherited from class org.opennms.netmgt.tl1d.Tl1Message
getHost, getRawMessage, getTimestamp, setHost, setRawMessage, setTimestamp, toString
-
-
-
-
Field Detail
-
UEI
public static final java.lang.String UEI
ConstantUEI="uei.opennms.org/api/tl1d/message/autono"{trunked}
- See Also:
- Constant Field Values
-
-
Method Detail
-
getHeader
public Tl1AutonomousMessage.AutoHeader getHeader()
getHeader
- Returns:
- a
Tl1AutonomousMessage.AutoHeader
object.
-
setHeader
public void setHeader(Tl1AutonomousMessage.AutoHeader header)
setHeader
- Parameters:
header
- aTl1AutonomousMessage.AutoHeader
object.
-
getId
public Tl1AutonomousMessage.AutoId getId()
getId
- Returns:
- a
Tl1AutonomousMessage.AutoId
object.
-
setId
public void setId(Tl1AutonomousMessage.AutoId id)
setId
- Parameters:
id
- aTl1AutonomousMessage.AutoId
object.
-
getAutoBlock
public Tl1AutonomousMessage.AutoBlock getAutoBlock()
getAutoBlock
- Returns:
- a
Tl1AutonomousMessage.AutoBlock
object.
-
setAutoBlock
public void setAutoBlock(Tl1AutonomousMessage.AutoBlock block)
setAutoBlock
- Parameters:
block
- aTl1AutonomousMessage.AutoBlock
object.
-
getTerminator
public java.lang.String getTerminator()
getTerminator
- Returns:
- a
String
object.
-
setTerminator
public void setTerminator(java.lang.String terminator)
setTerminator
- Parameters:
terminator
- aString
object.
-
-