com.groiss.dms
Class DMSFolderItemRel

java.lang.Object
  extended by com.groiss.store.PersistentObject
      extended by com.dec.gi.sql.SQLObject
          extended by com.groiss.dms.DMSFolderItemRel
All Implemented Interfaces:
KeyValuePair, Exportable, Persistent, java.io.Serializable, java.lang.Cloneable

public class DMSFolderItemRel
extends com.dec.gi.sql.SQLObject

This class represents the relation between a DMSFolder and the DMSObjects of this folder.

Author:
Robert Eisner
See Also:
Serialized Form

Field Summary
protected  DMSFolder folder
           
protected  DMSObject item
           
protected  com.dec.avw.core.Server itemServer
           
 
Fields inherited from class com.dec.gi.sql.SQLObject
DO_BLIND
 
Fields inherited from class com.groiss.store.PersistentObject
filled, oid, store
 
Fields inherited from interface com.groiss.store.Exportable
emptyKeys
 
Constructor Summary
DMSFolderItemRel()
          Create an empty FolderItemRel object.
DMSFolderItemRel(DMSFolder folder, DMSObject item, com.dec.avw.core.Server itemServer)
          Create a new FolderItemRel object.
 
Method Summary
 DMSFolder getFolder()
          Returns the folder of this relation object.
 DMSObject getItem()
          Returns the folder item of this relation object.
 com.dec.avw.core.Server getItemServer()
          Returns the server of the item in this relation object.
 java.lang.String getLocalClassName()
           
 java.lang.String getTableName()
          Returns the name of the table which is used for persistency by this class.
 void isValid()
          Checks if this object is in a valid state.
 java.lang.String toString()
           
 
Methods inherited from class com.dec.gi.sql.SQLObject
addRequiredObjects, beforeImport, clone, count, count, dbAttrs, dbFieldString, delete, delete, delete, delete, executeStatement, executeStatement, exportAsElements, get, get, get, get, get2, getCache, getFieldDescriptor, getFieldName, getHTMLClass, getKey, getKeys, getLocalObjectName, getLoggingContext, getNoCache, getStore, getTableDefinition, getValue, getValueText, hasRows, hasRows, ignoreFields, inDatabase, insert, insertBlind, list, list, list, list, list2, list2, onInsert, onUpdate, retrieveLoggingContextByOid, setEmpty, setFromDB, setNewOid, setOid, setValues, setValues, table, table, toListString, update, updateBlind
 
Methods inherited from class com.groiss.store.PersistentObject
dbFields, equals, getOid, hashCode, isFilled, onDelete, onRead, setFilled, setOid, setStore
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

folder

protected DMSFolder folder

item

protected DMSObject item

itemServer

protected com.dec.avw.core.Server itemServer
Constructor Detail

DMSFolderItemRel

public DMSFolderItemRel()
Create an empty FolderItemRel object.


DMSFolderItemRel

public DMSFolderItemRel(DMSFolder folder,
                        DMSObject item,
                        com.dec.avw.core.Server itemServer)
Create a new FolderItemRel object.

Parameters:
folder - the folder to which the passed item belongs
item - the item belonging to folder
itemServer - unused
Method Detail

getFolder

public DMSFolder getFolder()
Returns the folder of this relation object.


getItem

public DMSObject getItem()
Returns the folder item of this relation object.


getItemServer

public com.dec.avw.core.Server getItemServer()
Returns the server of the item in this relation object.


getTableName

public java.lang.String getTableName()
Returns the name of the table which is used for persistency by this class.

Returns:
The table name of the database table in which this persistent object is stored.

getLocalClassName

public java.lang.String getLocalClassName()
Overrides:
getLocalClassName in class com.dec.gi.sql.SQLObject

isValid

public void isValid()
             throws java.lang.Exception
Checks if this object is in a valid state.

Overrides:
isValid in class com.dec.gi.sql.SQLObject
Throws:
java.lang.Exception

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2001-2006 Groiss Informatics GmbH. All Rights Reserved.