ojb.odmg.collections
Class DListEntry

java.lang.Object
  |
  +--ojb.odmg.collections.DListEntry
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DSetEntry

public class DListEntry
extends java.lang.Object
implements java.io.Serializable

Insert the type's description here. Creation date: (28.01.2001 21:23:26)

See Also:
Serialized Form

Field Summary
protected  int dlistId
           
protected  int id
           
protected  Identity oid
           
protected  int position
           
protected  java.lang.Object realSubject
           
protected  byte[] serializedOID
           
 
Constructor Summary
DListEntry()
          Insert the method's description here.
DListEntry(DListImpl theDlist, java.lang.Object theObject)
          DListEntry constructor comment.
DListEntry(int anId, int aDlistId, int pos, byte[] anOid)
          DListEntry multi-args constructor used by OJB PersistenceBroker
 
Method Summary
protected  int generateNewId()
          get a unique id
 int getPosition()
          Insert the method's description here.
 java.lang.Object getRealSubject()
          Insert the method's description here.
 void setPosition(int newPosition)
          Insert the method's description here.
(package private)  void setRealSubject(java.lang.Object realSubject)
          Insert the method's description here.
 java.lang.String toString()
          return String representation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

protected int id

position

protected int position

oid

protected Identity oid

realSubject

protected java.lang.Object realSubject

dlistId

protected int dlistId

serializedOID

protected byte[] serializedOID
Constructor Detail

DListEntry

public DListEntry()
Insert the method's description here. Creation date: (09.02.2001 21:28:01)


DListEntry

public DListEntry(int anId,
                  int aDlistId,
                  int pos,
                  byte[] anOid)
DListEntry multi-args constructor used by OJB PersistenceBroker


DListEntry

public DListEntry(DListImpl theDlist,
                  java.lang.Object theObject)
DListEntry constructor comment.

Method Detail

generateNewId

protected int generateNewId()
get a unique id


getPosition

public int getPosition()
Insert the method's description here. Creation date: (06.02.2001 22:06:55)

Returns:
int

getRealSubject

public java.lang.Object getRealSubject()
Insert the method's description here. Creation date: (30.01.2001 22:32:10)

Returns:
java.lang.Object

setPosition

public void setPosition(int newPosition)
Insert the method's description here. Creation date: (06.02.2001 22:06:55)

Parameters:
newPosition - int

setRealSubject

void setRealSubject(java.lang.Object realSubject)
Insert the method's description here. Creation date: (10.02.2001 17:58:45)


toString

public java.lang.String toString()
return String representation.

Overrides:
toString in class java.lang.Object


Authors: Thomas Mahler and others. (C) 2000, 2001.
All rights reserved. Published under the Gnu Public License.
http://objectbridge.sourceforge.net
Version: 0.8.375, 2002-04-04