public class FeedInformationResponse extends ResponseMessageType implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Java class for TAXIIFeedInformationResponseType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TAXIIFeedInformationResponseType"> <complexContent> <extension base="{http://taxii.mitre.org/messages/taxii_xml_binding-1}ResponseMessageType"> <sequence> <element name="Feed" type="{http://taxii.mitre.org/messages/taxii_xml_binding-1}FeedRecordType" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected java.util.List<FeedRecordType> |
feeds |
protected Signature |
signature |
inResponseTo
extendedHeaders, messageId
Constructor and Description |
---|
FeedInformationResponse()
Default no-arg constructor
|
FeedInformationResponse(ExtendedHeadersType extendedHeaders,
java.lang.String messageId,
java.lang.String inResponseTo,
java.util.List<FeedRecordType> feeds,
Signature signature)
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<FeedRecordType> |
getFeeds()
Gets the value of the feeds property.
|
Signature |
getSignature()
An XML Digital Signature scoped to this message.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setSignature(Signature value)
Sets the value of the signature property.
|
FeedInformationResponse |
withExtendedHeaders(ExtendedHeadersType value) |
FeedInformationResponse |
withFeeds(java.util.Collection<FeedRecordType> values) |
FeedInformationResponse |
withFeeds(FeedRecordType... values) |
FeedInformationResponse |
withInResponseTo(java.lang.String value) |
FeedInformationResponse |
withMessageId(java.lang.String value) |
FeedInformationResponse |
withSignature(Signature value) |
getInResponseTo, setInResponseTo
getExtendedHeaders, getMessageId, setExtendedHeaders, setMessageId
protected java.util.List<FeedRecordType> feeds
protected Signature signature
public FeedInformationResponse()
public FeedInformationResponse(ExtendedHeadersType extendedHeaders, java.lang.String messageId, java.lang.String inResponseTo, java.util.List<FeedRecordType> feeds, Signature signature)
public java.util.List<FeedRecordType> getFeeds()
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 feeds property.
For example, to add a new item, do as follows:
getFeeds().add(newItem);
Objects of the following type(s) are allowed in the list
FeedRecordType
public Signature getSignature()
Signature
public void setSignature(Signature value)
value
- allowed object is
Signature
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 FeedInformationResponse withFeeds(FeedRecordType... values)
public FeedInformationResponse withFeeds(java.util.Collection<FeedRecordType> values)
public FeedInformationResponse withSignature(Signature value)
public FeedInformationResponse withInResponseTo(java.lang.String value)
withInResponseTo
in class ResponseMessageType
public FeedInformationResponse withExtendedHeaders(ExtendedHeadersType value)
withExtendedHeaders
in class ResponseMessageType
public FeedInformationResponse withMessageId(java.lang.String value)
withMessageId
in class ResponseMessageType