org.keel.comm
Class AbstractMessageResponseElement
java.lang.Object
org.keel.comm.AbstractMessageResponseElement
- All Implemented Interfaces:
- ResponseElement, java.io.Serializable
- Direct Known Subclasses:
- CommandMessage, InputMessage, OutputMessage
- public class AbstractMessageResponseElement
- extends java.lang.Object
- implements ResponseElement, java.io.Serializable
This class is the superclass for all ResponseElement implementations in this package. It provides the attribute and nested element handling that all response elements have in common, and checks the parameters to ensure they are serializable versions
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
private java.lang.String name
-
nestedElements
private java.util.List nestedElements
-
attributes
private java.util.Map attributes
-
AbstractMessageResponseElement
public AbstractMessageResponseElement()
removeAttribute
public void removeAttribute(java.lang.String key)
-
- Specified by:
removeAttribute in interface ResponseElement
-
add
public void add(ResponseElement re)
-
- Specified by:
add in interface ResponseElement
-
remove
public void remove(ResponseElement re)
-
- Specified by:
remove in interface ResponseElement
-
setAttribute
public void setAttribute(java.lang.String key,
java.lang.Object value)
- Description copied from interface:
ResponseElement
-
Set the value of an attribute of this element
-
- Specified by:
setAttribute in interface ResponseElement
-
getAttribute
public java.lang.Object getAttribute(java.lang.String key)
-
- Specified by:
getAttribute in interface ResponseElement
-
getAttributes
public java.util.Map getAttributes()
-
- Specified by:
getAttributes in interface ResponseElement
-
setName
public void setName(java.lang.String newName)
-
- Specified by:
setName in interface ResponseElement
-
getName
public java.lang.String getName()
-
- Specified by:
getName in interface ResponseElement
-
getAll
public java.util.List getAll()
-
- Specified by:
getAll in interface ResponseElement
-
copyFrom
protected void copyFrom(ResponseElement re)
-
-
Please see keelframework.org for information about new Keel releases.