net.sf.jasperreports.engine.base
Class JRBaseQueryChunk

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

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  String text
           
protected  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
 Object clone()
           
 String getText()
           
 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 String text

tokens

protected 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 String getText()
Specified by:
getText in interface JRQueryChunk

getTokens

public 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 Object clone()
Specified by:
clone in interface JRCloneable
Overrides:
clone in class Object


Copyright © 2012. All Rights Reserved.