public class ProcessRelation extends PersistentObject
Modifier and Type | Field and Description |
---|---|
static java.lang.String[][] |
keys |
filled, oid
emptyKeys
Constructor and Description |
---|
ProcessRelation() |
ProcessRelation(ProcessInstance p1,
ProcessInstance p2,
java.lang.String reltype) |
Modifier and Type | Method and Description |
---|---|
java.lang.String[][] |
getKeys()
A class has may return key field groups in order to identify already existing objects
of that class.
|
ProcessInstance |
getP1() |
ProcessInstance |
getP2() |
java.lang.String |
getReltype() |
java.lang.String |
getTableName()
This method must return the table name of the database table in which
this persistent object is stored.
|
void |
isValid()
Overwrite this method to check ids, etc.
|
afterDelete, afterInsert, afterRead, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, clone, dbFields, equals, getKey, getLocalClassName, getLocalObjectName, getOid, getStore, getValue, hashCode, isFilled, onDelete, onInsert, onRead, onUpdate, setFilled, setOid, setOid, setStore, toListString
public ProcessRelation()
public ProcessRelation(ProcessInstance p1, ProcessInstance p2, java.lang.String reltype)
public java.lang.String getTableName()
Persistent
public ProcessInstance getP1()
public ProcessInstance getP2()
public java.lang.String getReltype()
public java.lang.String[][] getKeys()
Persistent
The first key field group is occasionally treated in a special manner as the primary business key. E.g. the export import functionality checks for object existence according to just the first key field group.
getKeys
in interface Persistent
getKeys
in class PersistentObject
{{"name", "birthdate"},{"ssn"}}
for a
class defining two key field groups. The first one contains the fields name
and
birthdate
, the second key field group has just one field ssn
.public void isValid()
PersistentObject
isValid
in interface Persistent
isValid
in class PersistentObject
@enterprise 9.0.33982 Copyright © 2001-2023 Groiss Informatics GmbH. All Rights Reserved.