net.sf.jasperreports.engine.base
Class JRBaseQueryChunk

java.lang.Object
  extended by 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

Version:
$Id: JRBaseQueryChunk.java 5180 2012-03-29 13:23:12Z teodord $
Author:
Teodor Danciu (teodord@users.sourceforge.net)
See Also:
Serialized Form

Field Summary
protected  java.lang.String text
           
protected  java.lang.String[] tokens
           
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
protected JRBaseQueryChunk()
           
protected JRBaseQueryChunk(JRQueryChunk queryChunk, JRBaseObjectFactory factory)
           
 
Method Summary
 java.lang.Object clone()
           
 java.lang.String getText()
           
 java.lang.String[] getTokens()
          Returns the chunk tokens for clause chunks.
 byte getType()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

protected byte type

text

protected java.lang.String text

tokens

protected java.lang.String[] tokens
Constructor Detail

JRBaseQueryChunk

protected JRBaseQueryChunk()

JRBaseQueryChunk

protected JRBaseQueryChunk(JRQueryChunk queryChunk,
                           JRBaseObjectFactory factory)
Method Detail

getType

public byte getType()
Specified by:
getType in interface JRQueryChunk

getText

public java.lang.String getText()
Specified by:
getText in interface JRQueryChunk

getTokens

public java.lang.String[] getTokens()
Description copied from interface: JRQueryChunk
Returns the chunk tokens for clause chunks.

Specified by:
getTokens in interface JRQueryChunk
Returns:
the chunk tokens

clone

public java.lang.Object clone()
Specified by:
clone in interface JRCloneable
Overrides:
clone in class java.lang.Object


© 2001-2010 Jaspersoft Corporation www.jaspersoft.com