equal
deleted
inserted
replaced
120 |
120 |
121 @property |
121 @property |
122 def otype(self): |
122 def otype(self): |
123 return self.to_entity[0] |
123 return self.to_entity[0] |
124 |
124 |
|
125 def yams_schema(self): |
|
126 rschema = self._cw.vreg.schema.rschema(self.rtype.name) |
|
127 return rschema.rdefs[(self.stype.name, self.otype.name)] |
125 |
128 |
126 class CWAttribute(CWRelation): |
129 class CWAttribute(CWRelation): |
127 __regid__ = 'CWAttribute' |
130 __regid__ = 'CWAttribute' |
128 |
131 |
129 def dc_long_title(self): |
132 def dc_long_title(self): |