|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.uql.XDataSource
public abstract class XDataSource
XDataSource defines the API for all data sources. All data source classes are extended from this class, and may choose to add more attributes suitable for that partiular data source type.
| Field Summary | |
|---|---|
static String |
CORBA
CORBA data source. |
static int |
DOMAIN_DB2
Db2 olap domain. |
static int |
DOMAIN_NONE
Domain not supported. |
static int |
DOMAIN_ORACLE
Oracle olap domain. |
static int |
DOMAIN_SQL
Default relational SQL based domain. |
static int |
DOMAIN_SQLSERVER
SQL server olap domain. |
static String |
EJB
EJB entity bean data source. |
static String |
JDBC
JDBC (SQL) data source. |
static String |
OBJECT
Application object data source. |
static String |
SAP
SAP data source. |
static String |
SOAP
SOAP data source. |
static String |
TEXT
Delimited text data source. |
static String |
XML
XML data source. |
static String |
XMLA
XMLA data source. |
| Constructor Summary | |
|---|---|
protected |
XDataSource(String type)
Create a data source of the specified type. |
| Method Summary | |
|---|---|
void |
addFolder(String folder)
Add a query folder to the datasource. |
Object |
clone()
Create a clone of this object. |
boolean |
equals(Object obj)
Check if equals another object. |
String |
getDescription()
Get the description of this data source. |
int |
getDomainType()
Get the domain type associated with this datasource. |
String[] |
getFolders()
Get all folders of a datasource. |
String |
getFullName()
Get the data source full name. |
String |
getName()
Get the data source name. |
abstract UserVariable[] |
getParameters()
Get the data source connection parameters. |
protected String |
getRuntimeValue(String str)
Replace with environment variable. |
String |
getType()
Get the type of the data source. |
int |
hashCode()
Get the hash code value. |
boolean |
isMVEnabled()
Return if materialized view is allowed to create on this datasource. |
void |
parseXML(Element root)
Parse the XML element that contains information on this data source. |
void |
removeFolder(String folder)
Remove a query folder from the datasource. |
void |
removeFolders()
Remove all the query folders. |
void |
setDescription(String desc)
Set the description of this data source. |
void |
setName(String name)
Set the data source name. |
String |
toString()
Get the string representation. |
void |
writeXML(PrintWriter writer)
Generate the XML segment to represent this data source. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static String JDBC
public static String XML
public static String CORBA
public static String EJB
public static String TEXT
public static String SOAP
public static String OBJECT
public static String XMLA
public static String SAP
public static final int DOMAIN_NONE
public static final int DOMAIN_SQL
public static final int DOMAIN_ORACLE
public static final int DOMAIN_DB2
public static final int DOMAIN_SQLSERVER
| Constructor Detail |
|---|
protected XDataSource(String type)
| Method Detail |
|---|
public abstract UserVariable[] getParameters()
public void setName(String name)
public String getName()
public String getFullName()
public String getType()
public int getDomainType()
public void setDescription(String desc)
public String getDescription()
public void addFolder(String folder)
public void removeFolder(String folder)
public String[] getFolders()
public void removeFolders()
public void parseXML(Element root)
throws Exception
parseXML in interface inetsoft.util.XMLSerializableExceptionpublic void writeXML(PrintWriter writer)
writeXML in interface inetsoft.util.XMLSerializablepublic Object clone()
clone in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean isMVEnabled()
public boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Objectprotected String getRuntimeValue(String str)
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||