Package webwork.util
Class QuerySegment
java.lang.Object
webwork.util.QuerySegment
A segment of a ValueStack Query.
- Version:
- $Revision: 1.11 $
- Author:
- Maurice C. Parker (maurice@vineyardenterprise.com)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionQuerySegment(int type) QuerySegment(String id, int type) QuerySegment(String id, Query query, int type) -
Method Summary
-
Field Details
-
STRING
public static final int STRING- See Also:
-
TRUE
public static final int TRUE- See Also:
-
FALSE
public static final int FALSE- See Also:
-
CURRENT
public static final int CURRENT- See Also:
-
PARENT
public static final int PARENT- See Also:
-
ROOT
public static final int ROOT- See Also:
-
ATTRIBUTE
public static final int ATTRIBUTE- See Also:
-
PARAMETER
public static final int PARAMETER- See Also:
-
PROPERTY
public static final int PROPERTY- See Also:
-
COLLECTION
public static final int COLLECTION- See Also:
-
METHOD
public static final int METHOD- See Also:
-
EXPAND
public static final int EXPAND- See Also:
-
NUMBER
public static final int NUMBER- See Also:
-
NULL
public static final int NULL- See Also:
-
CONCAT
public static final int CONCAT- See Also:
-
-
Constructor Details
-
QuerySegment
public QuerySegment(int type) -
QuerySegment
-
QuerySegment
-
-
Method Details
-
addValue
Add a value that is associated with this QuerySegment. -
createValues
public void createValues() -
getId
Return the identification string. -
getQuery
-
getType
public int getType()Return this QuerySegments type. The type is used to identify if this QuerySegment will be used to access an object property, an object method, or a Collection. -
getValues
Returns a list of values for this QuerySegment. -
toString
-