com.groiss.dms
Class DocumentVersionRel

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

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

The DocumentVersionRel class describes the relation between the versions of documents which are related (e.g. forms and their subforms)

See Also:
Serialized Form

Field Summary
 DocumentVersion detail
          The reference to the version of the detail document.
 DocumentVersion master
          The reference to the version of the master document.
 
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
DocumentVersionRel()
          Create an empty DocumentVersionRel object.
DocumentVersionRel(DocumentVersion master, DocumentVersion detail)
          Create a DocumentVersionRel object.
 
Method Summary
 java.lang.String getTableName()
          This method must return the table name of the database table in which this persistent object is stored.
 DocumentVersion getVersionDetail()
          Returns the the version of detail document.
 DocumentVersion getVersionMaster()
          Returns the the version of master document.
 
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, getLocalClassName, getLocalObjectName, getLoggingContext, getNoCache, getStore, getTableDefinition, getValue, getValueText, hasRows, hasRows, ignoreFields, inDatabase, insert, insertBlind, isValid, 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, toString, wait, wait, wait
 

Field Detail

master

public DocumentVersion master
The reference to the version of the master document.


detail

public DocumentVersion detail
The reference to the version of the detail document.

Constructor Detail

DocumentVersionRel

public DocumentVersionRel()
Create an empty DocumentVersionRel object.


DocumentVersionRel

public DocumentVersionRel(DocumentVersion master,
                          DocumentVersion detail)
Create a DocumentVersionRel object.

Parameters:
master - the version of the master document
detail - the version of the detail document
Method Detail

getTableName

public java.lang.String getTableName()
Description copied from interface: Persistent
This method must return the table name of the database table in which this persistent object is stored.

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

getVersionMaster

public DocumentVersion getVersionMaster()
Returns the the version of master document.


getVersionDetail

public DocumentVersion getVersionDetail()
Returns the the version of detail document.



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