本文整理汇总了Java中com.mysema.query.types.path.BooleanPath类的典型用法代码示例。如果您正苦于以下问题:Java BooleanPath类的具体用法?Java BooleanPath怎么用?Java BooleanPath使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
BooleanPath类属于com.mysema.query.types.path包,在下文中一共展示了BooleanPath类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: booleanPath
import com.mysema.query.types.path.BooleanPath; //导入依赖的package包/类
@Test
public void booleanPath() {
SimplePath<Tuple> aaa = PathExpressions.simplePath("aaa");
BooleanPath bbb = PathExpressions.booleanPath(aaa, "bbb");
assertEquals(Boolean.class, bbb.getType());
assertEquals("bbb", bbb.getMetadata().getName());
assertEquals(aaa, bbb.getMetadata().getParent());
}
示例2: StructureProcessor
import com.mysema.query.types.path.BooleanPath; //导入依赖的package包/类
StructureProcessor(
StringPath styleIdentificationPath,
StringPath styleNamePath,
StringPath childLayerIdentificationPath,
StringPath parentLayerIdentificationPath,
NumberPath<Integer> layerOrderPath,
BooleanPath cyclePath) {
this.styleIdentificationPath = styleIdentificationPath;
this.styleNamePath = styleNamePath;
this.childLayerIdentificationPath = childLayerIdentificationPath;
this.parentLayerIdentificationPath = parentLayerIdentificationPath;
this.layerOrderPath = layerOrderPath;
this.cyclePath = cyclePath;
}
示例3: booleanPath
import com.mysema.query.types.path.BooleanPath; //导入依赖的package包/类
/**
* 真偽値カラムに相当するパスを取得する。
*
* @param parent テーブルのパス。
* @param property カラム別名。
* @return カラムのパス。
*/
public static BooleanPath booleanPath(Path<?> parent, String property) {
return Expressions.booleanPath(parent, property);
}