de.cau.cs.kieler.core.util
Interface IDataObject

All Superinterfaces:
Serializable
All Known Implementing Classes:
KVector, KVectorChain

public interface IDataObject
extends Serializable

An interface for data types, which should be serializable using #toString() and parsable using parse(String). The default constructor must always be accessible and create an instance with default content.

Rating yellow
(2011-02-01) reviewed by cmot, soh

Method Summary
 void parse(String string)
          Parse the given string and set the content of this data object.
 

Method Detail

parse

void parse(String string)
Parse the given string and set the content of this data object.

Parameters:
string - a string
Throws:
IllegalArgumentException - if the string does not have the expected format