wCMF  3.6
 All Classes Namespaces Files Functions Variables Groups Pages
class.AdodbseqBase.php
Go to the documentation of this file.
1 <?php
2 /**
3  * This file was generated by wCMFGenerator 2.6.1.0033 from cookbook1.xmi on 23.02.09 21:34.
4  * Manual modifications should be placed inside the protected regions.
5  */
6 require_once(BASE."wcmf/lib/model/class.Node.php");
7 
8 /**
9  * @class Adodbseq
10  * Adodbseq description:
11  *
12  * @author <ingo@wemove.com>
13  * @version 1.0
14  */
15 class AdodbseqBase extends Node
16 {
17  function AdodbseqBase($oid=null, $type=null)
18  {
19  if ($type == null)
20  parent::Node('Adodbseq', $oid);
21  else
22  parent::Node($type, $oid);
23  }
24  /**
25  * @see PersistentObject::getObjectDisplayName()
26  */
28  {
29  return Message::get("Adodbseq");
30  }
31  /**
32  * @see PersistentObject::getObjectDescription()
33  */
35  {
36  return Message::get("");
37  }
38  /**
39  * @see PersistentObject::getValueDisplayName()
40  */
41  function getValueDisplayName($name, $type=null)
42  {
43  $displayName = $name;
44  if ($name == 'id') $displayName = Message::get("id");
45  return Message::get($displayName);
46  }
47  /**
48  * @see PersistentObject::getValueDescription()
49  */
50  function getValueDescription($name, $type=null)
51  {
52  $description = $name;
53  if ($name == 'id') $description = Message::get("");
54  return Message::get($description);
55  }
56  /**
57  * See if the node is an association object, that implements a many to many relation
58  */
59  function isManyToManyObject()
60  {
61  return false;
62  }
63  /**
64  * Getter/Setter
65  */
66  function getId($unconverted=false)
67  {
68  if ($unconverted)
69  return $this->getUnconvertedValue('id', DATATYPE_IGNORE);
70  else
71  return $this->getValue('id', DATATYPE_IGNORE);
72  }
73  function setId($id)
74  {
75  return $this->setValue('id', $id, DATATYPE_IGNORE);
76  }
77 
78  /**
79  * Node class overrides
80  */
81 
82  /**
83  * @see Node::loadChildren()
84  * Override this to also load the children of many-to-many relations
85  */
86  function loadChildren($type, $buildDepth=BUILDDEPTH_SINGLE, $forceUpdate=false)
87  {
88  // do default
89  parent::loadChildren($type, $buildDepth, $forceUpdate);
90  }
91  /**
92  * @see Node::getChildrenEx()
93  * Override this to also get the children of many-to-many relations
94  */
95  function getChildrenEx($oid, $type, $values, $properties)
96  {
97  // do default
98  return parent::getChildrenEx($oid, $type, $values, $properties);
99  }
100  /**
101  * @see Node::addChild()
102  * Override this to insert association objects if necessary
103  */
104  function addChild(&$child, $addtype=ADDCHILD_BACK)
105  {
106  // do default
107  parent::addChild($child, $addtype);
108  }
109  /**
110  * @see Node::deleteChild()
111  * Override this to delete association objects if necessary
112  */
113  function deleteChild($childOID, $reallyDelete=false)
114  {
115  // do default
116  parent::deleteChild($childOID, $reallyDelete);
117  }
118 }
119 ?>
AdodbseqBase($oid=null, $type=null)
get($message, $parameters=null, $domain='', $lang='')
Node is the basic component for building trees (although a Node can have one than more parents)...
Definition: class.Node.php:118
addChild(&$child, $addtype=ADDCHILD_BACK)
getChildrenEx($oid, $type, $values, $properties)
deleteChild($childOID, $reallyDelete=false)
getValue($name, $type=null)
getValueDisplayName($name, $type=null)
getId($unconverted=false)
const DATATYPE_IGNORE
const ADDCHILD_BACK
Definition: class.Node.php:31
loadChildren($type, $buildDepth=BUILDDEPTH_SINGLE, $forceUpdate=false)
getValueDescription($name, $type=null)
setValue($name, $value, $type=null, $forceSet=false)
const BUILDDEPTH_SINGLE
getUnconvertedValue($name, $type=null)