public class SubscriptionManagementResponse extends ResponseMessageType implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Java class for TAXIISubscriptionManagementResponseType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TAXIISubscriptionManagementResponseType">
<complexContent>
<extension base="{http://taxii.mitre.org/messages/taxii_xml_binding-1.1}ResponseMessageType">
<sequence>
<element name="Message" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="Subscription" type="{http://taxii.mitre.org/messages/taxii_xml_binding-1.1}SubscriptionRecordType" 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" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
collectionName |
protected java.lang.String |
message |
protected Signature |
signature |
protected java.util.List<SubscriptionRecordType> |
subscriptions |
inResponseToextendedHeaders, messageId| Constructor and Description |
|---|
SubscriptionManagementResponse()
Default no-arg constructor
|
SubscriptionManagementResponse(ExtendedHeadersType extendedHeaders,
java.lang.String messageId,
java.lang.String inResponseTo,
java.lang.String message,
java.util.List<SubscriptionRecordType> subscriptions,
Signature signature,
java.lang.String collectionName)
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.lang.String |
getMessage()
Gets the value of the message property.
|
Signature |
getSignature()
An XML Digital Signature scoped to this message.
|
java.util.List<SubscriptionRecordType> |
getSubscriptions()
Gets the value of the subscriptions property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setCollectionName(java.lang.String value)
Sets the value of the collectionName 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.
|
SubscriptionManagementResponse |
withCollectionName(java.lang.String value) |
SubscriptionManagementResponse |
withExtendedHeaders(ExtendedHeadersType value) |
SubscriptionManagementResponse |
withInResponseTo(java.lang.String value) |
SubscriptionManagementResponse |
withMessage(java.lang.String value) |
SubscriptionManagementResponse |
withMessageId(java.lang.String value) |
SubscriptionManagementResponse |
withSignature(Signature value) |
SubscriptionManagementResponse |
withSubscriptions(java.util.Collection<SubscriptionRecordType> values) |
SubscriptionManagementResponse |
withSubscriptions(SubscriptionRecordType... values) |
getInResponseTo, setInResponseTogetExtendedHeaders, getMessageId, setExtendedHeaders, setMessageIdprotected java.lang.String message
protected java.util.List<SubscriptionRecordType> subscriptions
protected Signature signature
protected java.lang.String collectionName
public SubscriptionManagementResponse()
public SubscriptionManagementResponse(ExtendedHeadersType extendedHeaders, java.lang.String messageId, java.lang.String inResponseTo, java.lang.String message, java.util.List<SubscriptionRecordType> subscriptions, Signature signature, java.lang.String collectionName)
public java.lang.String getMessage()
Stringpublic void setMessage(java.lang.String value)
value - allowed object is
Stringpublic java.util.List<SubscriptionRecordType> getSubscriptions()
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 subscriptions property.
For example, to add a new item, do as follows:
getSubscriptions().add(newItem);
Objects of the following type(s) are allowed in the list
SubscriptionRecordType
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 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 SubscriptionManagementResponse withMessage(java.lang.String value)
public SubscriptionManagementResponse withSubscriptions(SubscriptionRecordType... values)
public SubscriptionManagementResponse withSubscriptions(java.util.Collection<SubscriptionRecordType> values)
public SubscriptionManagementResponse withSignature(Signature value)
public SubscriptionManagementResponse withCollectionName(java.lang.String value)
public SubscriptionManagementResponse withInResponseTo(java.lang.String value)
withInResponseTo in class ResponseMessageTypepublic SubscriptionManagementResponse withExtendedHeaders(ExtendedHeadersType value)
withExtendedHeaders in class ResponseMessageTypepublic SubscriptionManagementResponse withMessageId(java.lang.String value)
withMessageId in class ResponseMessageType