jarol
Interface MessageInterface

All Superinterfaces:
java.lang.Cloneable
All Known Implementing Classes:
Message

public interface MessageInterface
extends java.lang.Cloneable

MessageInterface should be implemented by any class whose instances should provide a clone(), toString() and deepClone() methods.
This is interface is the basic data type for Ports, so every class of an object put into a Port must implement this interface. In order to provide compability to the Exotasks system deepClone() was added.

Version:
0.1
Author:
Bernhard Kast

Method Summary
 java.lang.Object clone()
          Clones this object.
 java.lang.Object deepClone()
          Deepclones this object, needed for exotask compability.
 java.lang.String toString()
          Returns a string representation of this object.
 

Method Detail

clone

java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Clones this object.

Returns:
a clone of this object
Throws:
java.lang.CloneNotSupportedException

toString

java.lang.String toString()
Returns a string representation of this object.

Overrides:
toString in class java.lang.Object
Returns:
a string representation of this object

deepClone

java.lang.Object deepClone()
Deepclones this object, needed for exotask compability.

Returns:
a deepclone of this object