|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DataSourceParameterValue
The DataSourceParameterValue interface defines the value for data source parameter..
Example:Retrieving the DataSourceParameterValues information
RetrieveDataSourceParameterValues RDSPV = RetrieveDataSourceParameterValues.Factory.newInstance();
RetrieveMustFillInfo fillinfo = RetrieveMustFillInfo.Factory.newInstance();
fillinfo.setRetrieveDataSourceParameterValues(RDSPV);
RetrieveData retBOData = RetrieveData.Factory.newInstance();
RetrieveView retBOView = RetrieveView.Factory.newInstance();
retBOData.setRetrieveView(retBOView);
DocumentInformation boDocInfo = objReportEngine.getDocumentInformation(docid,fillinfo,null,null,retBOData);
DataSourceParameterValue[] DSPVs = boDocInfo.getDataSourceParameterValuesArray();
for(int i =0; i <DSPVs.length;i++)
{
DataSourceParameterValue DSPV = DSPVs[i];
out.println("DataProvider name: " +DSPV.getDPName());
out.println("DataProvider ID: " +DSPV.getDPId());
out.println("DataSourceParameter: " +DSPV.getParameter().getName());
out.println("DataSourceParameterValue: " +DSPV.getValue());
}
DataSourceParameterType,
DataSourceParameterValue,
DocumentInformation| Nested Class Summary | |
|---|---|
static class |
DataSourceParameterValue.Factory
A class with methods for creating instances of the DataSourceParameterValue type. |
| Field Summary | |
|---|---|
static org.apache.xmlbeans.SchemaType |
type
Internal Use Only. |
| Method Summary | |
|---|---|
DataSourceParameter |
addNewParameter()
Internal Use Only. |
org.apache.xmlbeans.XmlObject |
addNewValue()
Appends and returns a new empty Value element. |
boolean |
getDefaultValue()
Gets the DefaultValue attribute. |
DataSourceParameter |
getParameter()
Returns the data source parameter. |
org.apache.xmlbeans.XmlObject |
getValue()
Returns the current parameter value. |
boolean |
isNilParameter()
Checks if the Parameter element is nil. |
boolean |
isNilValue()
Checks if the Value element is nil. |
boolean |
isSetDefaultValue()
Checks if the DefaultValue attribute is set. |
boolean |
isSetParameter()
Checks if the Parameter element is set. |
void |
setDefaultValue(boolean defaultValue)
Internal Use Only. |
void |
setNilParameter()
Internal Use Only. |
void |
setNilValue()
Sets the Value element to nil. |
void |
setParameter(DataSourceParameter parameter)
Internal Use Only. |
void |
setValue(org.apache.xmlbeans.XmlObject value)
Sets the value for this parameter. |
void |
unsetDefaultValue()
Internal Use Only. |
void |
unsetParameter()
Internal Use Only. |
org.apache.xmlbeans.XmlBoolean |
xgetDefaultValue()
Internal Use Only. |
void |
xsetDefaultValue(org.apache.xmlbeans.XmlBoolean defaultValue)
Internal Use Only. |
| Field Detail |
|---|
static final org.apache.xmlbeans.SchemaType type
Internal Use Only.
| Method Detail |
|---|
DataSourceParameter getParameter()
DataSourceParameter definition for this value.boolean isNilParameter()
true if the Parameter attribute is nil, otherwise false.boolean isSetParameter()
true if the Parameter attribute is set, otherwise false.void setParameter(DataSourceParameter parameter)
Internal Use Only.
DataSourceParameter addNewParameter()
Internal Use Only.
void setNilParameter()
Internal Use Only.
void unsetParameter()
Internal Use Only.
org.apache.xmlbeans.XmlObject getValue()
DataSourceParameter.getType().boolean isNilValue()
true if the value attribute is nil, otherwise false.void setValue(org.apache.xmlbeans.XmlObject value)
value - any xmlbean object XmlObject instance which type is defined by DataSourceParameter.getType().org.apache.xmlbeans.XmlObject addNewValue()
void setNilValue()
boolean getDefaultValue()
org.apache.xmlbeans.XmlBoolean xgetDefaultValue()
Internal Use Only.
boolean isSetDefaultValue()
true if the DefaultValue is set, otherwise falsevoid setDefaultValue(boolean defaultValue)
Internal Use Only.
void xsetDefaultValue(org.apache.xmlbeans.XmlBoolean defaultValue)
Internal Use Only.
void unsetDefaultValue()
Internal Use Only.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||