Style Intelligence v12.0

inetsoft.uql.util
Class HierDataSource

java.lang.Object
  extended by inetsoft.uql.XDataSource
      extended by inetsoft.uql.util.HierDataSource
All Implemented Interfaces:
inetsoft.util.XMLSerializable, Serializable, Cloneable
Direct Known Subclasses:
ObjectDataSource, SoapDataSource, XMLDataSource

public abstract class HierDataSource
extends XDataSource

Hierarchial data source class. Most data source types are hierarchical, including XML, Object. All hierarchical data source classes are extended from this class.

See Also:
Serialized Form

Field Summary
static String GET
          HTTP GET method.
static String POST
          HTTP POST method.
 
Fields inherited from class inetsoft.uql.XDataSource
CORBA, DOMAIN_DB2, DOMAIN_NONE, DOMAIN_ORACLE, DOMAIN_SQL, DOMAIN_SQLSERVER, EJB, JDBC, OBJECT, SAP, SOAP, TEXT, XML, XMLA
 
Constructor Summary
HierDataSource(String type)
          Create hierarchical data source.
 
Method Summary
 UserVariable[] getParameters()
          Get the data source connection parameters.
abstract  String getRequest(int idx)
          Get the data source item name.
abstract  int getRequestCount()
          Get the number of requests.
abstract  XTypeNode getRequestInputType(String item)
          Get the input type of the specified request.
abstract  XTypeNode getRequestOutputType(String qname)
          Get the output type of the specified request.
abstract  XNode getRequestParameters(String qname)
          Get the parameters of the specified request.
 inetsoft.uql.util.jtype.TypeResolver getTypeResolver()
          Get the type resolver.
abstract  void setRequestParameters(String qname, XNode param)
          Set the parameters of the specified request.
 void setTypeResolver(inetsoft.uql.util.jtype.TypeResolver resolver)
          Set the type resolver for resolving type of items in any collection.
 
Methods inherited from class inetsoft.uql.XDataSource
addFolder, clone, equals, getDescription, getDomainType, getFolders, getFullName, getName, getRuntimeValue, getType, hashCode, isMVEnabled, parseXML, removeFolder, removeFolders, setDescription, setName, toString, writeXML
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

POST

public static final String POST
HTTP POST method.

See Also:
Constant Field Values

GET

public static final String GET
HTTP GET method.

See Also:
Constant Field Values
Constructor Detail

HierDataSource

public HierDataSource(String type)
Create hierarchical data source.

Method Detail

getParameters

public UserVariable[] getParameters()
Get the data source connection parameters.

Specified by:
getParameters in class XDataSource

getRequest

public abstract String getRequest(int idx)
Get the data source item name.


getRequestCount

public abstract int getRequestCount()
Get the number of requests.


getRequestParameters

public abstract XNode getRequestParameters(String qname)
Get the parameters of the specified request.

Parameters:
method - request name.

setRequestParameters

public abstract void setRequestParameters(String qname,
                                          XNode param)
Set the parameters of the specified request.

Parameters:
method - request name.
params - parameters represented as a tree.

getRequestOutputType

public abstract XTypeNode getRequestOutputType(String qname)
Get the output type of the specified request.

Parameters:
method - request name.
Returns:
request output type.

getRequestInputType

public abstract XTypeNode getRequestInputType(String item)
Get the input type of the specified request.

Parameters:
method - request name.
Returns:
request input type.

setTypeResolver

public void setTypeResolver(inetsoft.uql.util.jtype.TypeResolver resolver)
Set the type resolver for resolving type of items in any collection.


getTypeResolver

public inetsoft.uql.util.jtype.TypeResolver getTypeResolver()
Get the type resolver.


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