org.eclipse.ohf.bridge.type
Class DocumentQueryPreferencesType
java.lang.Object
org.eclipse.ohf.bridge.type.DocumentQueryPreferencesType
- All Implemented Interfaces:
- java.io.Serializable
public class DocumentQueryPreferencesType
- extends java.lang.Object
- implements java.io.Serializable
Stores user-defined preferences to be used when conducting an
XDS Query.
returnReferencesOnly: When set to true, only an
ID reference to a document is returned. Otherwise a full metadata set is retrurned.
DEFAULT: false
storedQuery: When set to true, the XDS Consumer uses stored query mode
for executing queries. Otherwise it uses SQL mode. DEFAULT: true
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DocumentQueryPreferencesType
public DocumentQueryPreferencesType(boolean pStoredQuery,
boolean pReturnReferencesOnly)
DocumentQueryPreferencesType
public DocumentQueryPreferencesType()
isReturnReferencesOnly
public boolean isReturnReferencesOnly()
setReturnReferencesOnly
public void setReturnReferencesOnly(boolean pReturnReferencesOnly)
isStoredQuery
public boolean isStoredQuery()
setStoredQuery
public void setStoredQuery(boolean pStoredQuery)
toString
public java.lang.String toString()
- Constructs a
String with all attributes in name = value format.
- Overrides:
toString in class java.lang.Object
- Returns:
- a
String representation of this object.