org.cid.distribution
Class DistributionMessage

java.lang.Object
  extended by org.cid.distribution.DistributionMessage
All Implemented Interfaces:
java.io.Serializable, java.util.Map

public class DistributionMessage
extends java.lang.Object
implements java.util.Map, java.io.Serializable

Represents each one of the messages managed by the application.

Version:
$Revision:127 $
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Constructor Summary
DistributionMessage()
          Builds a new DistributionMessage
 
Method Summary
 void clear()
           
 DistributionMessage clone()
          In-deep copies a message
 boolean containsKey(java.lang.Object key)
           
 boolean containsValue(java.lang.Object value)
           
 java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.Object>> entrySet()
           
 boolean equals(java.lang.Object o)
           
 java.lang.Object get(java.lang.Object key)
           
 java.util.HashMap<java.lang.String,java.lang.Object> getProperties()
           
 int hashCode()
           
 boolean isEmpty()
           
 java.util.Set<java.lang.String> keySet()
           
 java.lang.Object put(java.lang.Object key, java.lang.Object value)
           
 java.lang.Object put(java.lang.String key, java.lang.Object value)
           
 void putAll(java.util.Map m)
           
 java.lang.Object remove(java.lang.Object key)
           
 int size()
           
 java.lang.String toString()
           
 java.util.Collection<java.lang.Object> values()
           
 void write(java.io.OutputStream os)
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DistributionMessage

public DistributionMessage()
Builds a new DistributionMessage

Method Detail

getProperties

public java.util.HashMap<java.lang.String,java.lang.Object> getProperties()
Returns:
Returns the variables.

clone

public DistributionMessage clone()
In-deep copies a message

Overrides:
clone in class java.lang.Object

write

public void write(java.io.OutputStream os)
           throws DistributionMessagingException
Throws:
DistributionMessagingException

clear

public void clear()
Specified by:
clear in interface java.util.Map

containsKey

public boolean containsKey(java.lang.Object key)
Specified by:
containsKey in interface java.util.Map

containsValue

public boolean containsValue(java.lang.Object value)
Specified by:
containsValue in interface java.util.Map

entrySet

public java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.Object>> entrySet()
Specified by:
entrySet in interface java.util.Map

equals

public boolean equals(java.lang.Object o)
Specified by:
equals in interface java.util.Map
Overrides:
equals in class java.lang.Object

get

public java.lang.Object get(java.lang.Object key)
Specified by:
get in interface java.util.Map

hashCode

public int hashCode()
Specified by:
hashCode in interface java.util.Map
Overrides:
hashCode in class java.lang.Object

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface java.util.Map

keySet

public java.util.Set<java.lang.String> keySet()
Specified by:
keySet in interface java.util.Map

put

public java.lang.Object put(java.lang.String key,
                            java.lang.Object value)

put

public java.lang.Object put(java.lang.Object key,
                            java.lang.Object value)
Specified by:
put in interface java.util.Map

putAll

public void putAll(java.util.Map m)
Specified by:
putAll in interface java.util.Map

remove

public java.lang.Object remove(java.lang.Object key)
Specified by:
remove in interface java.util.Map

size

public int size()
Specified by:
size in interface java.util.Map

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

values

public java.util.Collection<java.lang.Object> values()
Specified by:
values in interface java.util.Map


Copyright © 2006 null. All Rights Reserved.