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}RequestMessageType">
<sequence>
<element name="Exclusive_Begin_Timestamp" type="{http://taxii.mitre.org/messages/taxii_xml_binding-1}TimestampLabelType" minOccurs="0"/>
<element name="Inclusive_End_Timestamp" type="{http://taxii.mitre.org/messages/taxii_xml_binding-1}TimestampLabelType" minOccurs="0"/>
<element name="Content_Binding" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.w3.org/2000/09/xmldsig#}Signature" minOccurs="0"/>
</sequence>
<attribute name="feed_name" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
<attribute name="subscription_id" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<java.lang.String> |
contentBindings |
protected javax.xml.datatype.XMLGregorianCalendar |
exclusiveBeginTimestamp |
protected java.lang.String |
feedName |
protected javax.xml.datatype.XMLGregorianCalendar |
inclusiveEndTimestamp |
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,
java.util.List<java.lang.String> contentBindings,
Signature signature,
java.lang.String feedName,
java.lang.String subscriptionId)
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.util.List<java.lang.String> |
getContentBindings()
Gets the value of the contentBindings property.
|
javax.xml.datatype.XMLGregorianCalendar |
getExclusiveBeginTimestamp()
Gets the value of the exclusiveBeginTimestamp property.
|
java.lang.String |
getFeedName()
Gets the value of the feedName property.
|
javax.xml.datatype.XMLGregorianCalendar |
getInclusiveEndTimestamp()
Gets the value of the inclusiveEndTimestamp 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 |
setExclusiveBeginTimestamp(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the exclusiveBeginTimestamp property.
|
void |
setFeedName(java.lang.String value)
Sets the value of the feedName property.
|
void |
setInclusiveEndTimestamp(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the inclusiveEndTimestamp 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 |
withContentBindings(java.util.Collection<java.lang.String> values) |
PollRequest |
withContentBindings(java.lang.String... values) |
PollRequest |
withExclusiveBeginTimestamp(javax.xml.datatype.XMLGregorianCalendar value) |
PollRequest |
withExtendedHeaders(ExtendedHeadersType value) |
PollRequest |
withFeedName(java.lang.String value) |
PollRequest |
withInclusiveEndTimestamp(javax.xml.datatype.XMLGregorianCalendar value) |
PollRequest |
withMessageId(java.lang.String 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 java.util.List<java.lang.String> contentBindings
protected Signature signature
protected java.lang.String feedName
protected java.lang.String subscriptionId
public PollRequest()
public PollRequest(ExtendedHeadersType extendedHeaders, java.lang.String messageId, javax.xml.datatype.XMLGregorianCalendar exclusiveBeginTimestamp, javax.xml.datatype.XMLGregorianCalendar inclusiveEndTimestamp, java.util.List<java.lang.String> contentBindings, Signature signature, java.lang.String feedName, java.lang.String subscriptionId)
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 java.util.List<java.lang.String> getContentBindings()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the contentBindings property.
For example, to add a new item, do as follows:
getContentBindings().add(newItem);
Objects of the following type(s) are allowed in the list
String
public Signature getSignature()
Signaturepublic void setSignature(Signature value)
value - allowed object is
Signaturepublic java.lang.String getFeedName()
Stringpublic void setFeedName(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getSubscriptionId()
Stringpublic void setSubscriptionId(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 withContentBindings(java.lang.String... values)
public PollRequest withContentBindings(java.util.Collection<java.lang.String> values)
public PollRequest withSignature(Signature value)
public PollRequest withFeedName(java.lang.String value)
public PollRequest withSubscriptionId(java.lang.String value)
public PollRequest withExtendedHeaders(ExtendedHeadersType value)
withExtendedHeaders in class RequestMessageTypepublic PollRequest withMessageId(java.lang.String value)
withMessageId in class RequestMessageType