|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractMap<K,V>
java.util.HashMap<java.lang.String,java.lang.Object>
org.objectweb.petals.tools.webadmin.bo.Message
public class Message
represents a message : HashMap containings time, component, role, type, status
Constructor Summary | |
---|---|
Message(java.util.Map<java.lang.String,java.lang.Object> hashMessage)
Creates a new Message with a HashMap containing base informations |
Method Summary | |
---|---|
java.lang.String |
getComponent()
Returns the component name of the message |
java.lang.String |
getContainer()
Returns the container name of the message |
java.lang.String |
getContent()
Returns the content of the message |
java.lang.String |
getEndpointName()
Returns the name of the endpoint of the message |
java.lang.String |
getId()
Returns the id of the message |
java.lang.String |
getRole()
Returns the role of the message |
java.lang.String |
getServiceName()
Returns the name of the endpoint of the message |
java.lang.String |
getStatus()
Returns the status of the message |
long |
getTime()
Returns the timestamp of the message |
java.lang.String |
getType()
Returns the type of the message |
void |
setComponent(java.lang.String component)
Sets the component's name |
void |
setContainer(java.lang.String container)
Sets the container's name |
void |
setContent(java.lang.String content)
Sets the message's content |
void |
setEndpointName(java.lang.String endpointName)
Sets the new name of the endpoint of the message |
void |
setId(java.lang.String id)
Sets the message's id |
void |
setRole(java.lang.String role)
Sets the message's role |
void |
setServiceName(java.lang.String serviceName)
Sets the new name of the service of the message |
void |
setStatus(java.lang.String status)
Sets the message's status |
void |
setTime(long time)
Sets the message's time |
void |
setType(java.lang.String type)
Sets the message's type |
Methods inherited from class java.util.HashMap |
---|
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from class java.util.AbstractMap |
---|
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
---|
equals, hashCode |
Constructor Detail |
---|
public Message(java.util.Map<java.lang.String,java.lang.Object> hashMessage)
hashMessage
- Map representation of the messageMethod Detail |
---|
public java.lang.String getComponent()
public java.lang.String getContainer()
public java.lang.String getContent()
public java.lang.String getEndpointName()
public java.lang.String getId()
public java.lang.String getRole()
public java.lang.String getServiceName()
public java.lang.String getStatus()
public long getTime()
public java.lang.String getType()
public void setComponent(java.lang.String component)
component
- the string that is to be the component's namepublic void setContainer(java.lang.String container)
container
- the string that is to be the container's namepublic void setContent(java.lang.String content)
content
- the content, as a Stringpublic void setEndpointName(java.lang.String endpointName)
serviceName
- a String representation of the new endpointpublic void setId(java.lang.String id)
id
- the message idpublic void setRole(java.lang.String role)
role
- the string that is to be the message's rolepublic void setServiceName(java.lang.String serviceName)
serviceName
- a String representation of the new namepublic void setStatus(java.lang.String status)
status
- the string that is to be the message's statuspublic void setTime(long time)
time
- a timestamppublic void setType(java.lang.String type)
type
- the string that is to be the message's type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |