public class MessageInfo extends Object implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for MessageInfo complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MessageInfo">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Timestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
<element name="MessageId" type="{http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/}non-empty-string"/>
<element name="RefToMessageId" type="{http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/}non-empty-string" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
messageId |
protected String |
refToMessageId |
protected org.joda.time.DateTime |
timestamp |
| Constructor and Description |
|---|
MessageInfo()
Default no-arg constructor
|
MessageInfo(org.joda.time.DateTime timestamp,
String messageId,
String refToMessageId)
Fully-initialising value constructor
|
| Modifier and Type | Method and Description |
|---|---|
StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
String |
getMessageId()
Gets the value of the messageId property.
|
String |
getRefToMessageId()
Gets the value of the refToMessageId property.
|
org.joda.time.DateTime |
getTimestamp()
Gets the value of the timestamp property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setMessageId(String value)
Sets the value of the messageId property.
|
void |
setRefToMessageId(String value)
Sets the value of the refToMessageId property.
|
void |
setTimestamp(org.joda.time.DateTime value)
Sets the value of the timestamp property.
|
String |
toString() |
MessageInfo |
withMessageId(String value) |
MessageInfo |
withRefToMessageId(String value) |
MessageInfo |
withTimestamp(org.joda.time.DateTime value) |
protected org.joda.time.DateTime timestamp
protected String messageId
protected String refToMessageId
public org.joda.time.DateTime getTimestamp()
Stringpublic void setTimestamp(org.joda.time.DateTime value)
value - allowed object is
Stringpublic String getMessageId()
Stringpublic void setMessageId(String value)
value - allowed object is
Stringpublic String getRefToMessageId()
Stringpublic void setRefToMessageId(String value)
value - allowed object is
Stringpublic StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringpublic StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringpublic boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalspublic 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 MessageInfo withTimestamp(org.joda.time.DateTime value)
public MessageInfo withMessageId(String value)
public MessageInfo withRefToMessageId(String value)
Copyright © 2017 Digipost. All Rights Reserved.