public class PollRequest extends RequestMessageType implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Java class for TAXIIPollRequestType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TAXIIPollRequestType">
<complexContent>
<extension base="{http://taxii.mitre.org/messages/taxii_xml_binding-1.1}RequestMessageType">
<sequence>
<element name="Exclusive_Begin_Timestamp" type="{http://taxii.mitre.org/messages/taxii_xml_binding-1.1}TimestampLabelType" minOccurs="0"/>
<element name="Inclusive_End_Timestamp" type="{http://taxii.mitre.org/messages/taxii_xml_binding-1.1}TimestampLabelType" minOccurs="0"/>
<choice>
<element name="Subscription_ID" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
<element name="Poll_Parameters" type="{http://taxii.mitre.org/messages/taxii_xml_binding-1.1}PollParametersType"/>
</choice>
<element ref="{http://www.w3.org/2000/09/xmldsig#}Signature" minOccurs="0"/>
</sequence>
<attribute name="collection_name" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
collectionName |
protected javax.xml.datatype.XMLGregorianCalendar |
exclusiveBeginTimestamp |
protected javax.xml.datatype.XMLGregorianCalendar |
inclusiveEndTimestamp |
protected PollParametersType |
pollParameters |
protected Signature |
signature |
protected java.lang.String |
subscriptionID |
extendedHeaders, messageId| Constructor and Description |
|---|
PollRequest()
Default no-arg constructor
|
PollRequest(ExtendedHeadersType extendedHeaders,
java.lang.String messageId,
javax.xml.datatype.XMLGregorianCalendar exclusiveBeginTimestamp,
javax.xml.datatype.XMLGregorianCalendar inclusiveEndTimestamp,
PollParametersType pollParameters,
java.lang.String subscriptionID,
Signature signature,
java.lang.String collectionName)
Fully-initialising value constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
java.lang.String |
getCollectionName()
Gets the value of the collectionName property.
|
javax.xml.datatype.XMLGregorianCalendar |
getExclusiveBeginTimestamp()
Gets the value of the exclusiveBeginTimestamp property.
|
javax.xml.datatype.XMLGregorianCalendar |
getInclusiveEndTimestamp()
Gets the value of the inclusiveEndTimestamp property.
|
PollParametersType |
getPollParameters()
Gets the value of the pollParameters property.
|
Signature |
getSignature()
An XML Digital Signature scoped to this message.
|
java.lang.String |
getSubscriptionID()
Gets the value of the subscriptionID property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setCollectionName(java.lang.String value)
Sets the value of the collectionName property.
|
void |
setExclusiveBeginTimestamp(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the exclusiveBeginTimestamp property.
|
void |
setInclusiveEndTimestamp(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the inclusiveEndTimestamp property.
|
void |
setPollParameters(PollParametersType value)
Sets the value of the pollParameters property.
|
void |
setSignature(Signature value)
Sets the value of the signature property.
|
void |
setSubscriptionID(java.lang.String value)
Sets the value of the subscriptionID property.
|
PollRequest |
withCollectionName(java.lang.String value) |
PollRequest |
withExclusiveBeginTimestamp(javax.xml.datatype.XMLGregorianCalendar value) |
PollRequest |
withExtendedHeaders(ExtendedHeadersType value) |
PollRequest |
withInclusiveEndTimestamp(javax.xml.datatype.XMLGregorianCalendar value) |
PollRequest |
withMessageId(java.lang.String value) |
PollRequest |
withPollParameters(PollParametersType value) |
PollRequest |
withSignature(Signature value) |
PollRequest |
withSubscriptionID(java.lang.String value) |
getExtendedHeaders, getMessageId, setExtendedHeaders, setMessageIdprotected javax.xml.datatype.XMLGregorianCalendar exclusiveBeginTimestamp
protected javax.xml.datatype.XMLGregorianCalendar inclusiveEndTimestamp
protected PollParametersType pollParameters
protected java.lang.String subscriptionID
protected Signature signature
protected java.lang.String collectionName
public PollRequest()
public PollRequest(ExtendedHeadersType extendedHeaders, java.lang.String messageId, javax.xml.datatype.XMLGregorianCalendar exclusiveBeginTimestamp, javax.xml.datatype.XMLGregorianCalendar inclusiveEndTimestamp, PollParametersType pollParameters, java.lang.String subscriptionID, Signature signature, java.lang.String collectionName)
public javax.xml.datatype.XMLGregorianCalendar getExclusiveBeginTimestamp()
XMLGregorianCalendarpublic void setExclusiveBeginTimestamp(javax.xml.datatype.XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic javax.xml.datatype.XMLGregorianCalendar getInclusiveEndTimestamp()
XMLGregorianCalendarpublic void setInclusiveEndTimestamp(javax.xml.datatype.XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic PollParametersType getPollParameters()
PollParametersTypepublic void setPollParameters(PollParametersType value)
value - allowed object is
PollParametersTypepublic java.lang.String getSubscriptionID()
Stringpublic void setSubscriptionID(java.lang.String value)
value - allowed object is
Stringpublic Signature getSignature()
Signaturepublic void setSignature(Signature value)
value - allowed object is
Signaturepublic java.lang.String getCollectionName()
Stringpublic void setCollectionName(java.lang.String value)
value - allowed object is
Stringpublic boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalsequals in class RequestMessageTypepublic boolean equals(java.lang.Object object)
equals in class RequestMessageTypepublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodehashCode in class RequestMessageTypepublic int hashCode()
hashCode in class RequestMessageTypepublic PollRequest withExclusiveBeginTimestamp(javax.xml.datatype.XMLGregorianCalendar value)
public PollRequest withInclusiveEndTimestamp(javax.xml.datatype.XMLGregorianCalendar value)
public PollRequest withPollParameters(PollParametersType value)
public PollRequest withSubscriptionID(java.lang.String value)
public PollRequest withSignature(Signature value)
public PollRequest withCollectionName(java.lang.String value)
public PollRequest withExtendedHeaders(ExtendedHeadersType value)
withExtendedHeaders in class RequestMessageTypepublic PollRequest withMessageId(java.lang.String value)
withMessageId in class RequestMessageType