protected void setDomainFile(DomainFile df) throws DomainObjectException {
		if (df == null) {
			throw new IllegalArgumentException("DomainFile must not be null");
		}
		if (df == domainFile) {
			return;
		}
		clearDomainObj();
		DomainFile oldDf = domainFile;
		domainFile = df;
		fireEvent(new DomainObjectChangeRecord(DomainObjectEvent.FILE_CHANGED, oldDf, df));
		fileChangeListeners.invoke().domainFileChanged(this);
	}
Set the {@link DomainFile} associated with this instance.
@param df domain file
@throws DomainObjectException if a severe failure occurs during the operation.
Ghidra/Framework/Project/src/main/java/ghidra/framework/data/DomainObjectAdapter.java