Package net.sf.jasperreports.engine.base
Class JRBaseQueryChunk
- java.lang.Object
-
- net.sf.jasperreports.engine.base.JRBaseQueryChunk
-
- All Implemented Interfaces:
Serializable
,Cloneable
,JRCloneable
,JRQueryChunk
- Direct Known Subclasses:
JRDesignQueryChunk
public class JRBaseQueryChunk extends Object implements JRQueryChunk, Serializable
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
text
protected String[]
tokens
protected Character
tokenSeparator
protected byte
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 Modifier Constructor Description protected
JRBaseQueryChunk()
protected
JRBaseQueryChunk(JRQueryChunk queryChunk, JRBaseObjectFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
String
getText()
String[]
getTokens()
Returns the chunk tokens forclause
chunks.Character
getTokenSeparator()
Returns the chunk tokens separator character forclause
chunks.byte
getType()
-
-
-
Constructor Detail
-
JRBaseQueryChunk
protected JRBaseQueryChunk()
-
JRBaseQueryChunk
protected JRBaseQueryChunk(JRQueryChunk queryChunk, JRBaseObjectFactory factory)
-
-
Method Detail
-
getType
public byte getType()
- Specified by:
getType
in interfaceJRQueryChunk
-
getText
public String getText()
- Specified by:
getText
in interfaceJRQueryChunk
-
getTokens
public String[] getTokens()
Description copied from interface:JRQueryChunk
Returns the chunk tokens forclause
chunks.- Specified by:
getTokens
in interfaceJRQueryChunk
- Returns:
- the chunk tokens
-
getTokenSeparator
public Character getTokenSeparator()
Description copied from interface:JRQueryChunk
Returns the chunk tokens separator character forclause
chunks.- Specified by:
getTokenSeparator
in interfaceJRQueryChunk
- Returns:
- the chunk tokens separator character
-
clone
public Object clone()
- Specified by:
clone
in interfaceJRCloneable
- Overrides:
clone
in classObject
-
-