All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.xrosstools.xunit.def.LocatorDef Maven / Gradle / Ivy

The newest version!
package com.xrosstools.xunit.def;

import com.xrosstools.xunit.Locator;
import com.xrosstools.xunit.Unit;


public class LocatorDef extends UnitDef{
	private String defaultKey;

	public String getDefaultKey() {
		return defaultKey;
	}

	public void setDefaultKey(String defaultKey) {
		this.defaultKey = defaultKey;
	}
	
	protected Unit createInstance() throws Exception{
		Locator locator = (Locator)super.createInstance();
		
		locator.setDefaultKey(defaultKey);
		
		return locator;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy