Style Intelligence v12.0

inetsoft.uql
Class DrillSubQuery

java.lang.Object
  extended by inetsoft.uql.DrillSubQuery
All Implemented Interfaces:
inetsoft.util.XMLSerializable, Serializable, Cloneable

public class DrillSubQuery
extends Object
implements inetsoft.util.XMLSerializable, Serializable, Cloneable

DrillSubQuery represents a sub-query in a drill path.

See Also:
Serialized Form

Constructor Summary
DrillSubQuery()
          Constructor.
 
Method Summary
 void clear()
          Clear the subquery.
 Object clone()
          Create a clone of this object.
 boolean equals(DrillSubQuery subquery)
          Check if equals another query.
 String getParameter(String name)
          Get a parameter with name.
 Iterator getParameterNames()
          Get parameter names.
 String getQuery()
          Get name of subquery.
 void parseXML(Element tag)
          Parse the XML element that contains information on this query.
 void setParameter(String name, String value)
          Set name and value of parameter in a container.
 void setQuery(String query)
          Set name of subquery.
 void writeXML(PrintWriter writer)
          Generate the XML segment to represent this query.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DrillSubQuery

public DrillSubQuery()
Constructor.

Method Detail

getParameterNames

public Iterator getParameterNames()
Get parameter names.

Returns:
all parameter names.

getParameter

public String getParameter(String name)
Get a parameter with name.

Parameters:
name - name of parameter specification.
Returns:
parameter with specified name.

setParameter

public void setParameter(String name,
                         String value)
Set name and value of parameter in a container.

Parameters:
name - name of parameter.
value - value of parameter.

getQuery

public String getQuery()
Get name of subquery.

Returns:
name of subquery.

setQuery

public void setQuery(String query)
Set name of subquery.

Parameters:
query - name of subquery.

equals

public boolean equals(DrillSubQuery subquery)
Check if equals another query.

Parameters:
subquery - another subquery.
Returns:
true is equal with another subquery. and is not equal with another subquery.

clear

public void clear()
Clear the subquery.


clone

public Object clone()
Create a clone of this object.

Overrides:
clone in class Object

parseXML

public void parseXML(Element tag)
Parse the XML element that contains information on this query.

Specified by:
parseXML in interface inetsoft.util.XMLSerializable
Parameters:
tag - the specified element xml tag represents wizard.

writeXML

public void writeXML(PrintWriter writer)
Generate the XML segment to represent this query. param writer the destination print writer.

Specified by:
writeXML in interface inetsoft.util.XMLSerializable

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.