com.xrosstools.xunit.def.LocatorDef Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xunit Show documentation
Show all versions of xunit Show documentation
The runtime for xross unit model
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