|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nbi.xmlsec.biocase.protocol.ProtocolType nbi.xmlsec.biocase.protocol.OperationType nbi.xmlsec.biocase.protocol.SearchOperationType
This class wraps the BioCASE protocol treeElements search operation type.
Field Summary | |
(package private) Boolean |
count
The count |
private static Boolean |
DEFAULT_COUNT
Default value of the count |
private static Integer |
DEFAULT_RESPONSEFORMAT_LIMIT
Default value for the limit attribute of the response format |
private static Integer |
DEFAULT_RESPONSEFORMAT_START
Default value for the start attribute of the response format |
(package private) Operator |
filter
The filter operator of this search operation |
(package private) static Logger |
logger
|
(package private) String |
responseFormat
The response format |
(package private) Integer |
responseFormatLimit
The attribute limit of the response format |
(package private) Integer |
responseFormatStart
The attribute start of the response format |
(package private) String |
responseFormatTransformation
The attribute transformation of the response format |
Fields inherited from class nbi.xmlsec.biocase.protocol.OperationType |
requestFormat |
Fields inherited from class nbi.xmlsec.biocase.protocol.ProtocolType |
protocolURI |
Constructor Summary | |
SearchOperationType(String protocolURI)
Inits this instance. |
Method Summary | |
Boolean |
getCount()
Gets the count |
Operator |
getFilter()
Gets the filter |
String |
getResponseFormat()
Gets the responseFormat |
Integer |
getResponseFormatLimit()
Gets the limit attribute of the response format. |
Integer |
getResponseFormatStart()
Gets the start attribute of the response format. |
String |
getResponseFormatTransformation()
Gets the responseFormatTransformation |
boolean |
isCount()
If the value is null, the defined default value ( DEFAULT_COUNT ) is returned. |
void |
setCount(Boolean count)
Sets count. |
void |
setCount(String count)
Sets count. |
void |
setFilter(Operator filter)
Sets filter |
void |
setResponseFormat(String responseFormat)
Sets responseFormat |
void |
setResponseFormatLimit(Integer responseFormatLimit)
Sets the limit attribute of the response format. |
void |
setResponseFormatStart(Integer responseFormatStart)
Sets the start attribute of the response format. |
void |
setResponseFormatTransformation(String responseFormatTransformation)
Sets responseFormatTransformation |
String |
toString()
|
void |
write(ContentHandler out)
Writes the Operation type to a SAX Stream. |
Methods inherited from class nbi.xmlsec.biocase.protocol.OperationType |
getRequestFormat, setRequestFormat |
Methods inherited from class nbi.xmlsec.biocase.protocol.ProtocolType |
getProtocolURI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
static Logger logger
private static final Integer DEFAULT_RESPONSEFORMAT_START
private static final Integer DEFAULT_RESPONSEFORMAT_LIMIT
private static final Boolean DEFAULT_COUNT
String responseFormat
Integer responseFormatStart
Integer responseFormatLimit
String responseFormatTransformation
Operator filter
Boolean count
Constructor Detail |
public SearchOperationType(String protocolURI)
protocolURI
- The protocol version of this instance.Method Detail |
public void write(ContentHandler out) throws SAXException
write
in class OperationType
out
- ContentHandler
to write to.
SAXException
public String toString()
toString
in class OperationType
public boolean isCount()
DEFAULT_COUNT
) is returned.
public Integer getResponseFormatLimit()
DEFAULT_RESPONSEFORMAT_LIMIT
) is
returned.
public Integer getResponseFormatStart()
DEFAULT_RESPONSEFORMAT_START
) is
returned.
public void setCount(Boolean count)
count
- The count to set.public void setCount(String count)
DEFAULT_RESPONSEFORMAT_LIMIT
) is
set.
count
- The count to set.public void setResponseFormatLimit(Integer responseFormatLimit)
DEFAULT_RESPONSEFORMAT_LIMIT
) is
set.
responseFormatLimit
- The responseFormatLimit to set.public void setResponseFormatStart(Integer responseFormatStart)
DEFAULT_RESPONSEFORMAT_START
) is
set.
responseFormatStart
- The responseFormatStart to set.public Operator getFilter()
public void setFilter(Operator filter)
filter
- The filter to set.public String getResponseFormat()
public void setResponseFormat(String responseFormat)
responseFormat
- The responseFormat to set.public String getResponseFormatTransformation()
public void setResponseFormatTransformation(String responseFormatTransformation)
responseFormatTransformation
- The responseFormatTransformation to set.public Boolean getCount()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |