Sets the base of this chord.
429850
public void setBase(Point2D base) {
		m_stemYEndForChord = -1;
		if (m_normalizedChords!=null) {
            for (JChord m_normalizedChord : m_normalizedChords) {
                m_normalizedChord.setBase(base);
            }
		} else {
            for (JNote m_sNoteInstance : m_sNoteInstances) {
                m_sNoteInstance.setBase(base);
            }
		}
		if (m_jGracenotes != null) {
			m_jGracenotes.setBase(base);
		}
		super.setBase(base);
	}
702282
public void setBaselineCost(int baselineNumber, Number value)
   {
      set(selectField(ResourceFieldLists.BASELINE_COSTS, baselineNumber), value);
   }
703463
public function setBaseHref($url)
    {
        $node = $this->filterXPath('descendant-or-self::base')->getNode(0);
        if ($node == null) {
            $node = $this->dom->createElement('base');
            $this->getHeadNode()->appendChild($node);
        }
        $node->setAttribute('href', $url);
    }
109977
public Composite setNest(Composite c)
    {
        if (nest!=null)
            nest.setNest(c);
        else
            nest=c;
        return this;
    }
430610
public void setBaselineCost(int baselineNumber, Number value)
   {
      set(selectField(AssignmentFieldLists.BASELINE_COSTS, baselineNumber), value);
   }
1120670
public void setBaselineCost(int baselineNumber, Number value)
   {
      set(selectField(TaskFieldLists.BASELINE_COSTS, baselineNumber), value);
   }
952272
def set_parent(self, node):
        
        self._parent = node

        if node is None:
            # detach from parent
            self._depth = 0
        else:
            self._depth = node.get_depth() + 1
954713
public function setBaseId( $value )
	{
		if ( $value == $this->getBaseId() ) { return; }

		$this->_values['baseid'] = ( $value !== null ? (int) $value : null );
		$this->setModified();
	}
588965
public void setBaseUrl(String baseUrl) {
        if (baseUrl == null) {
            this.baseUrl = KeenConstants.SERVER_ADDRESS;
        } else {
            this.baseUrl = baseUrl;
        }
    }
240131
def setdefault (self, key, *args):
        """"""
        assert isinstance(key, basestring)
        return dict.setdefault(self, key.lower(), *args)
738819
public void setBase(String base) {
        if (base != null) {
            this.base = LdapUtils.newLdapName(base);
        } else {
            this.base = LdapUtils.emptyLdapName();
        }
    }
587218
public function setBaseType($base_type)
    {
        $base_type = strtoupper($base_type);
        if (!in_array($base_type, self::getBaseTypes())) {
            throw new \InvalidArgumentException(sprintf('The "%s" base type is not a valid base type.', $base_type));
        }
        $this->base_type = $base_type;
        return $this;
    }
983012
static private void transpose_Chord(DecorableElement transp,
			Note noneTranspKeyNote, KeySignature noneTranspKey,
			Note lastKeyNote, KeySignature lastKey) {
		Chord chord = transp.getChord();
		if (chord != null) {
			if (chord.hasNote())
				chord.setNote((Note) transpose_Note(chord.getNote(),
						noneTranspKeyNote, null, lastKeyNote, null));
			if (chord.hasBass())
				chord.setBass((Note) transpose_Note(chord.getBass(),
						noneTranspKeyNote, null, lastKeyNote, null));
		}
	}
288408
@Override
    public ElevationProvider setBaseURL(String baseURL) {
        String[] urls = baseURL.split(";");
        if (urls.length != 2) {
            throw new IllegalArgumentException("The base url must consist of two urls separated by a ';'. The first for cgiar, the second for gmted");
        }
        srtmProvider.setBaseURL(urls[0]);
        globalProvider.setBaseURL(urls[1]);
        return this;
    }
589743
function setBase(base) {
  // TODO: fix upstream
  if (base.length>1 && base[base.length-1]=='/')
    base = base.slice(0,-1)

  return through2(function(item, _, next){
    var value = item.value
    if (typeof value == 'object') value.base = base
    next(null, item)
  })
}
916196
public function setBaseUri($baseUri)
    {
        if (is_string($baseUri)) {
            $baseUri = new Uri($baseUri);
        }

        $this->attributes[self::ATTRIBUTE_BASE_URI] = $baseUri;
    }
1313827
public void setParent(AstNode parent) {
        if (parent == this.parent) {
            return;
        }

        // Convert position back to absolute.
        if (this.parent != null) {
            setRelative(-this.parent.getAbsolutePosition());
        }

        this.parent = parent;
        if (parent != null) {
            setRelative(parent.getAbsolutePosition());
        }
    }