|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Entry
The Entry interface represents an entry saved in persistent
storage by the Web Service provider.
Example:Retrieve the dictionary entries of the user.
String endPointURL = "http://localhost:8080/dswsbobje/services/Session";
com.businessobjects.dsws.Connection con = new Connection(new URL(endPointURL));
Session objSession = new Session(con);
EnterpriseCredential ec = EnterpriseCredential.Factory.newInstance();
ec.setLogin("Administrator");
ec.setPassword("");
ec.setAuthType("secEnterprise");
SessionInfo sessionInfo = objSession.login(ec);
Entry[] objEntrys = objSession.getDictionary(DictionaryType.USER);
for(int i=0;i< objEntrys.length; i++)
{
Entry objEntry = objEntrys[i];
String strName = objEntry.getName();
Object objValue = objEntry.getValue();
String strValue = objValue.toString();
out.print(strName);
out.print(strValue);
}
| Nested Class Summary | |
|---|---|
static class |
Entry.Factory
A class with methods for creating instances of the Entry type. |
| Field Summary | |
|---|---|
static org.apache.xmlbeans.SchemaType |
type
Internal Use Only. |
| Method Summary | |
|---|---|
org.apache.xmlbeans.XmlObject |
addNewValue()
Appends and returns a new empty Value element. |
java.lang.String |
getName()
Returns the entry name. |
org.apache.xmlbeans.XmlObject |
getValue()
Returns the entry value. |
boolean |
isNilValue()
Checks if the value of the nil Value element is set to Nil. |
void |
setName(java.lang.String name)
Sets the Entry name. |
void |
setNilValue()
Sets the value of the Value element to Nil. |
void |
setValue(org.apache.xmlbeans.XmlObject value)
Sets the Entry value
Note:The entry value will be used as a UNIQUE key ID. |
org.apache.xmlbeans.XmlString |
xgetName()
Internal Use Only. |
void |
xsetName(org.apache.xmlbeans.XmlString name)
Internal Use Only. |
| Field Detail |
|---|
static final org.apache.xmlbeans.SchemaType type
| Method Detail |
|---|
org.apache.xmlbeans.XmlObject getValue()
boolean isNilValue()
Value element is set to Nil.
true if the Value element has been set,otherwise false.void setValue(org.apache.xmlbeans.XmlObject value)
Entry value
value - a string containing the entry value.org.apache.xmlbeans.XmlObject addNewValue()
Value element.
Value object.void setNilValue()
java.lang.String getName()
String containing the name to be assigned to the Entry.org.apache.xmlbeans.XmlString xgetName()
Internal Use Only.
void setName(java.lang.String name)
Entry name.
name - a String containing the entry name.void xsetName(org.apache.xmlbeans.XmlString name)
Internal Use Only.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||