(self, type=None, replace=False)
return self._dcelem_type
Get or set the dc:type which describes the nature or genre of the
        resource.

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

        :param type: Type or list of types.
        :param replace: Replace alredy set types (deault: False).
        :returns: List of types.
Get or set the dc:type which describes the nature or genre of the
        resource.
Get or set the dc : type which describes the nature or genre of the resource .
def dc_type(self, type=None, replace=False):
        '''Get or set the dc:type which describes the nature or genre of the
        resource.

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

        :param type: Type or list of types.
        :param replace: Replace alredy set types (deault: False).
        :returns: List of types.
        '''
        if type is not None:
            if not isinstance(type, list):
                type = [type]
            if replace or not self._dcelem_type:
                self._dcelem_type = []
            self._dcelem_type += type
        return self._dcelem_type
def dc_type ( self , type = None , replace = False ) : if type is not None : if not isinstance ( type , list ) : type = [ type ] if replace or not self . _dcelem_type : self . _dcelem_type = [ ] self . _dcelem_type += type return self . _dcelem_type