Package semanticSBML :: Module merge_datamodel :: Class OriginElement
[hide private]
[frames] | no frames]

Class OriginElement

source code


abstraction of a biological entity for merging

wrap class that consists of three sublcass of the base type

Instance Methods [hide private]
 
__init__(self, libsbml_element, merge_model) source code
 
__getattr__(self, n)
realize wrap pattern! make methods of the sub objects
source code
 
getDepends_onElements(self) source code
 
getDependingElements(self) source code
 
connect_view_functions(self, tuple_changed_fkt)
set an external function that should be executed when the tuple this element belongs to is changed
source code
 
addTupleCandidate(self, element, force=False)
add and element to the list of similar elements
source code
 
addTupleCandidates(self, elements)
update the list of similar elements
source code
[OriginElement]
getTupleCanidates(self)
returns a list of similar elements, elements that have matching MIRIAM annotations
source code
MergeTuple or None
getTuple(self)
returns the MergeTuple the element instance belongs to, if it does not belong to an element None is returnend
source code
 
setTuple(self, tuple)
set the MergeTuple the element belongs to if an external function of a view is set, call the function so the view can be updated
source code
 
setId(self, id)
set the "new" id, this identifier is globally unique in the merged model
source code
 
getId(self) source code
Method Details [hide private]

__init__(self, libsbml_element, merge_model)
(Constructor)

source code 
Overrides: MergeBase.__init__

__getattr__(self, n)
(Qualification operator)

source code 

realize wrap pattern! make methods of the sub objects

  • SubBioquantity
  • SubBioentity
  • SubModelstatement

directly accessible

connect_view_functions(self, tuple_changed_fkt)

source code 

set an external function that should be executed when the tuple this element belongs to is changed

Parameters:
  • tuple_changed_fkt (function pointer)

addTupleCandidate(self, element, force=False)

source code 

add and element to the list of similar elements

Parameters:
  • element (OriginElement)

addTupleCandidates(self, elements)

source code 

update the list of similar elements

Parameters:
  • elements ([OriginElement])

setTuple(self, tuple)

source code 

set the MergeTuple the element belongs to if an external function of a view is set, call the function so the view can be updated

Parameters:
  • tuple (MergeTuple)

setId(self, id)

source code 

set the "new" id, this identifier is globally unique in the merged model

Parameters:
  • id (str)