Package com.jk.data.dynamic.query
Class StringReturnValue
java.lang.Object
com.jk.data.dynamic.query.StringReturnValue
- All Implemented Interfaces:
 QueryComponent,ReturnValue
This class represents a return value or selection criteria in a query
 expressed as a string.
 
 It implements the ReturnValue interface.
- Version:
 - 1.0
 - Author:
 - Dr. Jalal H. Kiswani
 
- 
Constructor Summary
ConstructorsConstructorDescriptionStringReturnValue(String returnValue) This method constructs a newStringReturnValuewith a specified return value string. - 
Method Summary
Modifier and TypeMethodDescriptionThis method gets the return value.booleanisInline()This method determines whether the query component should be rendered in-line in the query structure (true) or not (false).voidsetReturnValue(String returnValue) This method sets the return value to the provided one.This method converts the query component into a query element that can be included in the query structure. 
- 
Constructor Details
- 
StringReturnValue
This method constructs a newStringReturnValuewith a specified return value string.- Parameters:
 returnValue- Specifies the return value string.
 
 - 
 - 
Method Details
- 
getReturnValue
This method gets the return value.- Returns:
 - the return value.
 
 - 
isInline
public boolean isInline()This method determines whether the query component should be rendered in-line in the query structure (true) or not (false).- Specified by:
 isInlinein interfaceQueryComponent- Returns:
 - true.
 
 - 
setReturnValue
This method sets the return value to the provided one.- Parameters:
 returnValue- Specifies the new return value.
 - 
toQueryElement
This method converts the query component into a query element that can be included in the query structure.- Specified by:
 toQueryElementin interfaceQueryComponent- Returns:
 - the query element, which can be a string or any appropriate object representation.
 
 
 -