Package net.sf.jasperreports.engine.base
Class JRBaseQueryChunk
- java.lang.Object
-
- net.sf.jasperreports.engine.base.JRBaseQueryChunk
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,JRCloneable,JRQueryChunk
- Direct Known Subclasses:
JRDesignQueryChunk
public class JRBaseQueryChunk extends java.lang.Object implements JRQueryChunk, java.io.Serializable
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringtextprotected java.lang.String[]tokensprotected java.lang.CharactertokenSeparatorprotected bytetype-
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 Modifier Constructor Description protectedJRBaseQueryChunk()protectedJRBaseQueryChunk(JRQueryChunk queryChunk, JRBaseObjectFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()java.lang.StringgetText()java.lang.String[]getTokens()Returns the chunk tokens forclausechunks.java.lang.CharactergetTokenSeparator()Returns the chunk tokens separator character forclausechunks.bytegetType()
-
-
-
Constructor Detail
-
JRBaseQueryChunk
protected JRBaseQueryChunk()
-
JRBaseQueryChunk
protected JRBaseQueryChunk(JRQueryChunk queryChunk, JRBaseObjectFactory factory)
-
-
Method Detail
-
getType
public byte getType()
- Specified by:
getTypein interfaceJRQueryChunk
-
getText
public java.lang.String getText()
- Specified by:
getTextin interfaceJRQueryChunk
-
getTokens
public java.lang.String[] getTokens()
Description copied from interface:JRQueryChunkReturns the chunk tokens forclausechunks.- Specified by:
getTokensin interfaceJRQueryChunk- Returns:
- the chunk tokens
-
getTokenSeparator
public java.lang.Character getTokenSeparator()
Description copied from interface:JRQueryChunkReturns the chunk tokens separator character forclausechunks.- Specified by:
getTokenSeparatorin interfaceJRQueryChunk- Returns:
- the chunk tokens separator character
-
clone
public java.lang.Object clone()
- Specified by:
clonein interfaceJRCloneable- Overrides:
clonein classjava.lang.Object
-
-