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.1}ResponseMessageType">
<sequence>
<element name="Subscription_ID" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
<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"/>
<element name="Record_Count" type="{http://taxii.mitre.org/messages/taxii_xml_binding-1.1}RecordCountType" minOccurs="0"/>
<element name="Message" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element ref="{http://taxii.mitre.org/messages/taxii_xml_binding-1.1}Content_Block" maxOccurs="unbounded" minOccurs="0"/>
<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" />
<attribute name="more" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="result_id" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
<attribute name="result_part_number" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" default="1" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
collectionName |
protected java.util.List<ContentBlock> |
contentBlocks |
protected javax.xml.datatype.XMLGregorianCalendar |
exclusiveBeginTimestamp |
protected javax.xml.datatype.XMLGregorianCalendar |
inclusiveEndTimestamp |
protected java.lang.String |
message |
protected java.lang.Boolean |
more |
protected RecordCountType |
recordCount |
protected java.lang.String |
resultId |
protected java.math.BigInteger |
resultPartNumber |
protected Signature |
signature |
protected java.lang.String |
subscriptionID |
inResponseToextendedHeaders, messageId| Constructor and Description |
|---|
PollResponse()
Default no-arg constructor
|
PollResponse(ExtendedHeadersType extendedHeaders,
java.lang.String messageId,
java.lang.String inResponseTo,
java.lang.String subscriptionID,
javax.xml.datatype.XMLGregorianCalendar exclusiveBeginTimestamp,
javax.xml.datatype.XMLGregorianCalendar inclusiveEndTimestamp,
RecordCountType recordCount,
java.lang.String message,
java.util.List<ContentBlock> contentBlocks,
Signature signature,
java.lang.String collectionName,
java.lang.Boolean more,
java.lang.String resultId,
java.math.BigInteger resultPartNumber)
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.
|
java.util.List<ContentBlock> |
getContentBlocks()
Returned content.Gets the value of the contentBlocks 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.
|
java.lang.String |
getMessage()
Gets the value of the message property.
|
RecordCountType |
getRecordCount()
Gets the value of the recordCount property.
|
java.lang.String |
getResultId()
Gets the value of the resultId property.
|
java.math.BigInteger |
getResultPartNumber()
Gets the value of the resultPartNumber 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) |
boolean |
isMore()
Gets the value of the more property.
|
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 |
setMessage(java.lang.String value)
Sets the value of the message property.
|
void |
setMore(java.lang.Boolean value)
Sets the value of the more property.
|
void |
setRecordCount(RecordCountType value)
Sets the value of the recordCount property.
|
void |
setResultId(java.lang.String value)
Sets the value of the resultId property.
|
void |
setResultPartNumber(java.math.BigInteger value)
Sets the value of the resultPartNumber 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 |
withCollectionName(java.lang.String value) |
PollResponse |
withContentBlocks(java.util.Collection<ContentBlock> values) |
PollResponse |
withContentBlocks(ContentBlock... values) |
PollResponse |
withExclusiveBeginTimestamp(javax.xml.datatype.XMLGregorianCalendar value) |
PollResponse |
withExtendedHeaders(ExtendedHeadersType 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 |
withMore(java.lang.Boolean value) |
PollResponse |
withRecordCount(RecordCountType value) |
PollResponse |
withResultId(java.lang.String value) |
PollResponse |
withResultPartNumber(java.math.BigInteger value) |
PollResponse |
withSignature(Signature value) |
PollResponse |
withSubscriptionID(java.lang.String value) |
getInResponseTo, setInResponseTogetExtendedHeaders, getMessageId, setExtendedHeaders, setMessageIdprotected java.lang.String subscriptionID
protected javax.xml.datatype.XMLGregorianCalendar exclusiveBeginTimestamp
protected javax.xml.datatype.XMLGregorianCalendar inclusiveEndTimestamp
protected RecordCountType recordCount
protected java.lang.String message
protected java.util.List<ContentBlock> contentBlocks
protected Signature signature
protected java.lang.String collectionName
protected java.lang.Boolean more
protected java.lang.String resultId
protected java.math.BigInteger resultPartNumber
public PollResponse()
public PollResponse(ExtendedHeadersType extendedHeaders, java.lang.String messageId, java.lang.String inResponseTo, java.lang.String subscriptionID, javax.xml.datatype.XMLGregorianCalendar exclusiveBeginTimestamp, javax.xml.datatype.XMLGregorianCalendar inclusiveEndTimestamp, RecordCountType recordCount, java.lang.String message, java.util.List<ContentBlock> contentBlocks, Signature signature, java.lang.String collectionName, java.lang.Boolean more, java.lang.String resultId, java.math.BigInteger resultPartNumber)
public java.lang.String getSubscriptionID()
Stringpublic void setSubscriptionID(java.lang.String value)
value - allowed object is
Stringpublic 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 RecordCountType getRecordCount()
RecordCountTypepublic void setRecordCount(RecordCountType value)
value - allowed object is
RecordCountTypepublic java.lang.String getMessage()
Stringpublic void setMessage(java.lang.String value)
value - allowed object is
Stringpublic 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()
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 isMore()
Booleanpublic void setMore(java.lang.Boolean value)
value - allowed object is
Booleanpublic java.lang.String getResultId()
Stringpublic void setResultId(java.lang.String value)
value - allowed object is
Stringpublic java.math.BigInteger getResultPartNumber()
BigIntegerpublic void setResultPartNumber(java.math.BigInteger value)
value - allowed object is
BigIntegerpublic 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 ResponseMessageTypepublic boolean equals(java.lang.Object object)
equals in class ResponseMessageTypepublic 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 ResponseMessageTypepublic int hashCode()
hashCode in class ResponseMessageTypepublic PollResponse withSubscriptionID(java.lang.String value)
public PollResponse withExclusiveBeginTimestamp(javax.xml.datatype.XMLGregorianCalendar value)
public PollResponse withInclusiveEndTimestamp(javax.xml.datatype.XMLGregorianCalendar value)
public PollResponse withRecordCount(RecordCountType value)
public PollResponse withMessage(java.lang.String value)
public PollResponse withContentBlocks(ContentBlock... values)
public PollResponse withContentBlocks(java.util.Collection<ContentBlock> values)
public PollResponse withSignature(Signature value)
public PollResponse withCollectionName(java.lang.String value)
public PollResponse withMore(java.lang.Boolean value)
public PollResponse withResultId(java.lang.String value)
public PollResponse withResultPartNumber(java.math.BigInteger value)
public PollResponse withInResponseTo(java.lang.String value)
withInResponseTo in class ResponseMessageTypepublic PollResponse withExtendedHeaders(ExtendedHeadersType value)
withExtendedHeaders in class ResponseMessageTypepublic PollResponse withMessageId(java.lang.String value)
withMessageId in class ResponseMessageType