Package com.im.df.api.ddl
Class DFFields.Predicates
- java.lang.Object
-
- com.im.df.api.ddl.DFFields.Predicates
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.google.common.base.Predicate<DFField>
belongTo(DFDataTree.Vertex vertex)
Returns predicate returningtrue
when the inputfield
belongs to the entity of the given vertex.static com.google.common.base.Predicate<DFField>
belongTo(DFEntity ent)
Returns predicate returningtrue
when the inputfield
belongs to the entity.static com.google.common.base.Predicate<DFField>
belongTo(DFResultSet.VertexState vs)
Returns predicate returningtrue
when the inputfield
belongs to the entity of the given vertex state.
-
-
-
Method Detail
-
belongTo
public static com.google.common.base.Predicate<DFField> belongTo(DFResultSet.VertexState vs)
Returns predicate returningtrue
when the inputfield
belongs to the entity of the given vertex state.- Parameters:
vs
- vertex state of interest- Returns:
- the predicate
-
belongTo
public static com.google.common.base.Predicate<DFField> belongTo(DFDataTree.Vertex vertex)
Returns predicate returningtrue
when the inputfield
belongs to the entity of the given vertex.- Parameters:
vertex
- vertex of interest- Returns:
- the predicate
-
-