public class ContentBlock
extends java.lang.Object
implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Java class for ContentBlockType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ContentBlockType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Content_Binding" type="{http://taxii.mitre.org/messages/taxii_xml_binding-1.1}ContentInstanceType"/>
<element name="Content" type="{http://taxii.mitre.org/messages/taxii_xml_binding-1.1}AnyMixedContentType"/>
<element name="Timestamp_Label" type="{http://taxii.mitre.org/messages/taxii_xml_binding-1.1}TimestampLabelType" minOccurs="0"/>
<element name="Message" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="Padding" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element ref="{http://www.w3.org/2000/09/xmldsig#}Signature" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected AnyMixedContentType |
content |
protected ContentInstanceType |
contentBinding |
protected java.lang.String |
message |
protected java.lang.String |
padding |
protected Signature |
signature |
protected javax.xml.datatype.XMLGregorianCalendar |
timestampLabel |
| Constructor and Description |
|---|
ContentBlock()
Default no-arg constructor
|
ContentBlock(ContentInstanceType contentBinding,
AnyMixedContentType content,
javax.xml.datatype.XMLGregorianCalendar timestampLabel,
java.lang.String message,
java.lang.String padding,
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) |
AnyMixedContentType |
getContent()
Gets the value of the content property.
|
ContentInstanceType |
getContentBinding()
Gets the value of the contentBinding property.
|
java.lang.String |
getMessage()
Gets the value of the message property.
|
java.lang.String |
getPadding()
Gets the value of the padding property.
|
Signature |
getSignature()
An XML Digital Signature scoped to this Content_Block.
|
javax.xml.datatype.XMLGregorianCalendar |
getTimestampLabel()
Gets the value of the timestampLabel property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setContent(AnyMixedContentType value)
Sets the value of the content property.
|
void |
setContentBinding(ContentInstanceType value)
Sets the value of the contentBinding property.
|
void |
setMessage(java.lang.String value)
Sets the value of the message property.
|
void |
setPadding(java.lang.String value)
Sets the value of the padding property.
|
void |
setSignature(Signature value)
Sets the value of the signature property.
|
void |
setTimestampLabel(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the timestampLabel property.
|
ContentBlock |
withContent(AnyMixedContentType value) |
ContentBlock |
withContentBinding(ContentInstanceType value) |
ContentBlock |
withMessage(java.lang.String value) |
ContentBlock |
withPadding(java.lang.String value) |
ContentBlock |
withSignature(Signature value) |
ContentBlock |
withTimestampLabel(javax.xml.datatype.XMLGregorianCalendar value) |
protected ContentInstanceType contentBinding
protected AnyMixedContentType content
protected javax.xml.datatype.XMLGregorianCalendar timestampLabel
protected java.lang.String message
protected java.lang.String padding
protected Signature signature
public ContentBlock()
public ContentBlock(ContentInstanceType contentBinding, AnyMixedContentType content, javax.xml.datatype.XMLGregorianCalendar timestampLabel, java.lang.String message, java.lang.String padding, Signature signature)
public ContentInstanceType getContentBinding()
ContentInstanceTypepublic void setContentBinding(ContentInstanceType value)
value - allowed object is
ContentInstanceTypepublic AnyMixedContentType getContent()
AnyMixedContentTypepublic void setContent(AnyMixedContentType value)
value - allowed object is
AnyMixedContentTypepublic javax.xml.datatype.XMLGregorianCalendar getTimestampLabel()
XMLGregorianCalendarpublic void setTimestampLabel(javax.xml.datatype.XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic java.lang.String getMessage()
Stringpublic void setMessage(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getPadding()
Stringpublic void setPadding(java.lang.String value)
value - allowed object is
Stringpublic 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.Equalspublic boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodepublic int hashCode()
hashCode in class java.lang.Objectpublic ContentBlock withContentBinding(ContentInstanceType value)
public ContentBlock withContent(AnyMixedContentType value)
public ContentBlock withTimestampLabel(javax.xml.datatype.XMLGregorianCalendar value)
public ContentBlock withMessage(java.lang.String value)
public ContentBlock withPadding(java.lang.String value)
public ContentBlock withSignature(Signature value)