Class JRDesignQueryChunk
- java.lang.Object
-
- net.sf.jasperreports.engine.base.JRBaseQueryChunk
-
- net.sf.jasperreports.engine.design.JRDesignQueryChunk
-
- All Implemented Interfaces:
Serializable
,Cloneable
,JRChangeEventsSupport
,JRCloneable
,JRQueryChunk
public class JRDesignQueryChunk extends JRBaseQueryChunk implements JRChangeEventsSupport
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
PROPERTY_TEXT
static String
PROPERTY_TOKEN_SEPARATOR
static String
PROPERTY_TOKENS
static String
PROPERTY_TYPE
-
Fields inherited from class net.sf.jasperreports.engine.base.JRBaseQueryChunk
text, tokens, tokenSeparator, type
-
Fields inherited from interface net.sf.jasperreports.engine.JRQueryChunk
PROPERTY_CHUNK_TOKEN_SEPARATOR, TYPE_CLAUSE_TOKENS, TYPE_PARAMETER, TYPE_PARAMETER_CLAUSE, TYPE_TEXT
-
-
Constructor Summary
Constructors Constructor Description JRDesignQueryChunk()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
JRPropertyChangeSupport
getEventSupport()
Returns the property change support object for this instance.void
setText(String text)
void
setTokens(String[] tokens)
Sets the clause tokens for chunks of typeTYPE_CLAUSE_TOKENS
.void
setTokenSeparator(Character tokenSeparator)
Sets the clause tokens separator character for chunks of typeTYPE_CLAUSE_TOKENS
.void
setType(byte type)
-
Methods inherited from class net.sf.jasperreports.engine.base.JRBaseQueryChunk
getText, getTokens, getTokenSeparator, getType
-
-
-
-
Field Detail
-
PROPERTY_TEXT
public static final String PROPERTY_TEXT
- See Also:
- Constant Field Values
-
PROPERTY_TOKENS
public static final String PROPERTY_TOKENS
- See Also:
- Constant Field Values
-
PROPERTY_TOKEN_SEPARATOR
public static final String PROPERTY_TOKEN_SEPARATOR
- See Also:
- Constant Field Values
-
PROPERTY_TYPE
public static final String PROPERTY_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
setType
public void setType(byte type)
-
setText
public void setText(String text)
-
setTokens
public void setTokens(String[] tokens)
Sets the clause tokens for chunks of typeTYPE_CLAUSE_TOKENS
.- Parameters:
tokens
- the clause tokens- See Also:
JRBaseQueryChunk.getTokens()
-
setTokenSeparator
public void setTokenSeparator(Character tokenSeparator)
Sets the clause tokens separator character for chunks of typeTYPE_CLAUSE_TOKENS
.- Parameters:
tokenSeparator
- the clause tokens separator character- See Also:
JRBaseQueryChunk.getTokens()
-
clone
public Object clone()
- Specified by:
clone
in interfaceJRCloneable
- Overrides:
clone
in classJRBaseQueryChunk
-
getEventSupport
public JRPropertyChangeSupport getEventSupport()
Description copied from interface:JRChangeEventsSupport
Returns the property change support object for this instance.- Specified by:
getEventSupport
in interfaceJRChangeEventsSupport
- Returns:
- the property change support object for this instance
-
-