|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DataSourceParameter
The DataSourceParameter interface defines a parameter of a data source.
Example:Getting the DataSourceParameter information from the data source
DataSource[] boUniverses = boQuerySrv.getDataSourceList();
String boUniverseUID = boUniverses[3].getUID();
DataSourceSpecification boUniverseSpecification = boQuerySrv.getDataSource(boUniverseUID);
DataSourceParameter[] DSPs = boUniverseSpecification.getDataSourceParametersArray();
for (int i = 0; i < DSPs.length; i++)
{
DataSourceParameter DSP = DSPs[i];
String DSPName = DSP.getName();
out.print(DSPName);
}
DataSourceParameterType,
DataSourceParameterValue,
DocumentInformation| Nested Class Summary | |
|---|---|
static class |
DataSourceParameter.Factory
A class with methods for creating instances of the DataSourceParameter type. |
| Field Summary | |
|---|---|
static org.apache.xmlbeans.SchemaType |
type
Internal Use Only. |
| Method Summary | |
|---|---|
org.apache.xmlbeans.XmlObject |
addNewDefaultValue()
Internal Use Only. |
java.lang.String |
getClassName()
Retrieves the parameter class name. |
org.apache.xmlbeans.XmlObject[] |
getDefaultValueArray()
Returns the default value for this parameter. |
org.apache.xmlbeans.XmlObject |
getDefaultValueArray(int i)
Returns the default value for this parameter at the specified index position |
java.lang.String |
getName()
Gets the name of the DataSourceParameter. |
boolean |
getRequired()
Returns true, if a input value is required or false if it could be skipped while
processing data source parameter value's setting. |
DataSourceParameterType.Enum |
getType()
Returns the type into which the value can be converted. |
org.apache.xmlbeans.XmlObject |
insertNewDefaultValue(int i)
Internal Use Only. |
boolean |
isSetClassName()
Checks if the ClassName attribute is set. |
boolean |
isSetName()
Checks if the Name attribute is set. |
boolean |
isSetRequired()
Checks if the Required attribute is set. |
boolean |
isSetType()
Checks if the Type attribute is set. |
void |
removeDefaultValue(int i)
Internal Use Only. |
void |
setClassName(java.lang.String className)
Internal Use Only. |
void |
setDefaultValueArray(int i,
org.apache.xmlbeans.XmlObject defaultValue)
Internal Use Only. |
void |
setDefaultValueArray(org.apache.xmlbeans.XmlObject[] defaultValueArray)
Internal Use Only. |
void |
setName(java.lang.String name)
Internal Use Only. |
void |
setRequired(boolean required)
Internal Use Only. |
void |
setType(DataSourceParameterType.Enum type)
Internal Use Only. |
int |
sizeOfDefaultValueArray()
Returns the number of DefaultValue element. |
void |
unsetClassName()
Internal Use Only. |
void |
unsetName()
Internal Use Only. |
void |
unsetRequired()
Internal Use Only. |
void |
unsetType()
Internal Use Only. |
org.apache.xmlbeans.XmlString |
xgetClassName()
Internal Use Only. |
org.apache.xmlbeans.XmlString |
xgetName()
Internal Use Only. |
org.apache.xmlbeans.XmlBoolean |
xgetRequired()
Internal Use Only. |
DataSourceParameterType |
xgetType()
Internal Use Only. |
void |
xsetClassName(org.apache.xmlbeans.XmlString className)
Internal Use Only. |
void |
xsetName(org.apache.xmlbeans.XmlString name)
Internal Use Only. |
void |
xsetRequired(org.apache.xmlbeans.XmlBoolean required)
Internal Use Only. |
void |
xsetType(DataSourceParameterType type)
Internal Use Only. |
| Field Detail |
|---|
static final org.apache.xmlbeans.SchemaType type
Internal Use Only.
| Method Detail |
|---|
org.apache.xmlbeans.XmlObject[] getDefaultValueArray()
null if there isn't one. The value should be cast in DataSourceParameterType#getType().org.apache.xmlbeans.XmlObject getDefaultValueArray(int i)
i - the ith value.
int sizeOfDefaultValueArray()
void setDefaultValueArray(org.apache.xmlbeans.XmlObject[] defaultValueArray)
Internal Use Only.
void setDefaultValueArray(int i,
org.apache.xmlbeans.XmlObject defaultValue)
Internal Use Only.
org.apache.xmlbeans.XmlObject insertNewDefaultValue(int i)
Internal Use Only.
org.apache.xmlbeans.XmlObject addNewDefaultValue()
Internal Use Only.
void removeDefaultValue(int i)
Internal Use Only.
java.lang.String getName()
DataSourceParameter.
org.apache.xmlbeans.XmlString xgetName()
Internal Use Only.
boolean isSetName()
true if the name attribute is set for DataSourceParameter.void setName(java.lang.String name)
Internal Use Only.
void xsetName(org.apache.xmlbeans.XmlString name)
Internal Use Only.
void unsetName()
Internal Use Only.
java.lang.String getClassName()
org.apache.xmlbeans.XmlString xgetClassName()
Internal Use Only.
boolean isSetClassName()
void setClassName(java.lang.String className)
Internal Use Only.
void xsetClassName(org.apache.xmlbeans.XmlString className)
Internal Use Only.
void unsetClassName()
Internal Use Only.
boolean getRequired()
true, if a input value is required or false if it could be skipped while
processing data source parameter value's setting.
true if a value is required for this parameter,
false otherwise.org.apache.xmlbeans.XmlBoolean xgetRequired()
Internal Use Only.
boolean isSetRequired()
true, if the Required attribute is set, otherwise false.void setRequired(boolean required)
Internal Use Only.
void xsetRequired(org.apache.xmlbeans.XmlBoolean required)
Internal Use Only.
void unsetRequired()
Internal Use Only.
DataSourceParameterType.Enum getType()
DataSourceParameterType xgetType()
Internal Use Only.
boolean isSetType()
true if the Type attribute is set for DataSourceParameter, otherwise falsevoid setType(DataSourceParameterType.Enum type)
Internal Use Only.
void xsetType(DataSourceParameterType type)
Internal Use Only.
void unsetType()
Internal Use Only.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||