(self, relation=None, replace=False)
return self._dcelem_relation
Get or set the dc:relation which describes a related resource.

        For more information see:
        http://dublincore.org/documents/dcmi-terms/#elements-relation

        :param relation: Relation or list of relations.
        :param replace: Replace alredy set relations (deault: False).
        :returns: List of relations.
Get or set the dc:relation which describes a related resource.
Get or set the dc : relation which describes a related resource .
def dc_relation(self, relation=None, replace=False):
        '''Get or set the dc:relation which describes a related resource.

        For more information see:
        http://dublincore.org/documents/dcmi-terms/#elements-relation

        :param relation: Relation or list of relations.
        :param replace: Replace alredy set relations (deault: False).
        :returns: List of relations.
        '''
        if relation is not None:
            if not isinstance(relation, list):
                relation = [relation]
            if replace or not self._dcelem_relation:
                self._dcelem_relation = []
            self._dcelem_relation += relation
        return self._dcelem_relation
def dc_relation ( self , relation = None , replace = False ) : if relation is not None : if not isinstance ( relation , list ) : relation = [ relation ] if replace or not self . _dcelem_relation : self . _dcelem_relation = [ ] self . _dcelem_relation += relation return self . _dcelem_relation