summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLV-426 <lv-426@taproot.org.il>2014-10-07 18:09:06 +0200
committerLV-426 <lv-426@taproot.org.il>2014-10-07 18:09:06 +0200
commit2dd76779990f9a1af5401fb29a490d51c95c031b (patch)
tree73c237c2c617feb299f9716df3d1ab37ae4fdd0a
parent7ca40693c02664c11f3304f5da4d18e137e7b423 (diff)
model.py stub, GDiff stub
-rw-r--r--src-py/model.py36
1 files changed, 36 insertions, 0 deletions
diff --git a/src-py/model.py b/src-py/model.py
new file mode 100644
index 00000000..3c3ce629
--- /dev/null
+++ b/src-py/model.py
@@ -0,0 +1,36 @@
+class link():
+ """
+ documentation anchor - this class currently carries no implementation
+ and only acts as a documentation anchor
+
+ link['__src'] - meta attribute for link source
+ link['__dst'] - meta attribute for link destination
+ """
+ pass
+
+class GDiff():
+
+ def __init__(self, link_set_rm=[],
+ node_set_rm=[],
+ node_set_add=[],
+ link_set_add=[]):
+ self.link_set_rm = link_set_rm
+ self.node_set_rm = node_set_rm
+ self.node_set_add = node_set_add
+ self.link_set_add = link_set_add
+
+ @property
+ def link_set_rm(self):
+ return self.link_set_rm
+
+ @property
+ def node_set_rm(self):
+ return self.node_set_rm
+
+ @property
+ def link_set_add(self):
+ return self.link_set_add
+
+ @property
+ def node_set_add(self):
+ return self.node_set_add