public class PollResponse extends ResponseMessageType implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Java class for TAXIIPollResponseType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TAXIIPollResponseType"> <complexContent> <extension base="{http://taxii.mitre.org/messages/taxii_xml_binding-1}ResponseMessageType"> <sequence> <element name="Message" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="Inclusive_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"/> <element ref="{http://taxii.mitre.org/messages/taxii_xml_binding-1}Content_Block" 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<ContentBlock> |
contentBlocks |
protected java.lang.String |
feedName |
protected javax.xml.datatype.XMLGregorianCalendar |
inclusiveBeginTimestamp |
protected javax.xml.datatype.XMLGregorianCalendar |
inclusiveEndTimestamp |
protected java.lang.String |
message |
protected Signature |
signature |
protected java.lang.String |
subscriptionId |
inResponseTo
extendedHeaders, messageId
Constructor and Description |
---|
PollResponse()
Default no-arg constructor
|
PollResponse(ExtendedHeadersType extendedHeaders,
java.lang.String messageId,
java.lang.String inResponseTo,
java.lang.String message,
javax.xml.datatype.XMLGregorianCalendar inclusiveBeginTimestamp,
javax.xml.datatype.XMLGregorianCalendar inclusiveEndTimestamp,
java.util.List<ContentBlock> contentBlocks,
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<ContentBlock> |
getContentBlocks()
Returned content.Gets the value of the contentBlocks property.
|
java.lang.String |
getFeedName()
Gets the value of the feedName property.
|
javax.xml.datatype.XMLGregorianCalendar |
getInclusiveBeginTimestamp()
Gets the value of the inclusiveBeginTimestamp property.
|
javax.xml.datatype.XMLGregorianCalendar |
getInclusiveEndTimestamp()
Gets the value of the inclusiveEndTimestamp property.
|
java.lang.String |
getMessage()
Gets the value of the message 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 |
setFeedName(java.lang.String value)
Sets the value of the feedName property.
|
void |
setInclusiveBeginTimestamp(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the inclusiveBeginTimestamp property.
|
void |
setInclusiveEndTimestamp(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the inclusiveEndTimestamp property.
|
void |
setMessage(java.lang.String value)
Sets the value of the message 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.
|
PollResponse |
withContentBlocks(java.util.Collection<ContentBlock> values) |
PollResponse |
withContentBlocks(ContentBlock... values) |
PollResponse |
withExtendedHeaders(ExtendedHeadersType value) |
PollResponse |
withFeedName(java.lang.String value) |
PollResponse |
withInclusiveBeginTimestamp(javax.xml.datatype.XMLGregorianCalendar value) |
PollResponse |
withInclusiveEndTimestamp(javax.xml.datatype.XMLGregorianCalendar value) |
PollResponse |
withInResponseTo(java.lang.String value) |
PollResponse |
withMessage(java.lang.String value) |
PollResponse |
withMessageId(java.lang.String value) |
PollResponse |
withSignature(Signature value) |
PollResponse |
withSubscriptionId(java.lang.String value) |
getInResponseTo, setInResponseTo
getExtendedHeaders, getMessageId, setExtendedHeaders, setMessageId
protected java.lang.String message
protected javax.xml.datatype.XMLGregorianCalendar inclusiveBeginTimestamp
protected javax.xml.datatype.XMLGregorianCalendar inclusiveEndTimestamp
protected java.util.List<ContentBlock> contentBlocks
protected Signature signature
protected java.lang.String feedName
protected java.lang.String subscriptionId
public PollResponse()
public PollResponse(ExtendedHeadersType extendedHeaders, java.lang.String messageId, java.lang.String inResponseTo, java.lang.String message, javax.xml.datatype.XMLGregorianCalendar inclusiveBeginTimestamp, javax.xml.datatype.XMLGregorianCalendar inclusiveEndTimestamp, java.util.List<ContentBlock> contentBlocks, Signature signature, java.lang.String feedName, java.lang.String subscriptionId)
public java.lang.String getMessage()
String
public void setMessage(java.lang.String value)
value
- allowed object is
String
public javax.xml.datatype.XMLGregorianCalendar getInclusiveBeginTimestamp()
XMLGregorianCalendar
public void setInclusiveBeginTimestamp(javax.xml.datatype.XMLGregorianCalendar value)
value
- allowed object is
XMLGregorianCalendar
public javax.xml.datatype.XMLGregorianCalendar getInclusiveEndTimestamp()
XMLGregorianCalendar
public void setInclusiveEndTimestamp(javax.xml.datatype.XMLGregorianCalendar value)
value
- allowed object is
XMLGregorianCalendar
public java.util.List<ContentBlock> getContentBlocks()
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 contentBlocks property.
For example, to add a new item, do as follows:
getContentBlocks().add(newItem);
Objects of the following type(s) are allowed in the list
ContentBlock
public Signature getSignature()
Signature
public void setSignature(Signature value)
value
- allowed object is
Signature
public java.lang.String getFeedName()
String
public void setFeedName(java.lang.String value)
value
- allowed object is
String
public java.lang.String getSubscriptionId()
String
public void setSubscriptionId(java.lang.String value)
value
- allowed object is
String
public 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.Equals
equals
in class ResponseMessageType
public boolean equals(java.lang.Object object)
equals
in class ResponseMessageType
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode
in interface org.jvnet.jaxb2_commons.lang.HashCode
hashCode
in class ResponseMessageType
public int hashCode()
hashCode
in class ResponseMessageType
public PollResponse withMessage(java.lang.String value)
public PollResponse withInclusiveBeginTimestamp(javax.xml.datatype.XMLGregorianCalendar value)
public PollResponse withInclusiveEndTimestamp(javax.xml.datatype.XMLGregorianCalendar value)
public PollResponse withContentBlocks(ContentBlock... values)
public PollResponse withContentBlocks(java.util.Collection<ContentBlock> values)
public PollResponse withSignature(Signature value)
public PollResponse withFeedName(java.lang.String value)
public PollResponse withSubscriptionId(java.lang.String value)
public PollResponse withInResponseTo(java.lang.String value)
withInResponseTo
in class ResponseMessageType
public PollResponse withExtendedHeaders(ExtendedHeadersType value)
withExtendedHeaders
in class ResponseMessageType
public PollResponse withMessageId(java.lang.String value)
withMessageId
in class ResponseMessageType