public class InboxMessage extends RequestMessageType implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Java class for TAXIIInboxMessageType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TAXIIInboxMessageType">
<complexContent>
<extension base="{http://taxii.mitre.org/messages/taxii_xml_binding-1}RequestMessageType">
<sequence>
<element name="Message" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="Source_Subscription" type="{http://taxii.mitre.org/messages/taxii_xml_binding-1}SourceSubscriptionType" minOccurs="0"/>
<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>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<ContentBlock> |
contentBlocks |
protected java.lang.String |
message |
protected Signature |
signature |
protected SourceSubscriptionType |
sourceSubscription |
extendedHeaders, messageId| Constructor and Description |
|---|
InboxMessage()
Default no-arg constructor
|
InboxMessage(ExtendedHeadersType extendedHeaders,
java.lang.String messageId,
java.lang.String message,
SourceSubscriptionType sourceSubscription,
java.util.List<ContentBlock> contentBlocks,
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<ContentBlock> |
getContentBlocks()
Returned content.Gets the value of the contentBlocks property.
|
java.lang.String |
getMessage()
Gets the value of the message property.
|
Signature |
getSignature()
An XML Digital Signature scoped to this message.
|
SourceSubscriptionType |
getSourceSubscription()
Gets the value of the sourceSubscription property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
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 |
setSourceSubscription(SourceSubscriptionType value)
Sets the value of the sourceSubscription property.
|
InboxMessage |
withContentBlocks(java.util.Collection<ContentBlock> values) |
InboxMessage |
withContentBlocks(ContentBlock... values) |
InboxMessage |
withExtendedHeaders(ExtendedHeadersType value) |
InboxMessage |
withMessage(java.lang.String value) |
InboxMessage |
withMessageId(java.lang.String value) |
InboxMessage |
withSignature(Signature value) |
InboxMessage |
withSourceSubscription(SourceSubscriptionType value) |
getExtendedHeaders, getMessageId, setExtendedHeaders, setMessageIdprotected java.lang.String message
protected SourceSubscriptionType sourceSubscription
protected java.util.List<ContentBlock> contentBlocks
protected Signature signature
public InboxMessage()
public InboxMessage(ExtendedHeadersType extendedHeaders, java.lang.String messageId, java.lang.String message, SourceSubscriptionType sourceSubscription, java.util.List<ContentBlock> contentBlocks, Signature signature)
public java.lang.String getMessage()
Stringpublic void setMessage(java.lang.String value)
value - allowed object is
Stringpublic SourceSubscriptionType getSourceSubscription()
SourceSubscriptionTypepublic void setSourceSubscription(SourceSubscriptionType value)
value - allowed object is
SourceSubscriptionTypepublic 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 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 InboxMessage withMessage(java.lang.String value)
public InboxMessage withSourceSubscription(SourceSubscriptionType value)
public InboxMessage withContentBlocks(ContentBlock... values)
public InboxMessage withContentBlocks(java.util.Collection<ContentBlock> values)
public InboxMessage withSignature(Signature value)
public InboxMessage withExtendedHeaders(ExtendedHeadersType value)
withExtendedHeaders in class RequestMessageTypepublic InboxMessage withMessageId(java.lang.String value)
withMessageId in class RequestMessageType