
com.prowidesoftware.swift.model.mx.dic.DateCodeAndTimeFormat1 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pw-iso20022 Show documentation
Show all versions of pw-iso20022 Show documentation
Prowide Library for ISO 20022 messages
package com.prowidesoftware.swift.model.mx.dic;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* Specifies a date code and a time.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DateCodeAndTimeFormat1", propOrder = {
"dtCd",
"tm"
})
public class DateCodeAndTimeFormat1 {
@XmlElement(name = "DtCd", required = true)
protected DateCode4Choice dtCd;
@XmlElement(name = "Tm", required = true)
@XmlSchemaType(name = "time")
protected XMLGregorianCalendar tm;
/**
* Gets the value of the dtCd property.
*
* @return
* possible object is
* {@link DateCode4Choice }
*
*/
public DateCode4Choice getDtCd() {
return dtCd;
}
/**
* Sets the value of the dtCd property.
*
* @param value
* allowed object is
* {@link DateCode4Choice }
*
*/
public DateCodeAndTimeFormat1 setDtCd(DateCode4Choice value) {
this.dtCd = value;
return this;
}
/**
* Gets the value of the tm property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getTm() {
return tm;
}
/**
* Sets the value of the tm property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public DateCodeAndTimeFormat1 setTm(XMLGregorianCalendar value) {
this.tm = value;
return this;
}
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
}
@Override
public boolean equals(Object that) {
return EqualsBuilder.reflectionEquals(this, that);
}
@Override
public int hashCode() {
return HashCodeBuilder.reflectionHashCode(this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy