public class CollectionInformationResponse extends ResponseMessageType implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Java class for TAXIICollectionInformationResponseType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TAXIICollectionInformationResponseType">
<complexContent>
<extension base="{http://taxii.mitre.org/messages/taxii_xml_binding-1.1}ResponseMessageType">
<sequence>
<element name="Collection" type="{http://taxii.mitre.org/messages/taxii_xml_binding-1.1}CollectionRecordType" 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<CollectionRecordType> |
collections |
protected Signature |
signature |
inResponseToextendedHeaders, messageId| Constructor and Description |
|---|
CollectionInformationResponse()
Default no-arg constructor
|
CollectionInformationResponse(ExtendedHeadersType extendedHeaders,
java.lang.String messageId,
java.lang.String inResponseTo,
java.util.List<CollectionRecordType> collections,
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<CollectionRecordType> |
getCollections()
Gets the value of the collections 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.
|
CollectionInformationResponse |
withCollections(java.util.Collection<CollectionRecordType> values) |
CollectionInformationResponse |
withCollections(CollectionRecordType... values) |
CollectionInformationResponse |
withExtendedHeaders(ExtendedHeadersType value) |
CollectionInformationResponse |
withInResponseTo(java.lang.String value) |
CollectionInformationResponse |
withMessageId(java.lang.String value) |
CollectionInformationResponse |
withSignature(Signature value) |
getInResponseTo, setInResponseTogetExtendedHeaders, getMessageId, setExtendedHeaders, setMessageIdprotected java.util.List<CollectionRecordType> collections
protected Signature signature
public CollectionInformationResponse()
public CollectionInformationResponse(ExtendedHeadersType extendedHeaders, java.lang.String messageId, java.lang.String inResponseTo, java.util.List<CollectionRecordType> collections, Signature signature)
public java.util.List<CollectionRecordType> getCollections()
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 collections property.
For example, to add a new item, do as follows:
getCollections().add(newItem);
Objects of the following type(s) are allowed in the list
CollectionRecordType
public Signature getSignature()
Signaturepublic void setSignature(Signature value)
value - allowed object is
Signaturepublic 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 CollectionInformationResponse withCollections(CollectionRecordType... values)
public CollectionInformationResponse withCollections(java.util.Collection<CollectionRecordType> values)
public CollectionInformationResponse withSignature(Signature value)
public CollectionInformationResponse withInResponseTo(java.lang.String value)
withInResponseTo in class ResponseMessageTypepublic CollectionInformationResponse withExtendedHeaders(ExtendedHeadersType value)
withExtendedHeaders in class ResponseMessageTypepublic CollectionInformationResponse withMessageId(java.lang.String value)
withMessageId in class ResponseMessageType