Clears the display name.

        raise:  NoAccess - ``Metadata.isRequired()`` or
                ``Metadata.isReadOnly()`` is ``true``
        *compliance: mandatory -- This method must be implemented.*
196078
def clear_display_name(self):
        
        if (self.get_display_name_metadata().is_read_only() or
                self.get_display_name_metadata().is_required()):
            raise errors.NoAccess()
        self._my_map['displayName'] = dict(self._display_name_default)
1344840
def remove_name(self):
        
        short_description_node = self.metadata.find('short_description')
        if short_description_node is not None:
            self.metadata.remove(short_description_node)
            return True
        return False
1241355
def is_name_revoked( self, name ):
        
        name = self.get_name( name )
        if name is None:
            return False 

        if name['revoked']:
            return True
        else:
            return False
358503
def clear_level(self):
        
        if (self.get_level_metadata().is_read_only() or
                self.get_level_metadata().is_required()):
            raise errors.NoAccess()
        self._my_map['levelId'] = self._level_default
        self._my_map['level'] = self._level_default
1160378
def clear_provider(self):
        
        if (self.get_provider_metadata().is_read_only() or
                self.get_provider_metadata().is_required()):
            raise errors.NoAccess()
        self._my_map['providerId'] = self._provider_default
1298513
def get_display_name(value):
    
    display_name = DisplayName()
    token, value = get_phrase(value)
    display_name.extend(token[:])
    display_name.defects = token.defects[:]
    return display_name, value
750847
def clear_published(self):
        
        metadata = Metadata(**settings.METADATA['published'])
        if metadata.is_read_only() or metadata.is_required():
            raise NoAccess()
        self._my_map['published'] = False
1158515
def primaryName(self, value: Optional[str]) -> None:
        
        if value is not None:
            self.warned_no_primary = False
        self.primaryNames[self.viewNo] = value
        self.compact_primary_names()
        if value != self._primaryName:
            self._primaryName = value
            self.logger.info("{} setting primaryName for view no {} to: {}".
                             format(self, self.viewNo, value))
            if value is None:
                # Since the GC needs to happen after a primary has been
                # decided.
                return
            self._gc_before_new_view()
            if self.__should_reset_watermarks_before_new_view():
                self._reset_watermarks_before_new_view()
512380
def _clear(self):
        
        self.__names.clear()
        self.__queue.clear()
        self.__context = None
940432
def clear_published(self):
        
        # Implemented from template for osid.resource.ResourceForm.clear_group_template
        if (self.get_published_metadata().is_read_only() or
                self.get_published_metadata().is_required()):
            raise errors.NoAccess()
        self._my_map['published'] = self._published_default
33267
public void clear() {
        valueBoxBase.setText("");
        clearStatusText();

        if (getPlaceholder() == null || getPlaceholder().isEmpty()) {
            label.removeStyleName(CssName.ACTIVE);
        }
    }
161416
def reset(self):
        
        with util.disable_constant(self):
            for k, p in self.params().items():
                if k != 'name':
                    setattr(self, k, p.default)
61751
def get_display_name_metadata(self):
        
        metadata = dict(self._mdata['display_name'])
        metadata.update({'existing_string_values': self._my_map['displayName']['text']})
        return Metadata(**metadata)
277619
def cleared=(cleared)
      validator = EnumAttributeValidator.new('String', ['cleared', 'uncleared', 'reconciled'])
      unless validator.valid?(cleared)
        fail ArgumentError, 'invalid value for "cleared", must be one of #{validator.allowable_values}.'
      end
      @cleared = cleared
    end
1369706
private void resetName()
	{

		UIJob job = new UIJob("Activating Console") { //$NON-NLS-1$
			public IStatus runInUIThread(IProgressMonitor monitor)
			{

				warnOfContentChange();
				return Status.OK_STATUS;
			}
		};
		job.setSystem(true);
		job.schedule();

	}
737851
private void clearEdit() {

        m_fileTable.setEditable(false);
        if (m_editItemId != null) {
            updateItem(m_editItemId, false);
        }
        m_editItemId = null;
        m_editProperty = null;
        m_editHandler = null;
        updateSorting();
    }
351201
def remove_getdisplay(field_name):
    '''
    
    '''
    str_ini = 'get_'
    str_end = '_display'
    if str_ini == field_name[0:len(str_ini)] and str_end == field_name[(-1) * len(str_end):]:
        field_name = field_name[len(str_ini):(-1) * len(str_end)]
    return field_name