org.apache.ojb.odmg.collections
Class DListEntry

java.lang.Object
  extended byorg.apache.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)

Author:
Thomas Mahler
See Also:
Serialized Form

Field Summary
protected  int dlistId
           
protected  int id
           
protected  DListImpl m_dList
           
protected  Identity oid
           
protected  PBKey pbKey
           
protected  int position
           
protected  java.lang.Object realSubject
           
 
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, Identity anOid)
          DListEntry multi-args constructor used by OJB PersistenceBroker
DListEntry(PBKey pbKey)
           
 
Method Summary
protected  int generateNewId()
          return a unique id
 int getDlistId()
          Gets the dlistId.
 int getId()
          Gets the id.
 Identity getOid()
           
 PBKey getPBKey()
           
 int getPosition()
          Insert the method's description here.
 java.lang.Object getRealSubject()
          Insert the method's description here.
 void setDlistId(int dlistId)
          Sets the dlistId.
 void setId(int id)
          Sets the id.
 void setOid(Identity oid)
           
 void setPBKey(PBKey pbKey)
           
 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

dlistId

protected int dlistId

m_dList

protected DListImpl m_dList

position

protected int position

oid

protected Identity oid

realSubject

protected java.lang.Object realSubject

pbKey

protected PBKey pbKey
Constructor Detail

DListEntry

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


DListEntry

public DListEntry(PBKey pbKey)

DListEntry

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


DListEntry

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

Method Detail

getOid

public Identity getOid()

setOid

public void setOid(Identity oid)

getPBKey

public PBKey getPBKey()

setPBKey

public void setPBKey(PBKey pbKey)

generateNewId

protected int generateNewId()
return 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)

Parameters:
realSubject - java.lang.Object

toString

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


getDlistId

public int getDlistId()
Gets the dlistId.

Returns:
Returns a int

setDlistId

public void setDlistId(int dlistId)
Sets the dlistId.

Parameters:
dlistId - The dlistId to set

getId

public int getId()
Gets the id.

Returns:
Returns a int

setId

public void setId(int id)
Sets the id.

Parameters:
id - The id to set


Authors: Thomas Mahler and others. (C) 2000 - 2003 Apache Software Foundation
All rights reserved. Published under the Apache License.
http://db.apache.org/ojb
Version: 1.0.rc5, 2003-12-14