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://www.w3.org/2001/XMLSchema}string"/> <element name="Content" type="{http://taxii.mitre.org/messages/taxii_xml_binding-1}AnyMixedContentType"/> <element name="Timestamp_Label" type="{http://taxii.mitre.org/messages/taxii_xml_binding-1}TimestampLabelType" 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 java.lang.String |
contentBinding |
protected java.lang.String |
padding |
protected Signature |
signature |
protected javax.xml.datatype.XMLGregorianCalendar |
timestampLabel |
Constructor and Description |
---|
ContentBlock()
Default no-arg constructor
|
ContentBlock(java.lang.String contentBinding,
AnyMixedContentType content,
javax.xml.datatype.XMLGregorianCalendar timestampLabel,
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.
|
java.lang.String |
getContentBinding()
Gets the value of the contentBinding 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(java.lang.String value)
Sets the value of the contentBinding 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(java.lang.String value) |
ContentBlock |
withPadding(java.lang.String value) |
ContentBlock |
withSignature(Signature value) |
ContentBlock |
withTimestampLabel(javax.xml.datatype.XMLGregorianCalendar value) |
protected java.lang.String contentBinding
protected AnyMixedContentType content
protected javax.xml.datatype.XMLGregorianCalendar timestampLabel
protected java.lang.String padding
protected Signature signature
public ContentBlock()
public ContentBlock(java.lang.String contentBinding, AnyMixedContentType content, javax.xml.datatype.XMLGregorianCalendar timestampLabel, java.lang.String padding, Signature signature)
public java.lang.String getContentBinding()
String
public void setContentBinding(java.lang.String value)
value
- allowed object is
String
public AnyMixedContentType getContent()
AnyMixedContentType
public void setContent(AnyMixedContentType value)
value
- allowed object is
AnyMixedContentType
public javax.xml.datatype.XMLGregorianCalendar getTimestampLabel()
XMLGregorianCalendar
public void setTimestampLabel(javax.xml.datatype.XMLGregorianCalendar value)
value
- allowed object is
XMLGregorianCalendar
public java.lang.String getPadding()
String
public void setPadding(java.lang.String value)
value
- allowed object is
String
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
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
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
public int hashCode()
hashCode
in class java.lang.Object
public ContentBlock withContentBinding(java.lang.String value)
public ContentBlock withContent(AnyMixedContentType value)
public ContentBlock withTimestampLabel(javax.xml.datatype.XMLGregorianCalendar value)
public ContentBlock withPadding(java.lang.String value)
public ContentBlock withSignature(Signature value)