本文整理汇总了Java中org.ofbiz.entity.finder.PrimaryKeyFinder类的典型用法代码示例。如果您正苦于以下问题:Java PrimaryKeyFinder类的具体用法?Java PrimaryKeyFinder怎么用?Java PrimaryKeyFinder使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
PrimaryKeyFinder类属于org.ofbiz.entity.finder包,在下文中一共展示了PrimaryKeyFinder类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: EntityOne
import org.ofbiz.entity.finder.PrimaryKeyFinder; //导入依赖的package包/类
public EntityOne(Element element, SimpleMethod simpleMethod) throws MiniLangException {
super(element, simpleMethod);
if (MiniLangValidate.validationOn()) {
MiniLangValidate.attributeNames(simpleMethod, element, "entity-name", "use-cache", "auto-field-map", "value-field", "delegator-name");
MiniLangValidate.requiredAttributes(simpleMethod, element, "entity-name", "value-field");
MiniLangValidate.expressionAttributes(simpleMethod, element, "value-field", "delegator-name");
MiniLangValidate.childElements(simpleMethod, element, "field-map", "select-field");
}
this.finder = new PrimaryKeyFinder(element);
}
示例2: EntityOne
import org.ofbiz.entity.finder.PrimaryKeyFinder; //导入依赖的package包/类
public EntityOne(ModelTree.ModelNode modelNode, Element entityOneElement) {
super (modelNode, entityOneElement);
this.valueName = UtilFormatOut.checkEmpty(entityOneElement.getAttribute("value"), entityOneElement.getAttribute("value-name"));
if (UtilValidate.isEmpty(this.valueName)) this.valueName = null;
entityOneElement.setAttribute("value", this.valueName);
finder = new PrimaryKeyFinder(entityOneElement);
}
示例3: EntityOne
import org.ofbiz.entity.finder.PrimaryKeyFinder; //导入依赖的package包/类
public EntityOne(ModelWidget modelWidget, Element entityOneElement) {
super(modelWidget, entityOneElement);
finder = new PrimaryKeyFinder(entityOneElement);
}
示例4: getFinder
import org.ofbiz.entity.finder.PrimaryKeyFinder; //导入依赖的package包/类
public PrimaryKeyFinder getFinder() {
return this.finder;
}
示例5: EntityOne
import org.ofbiz.entity.finder.PrimaryKeyFinder; //导入依赖的package包/类
public EntityOne(ModelForm modelForm, Element entityOneElement) {
super (modelForm, entityOneElement);
finder = new PrimaryKeyFinder(entityOneElement);
}
示例6: EntityOne
import org.ofbiz.entity.finder.PrimaryKeyFinder; //导入依赖的package包/类
public EntityOne(ModelScreen modelScreen, Element entityOneElement) {
super (modelScreen, entityOneElement);
finder = new PrimaryKeyFinder(entityOneElement);
}
示例7: EntityOne
import org.ofbiz.entity.finder.PrimaryKeyFinder; //导入依赖的package包/类
public EntityOne(ModelMenu modelMenu, Element entityOneElement) {
super (modelMenu, entityOneElement);
finder = new PrimaryKeyFinder(entityOneElement);
}
示例8: EntityOne
import org.ofbiz.entity.finder.PrimaryKeyFinder; //导入依赖的package包/类
public EntityOne(ModelWidget modelWidget, Element entityOneElement) {
super (modelWidget, entityOneElement);
finder = new PrimaryKeyFinder(entityOneElement);
}