|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.fosstrak.llrp.client.LLRPMessageItem
public class LLRPMessageItem
This wrapper class for LLRP Message. Some extended attributes added for Repository use.
Field Summary | |
---|---|
static int |
MARK_INCOMING
Static DB field value for Imcoming Message. |
static int |
MARK_OUTGOING
Static DB field value for Outgoing Message |
Constructor Summary | |
---|---|
LLRPMessageItem()
Default Constructor |
Method Summary | |
---|---|
java.lang.String |
getAdapter()
Get Adapter Logic Name |
java.lang.String |
getComment()
Get the Message comments |
java.lang.String |
getContent()
Get the Message Content as String |
java.lang.String |
getId()
Get the Message Id |
int |
getMark()
Get the mark of the Message Static value MARK_INCOMING for incoming messages Static value MARK_OUTGOING for outgoing messages |
java.lang.String |
getMessageType()
Get the Message Type. |
java.lang.String |
getReader()
Get the Reader Logical Name, without Adapter Logical Name. |
java.lang.String |
getStatusCode()
Get the Status Code. |
java.sql.Timestamp |
getTime()
Get the Message issue time |
java.lang.String |
getUniqueName()
Get the unique reader name (Adapter Name + Reader Name). |
java.lang.String |
prettyPrint()
creates a pretty print of the llrp message item. |
void |
setAdapter(java.lang.String aAdapterId)
Set Adapter Logic Name |
void |
setComment(java.lang.String comment)
Set the Message comments |
void |
setContent(java.lang.String content)
Set the Message Content |
void |
setId(java.lang.String aId)
Set the Message Id |
void |
setMark(int aMark)
Set the mark of the Message Static value MARK_INCOMING for incoming messages Static value MARK_OUTGOING for outgoing messages |
void |
setMessageType(java.lang.String messageType)
Set the Message Type. |
void |
setReader(java.lang.String aReader)
Set the Reader Logical Name, without Adapter Logical Name. |
void |
setStatusCode(java.lang.String statusCode)
Set the Status Code. |
void |
setTime(java.sql.Timestamp ts)
Set the Message issue time |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int MARK_INCOMING
public static final int MARK_OUTGOING
Constructor Detail |
---|
public LLRPMessageItem()
Method Detail |
---|
public java.lang.String getUniqueName()
public java.lang.String getId()
public void setId(java.lang.String aId)
aId
- Message Idpublic java.lang.String getContent()
public void setContent(java.lang.String content)
content
- Message Contentpublic java.lang.String getReader()
public void setReader(java.lang.String aReader)
aReader
- Reader Logical Namepublic java.lang.String getMessageType()
public void setMessageType(java.lang.String messageType)
messageType
- Message Typepublic java.lang.String getStatusCode()
public void setStatusCode(java.lang.String statusCode)
statusCode
- Status Codepublic java.lang.String getComment()
public void setComment(java.lang.String comment)
comment
- Message commentspublic java.sql.Timestamp getTime()
public void setTime(java.sql.Timestamp ts)
ts
- Issue Timepublic int getMark()
public void setMark(int aMark)
aMark
- Message Markpublic java.lang.String getAdapter()
public void setAdapter(java.lang.String aAdapterId)
aAdapterId
- Adapter Logic Namepublic java.lang.String prettyPrint()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |