net.openai.ai.nn.gui.data
Class AbstractDataObject

java.lang.Object
  |
  +--net.openai.ai.nn.gui.data.AbstractDataObject
All Implemented Interfaces:
DataObject
Direct Known Subclasses:
AbstractGUINeuron, DataContainer

public abstract class AbstractDataObject
extends java.lang.Object
implements DataObject

Implements most parts of the DataObject interface. Derived classes have only to implement the real data-parts

Version:
$Id: AbstractDataObject.java,v 1.2 2002/02/14 23:22:00 gleo Exp $ History:
$Log: AbstractDataObject.java,v $
Revision 1.2 2002/02/14 23:22:00 gleo
Jindent run through.

Revision 1.1 2002/02/13 09:15:22 tweber
Initial release of a new GUI-datamodel
Author:
Thomas Weber
See Also:

Constructor Summary
AbstractDataObject()
           
 
Method Summary
 long getID()
          Returns the ID of the object
 DataContainer getParent()
          Returns the parent of this object
 DataObject getSibbling(long lID)
          Returns a sibbling of this object.
 void setID(long lID)
          Sets the ID of the object
 void setParent(DataContainer parent)
          Sets the parent of this object (for nested structures)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractDataObject

public AbstractDataObject()
Method Detail

setID

public void setID(long lID)
Sets the ID of the object

Specified by:
setID in interface DataObject

getID

public long getID()
Returns the ID of the object

Specified by:
getID in interface DataObject

getSibbling

public DataObject getSibbling(long lID)
Returns a sibbling of this object. The sibbling must be stored in the same container.

Specified by:
getSibbling in interface DataObject
Parameters:
lID - The sibblings ID
Returns:
A DataObject with the given ID

getParent

public DataContainer getParent()
Returns the parent of this object

Specified by:
getParent in interface DataObject

setParent

public void setParent(DataContainer parent)
Sets the parent of this object (for nested structures)

Specified by:
setParent in interface DataObject


Copyright - 2001 OpenAI Labs. All Rights Reserved.