org.apache.ojb.odmg.collections
Class DListEntry_2

java.lang.Object
  extended byorg.apache.ojb.odmg.collections.DListEntry_2
All Implemented Interfaces:
java.io.Serializable

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

Version:
$Id: DListEntry_2.java,v 1.5 2004/01/07 19:11:11 arminw Exp $
Author:
Thomas Mahler, Armin Waibel
See Also:
Serialized Form

Field Summary
protected  DListImpl_2 dList
           
protected  java.lang.Integer dlistId
           
protected  java.lang.Integer id
           
protected  Identity oid
           
protected  PBKey pbKey
           
protected  int position
           
protected  java.lang.Object realSubject
           
 
Constructor Summary
DListEntry_2()
          Used to instantiate persistent DLists from DB by the kernel FOR INTERNAL USE ONLY
DListEntry_2(DListImpl_2 dList, java.lang.Object theObject)
          Standard way to instantiate new entries
 
Method Summary
 java.lang.Integer getDlistId()
          Gets the dlistId.
 java.lang.Integer getId()
          Gets the id.
protected  Logger getLog()
           
 Identity getOid()
           
 PBKey getPBKey()
           
 int getPosition()
           
 java.lang.Object getRealSubject()
           
protected  void prepareForPersistency(PersistenceBroker broker)
           
protected  void prepareRealSubject(PersistenceBroker broker)
           
 void setDlistId(java.lang.Integer dlistId)
          Sets the dlistId.
 void setId(java.lang.Integer id)
          Sets the id.
 void setOid(Identity oid)
           
 void setPosition(int newPosition)
           
 void setRealSubject(java.lang.Object realSubject)
           
 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

realSubject

protected java.lang.Object realSubject

dList

protected DListImpl_2 dList

pbKey

protected PBKey pbKey

id

protected java.lang.Integer id

dlistId

protected java.lang.Integer dlistId

oid

protected Identity oid

position

protected int position
Constructor Detail

DListEntry_2

public DListEntry_2()
Used to instantiate persistent DLists from DB by the kernel FOR INTERNAL USE ONLY


DListEntry_2

public DListEntry_2(DListImpl_2 dList,
                    java.lang.Object theObject)
Standard way to instantiate new entries

Method Detail

getLog

protected Logger getLog()

prepareForPersistency

protected void prepareForPersistency(PersistenceBroker broker)

getPBKey

public PBKey getPBKey()

prepareRealSubject

protected void prepareRealSubject(PersistenceBroker broker)

getRealSubject

public java.lang.Object getRealSubject()

setRealSubject

public void setRealSubject(java.lang.Object realSubject)

getPosition

public int getPosition()

setPosition

public void setPosition(int newPosition)

getDlistId

public java.lang.Integer getDlistId()
Gets the dlistId.

Returns:
Returns a int

setDlistId

public void setDlistId(java.lang.Integer dlistId)
Sets the dlistId.

Parameters:
dlistId - The dlistId to set

getId

public java.lang.Integer getId()
Gets the id.

Returns:
Returns a int

setId

public void setId(java.lang.Integer id)
Sets the id.

Parameters:
id - The id to set

getOid

public Identity getOid()

setOid

public void setOid(Identity oid)

toString

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



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