Commit ca485e54 authored by Kevin Deldycke's avatar Kevin Deldycke

Add setRelation


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@507 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 360e2564
......@@ -187,6 +187,11 @@ def getRelation(self):
return self.relation
return None
def setRelation(self,value):
"""
"""
setattr(self,'relation',value)
def getSource(self):
"""
"""
......@@ -215,6 +220,7 @@ CPSDocument.getCoverage = getCoverage
CPSDocument.getCreator = getCreator
CPSDocument.getRelation = getRelation
CPSDocument.setCreator = setCreator
CPSDocument.setRelation = setRelation
CPSDocument.getSource = getSource
CPSDocument.getPreview = getPreview
CPSDocument.setCreationDate = setCreationDate
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment