Package com.jk.data.dynamic.query
Class Keyword
java.lang.Object
com.jk.data.dynamic.query.Keyword
- All Implemented Interfaces:
QueryComponent
The Class Keyword.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final QueryComponent
The Constant AND.static final QueryComponent
The Constant COMMA.static final QueryComponent
The Constant FROM.static final QueryComponent
The Constant INSERT.static final QueryComponent
The Constant INTO.static final QueryComponent
The Constant LEFT_JOIN.static final QueryComponent
The Constant LEFT_PARENTHESES.static final QueryComponent
The Constant OR.static final QueryComponent
The Constant RIGHT_JOIN.static final QueryComponent
The Constant RIGHT_PARENTHESES.static final QueryComponent
The Constant SELECT.static final QueryComponent
The Constant SEMICOLON.static final QueryComponent
The Constant VALUES.static final QueryComponent
The Constant VARIABLE.static final QueryComponent
The Constant WHERE. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
SELECT
The Constant SELECT. -
FROM
The Constant FROM. -
AND
The Constant AND. -
OR
The Constant OR. -
LEFT_JOIN
The Constant LEFT_JOIN. -
RIGHT_JOIN
The Constant RIGHT_JOIN. -
WHERE
The Constant WHERE. -
INSERT
The Constant INSERT. -
VALUES
The Constant VALUES. -
INTO
The Constant INTO. -
COMMA
The Constant COMMA. -
VARIABLE
The Constant VARIABLE. -
LEFT_PARENTHESES
The Constant LEFT_PARENTHESES. -
RIGHT_PARENTHESES
The Constant RIGHT_PARENTHESES. -
SEMICOLON
The Constant SEMICOLON.
-
-
Constructor Details
-
Keyword
public Keyword()Instantiates a new keyword. -
Keyword
Instantiates a new keyword.- Parameters:
name
- the name
-
Keyword
Instantiates a new keyword.- Parameters:
name
- the nameinline
- the inline
-
-
Method Details
-
getName
Gets the name.- Returns:
- the name
-
isInline
public boolean isInline()Checks if is inline.- Specified by:
isInline
in interfaceQueryComponent
- Returns:
- true, if is inline
-
setInline
public void setInline(boolean inline) Sets the inline.- Parameters:
inline
- the new inline
-
setName
Sets the name.- Parameters:
name
- the new name
-
toQueryElement
To query element.- Specified by:
toQueryElement
in interfaceQueryComponent
- Returns:
- the object
-