All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.prowidesoftware.swift.model.mx.dic.BusinessDaySearchCriteria1 Maven / Gradle / Ivy

The newest version!

package com.prowidesoftware.swift.model.mx.dic;

import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;
import com.prowidesoftware.swift.model.mx.adapters.IsoDateAdapter;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
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;


/**
 * Defines the criteria used to search for system business day information.
 * 
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "BusinessDaySearchCriteria1", propOrder = {
    "sysDt",
    "sysId",
    "sysCcy",
    "evtTp",
    "clsrPrd"
})
public class BusinessDaySearchCriteria1 {

    @XmlElement(name = "SysDt", type = String.class)
    @XmlJavaTypeAdapter(IsoDateAdapter.class)
    @XmlSchemaType(name = "date")
    protected LocalDate sysDt;
    @XmlElement(name = "SysId")
    protected List sysId;
    @XmlElement(name = "SysCcy")
    protected List sysCcy;
    @XmlElement(name = "EvtTp")
    protected SystemEventType2Choice evtTp;
    @XmlElement(name = "ClsrPrd")
    protected DateTimePeriodChoice clsrPrd;

    /**
     * Gets the value of the sysDt property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public LocalDate getSysDt() {
        return sysDt;
    }

    /**
     * Sets the value of the sysDt property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public BusinessDaySearchCriteria1 setSysDt(LocalDate value) {
        this.sysDt = value;
        return this;
    }

    /**
     * Gets the value of the sysId property.
     * 
     * 

* 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 Jakarta XML Binding object. * This is why there is not a {@code set} method for the sysId property. * *

* For example, to add a new item, do as follows: *

     *    getSysId().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link SystemIdentification2Choice } * * * @return * The value of the sysId property. */ public List getSysId() { if (sysId == null) { sysId = new ArrayList<>(); } return this.sysId; } /** * Gets the value of the sysCcy property. * *

* 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 Jakarta XML Binding object. * This is why there is not a {@code set} method for the sysCcy property. * *

* For example, to add a new item, do as follows: *

     *    getSysCcy().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * * @return * The value of the sysCcy property. */ public List getSysCcy() { if (sysCcy == null) { sysCcy = new ArrayList<>(); } return this.sysCcy; } /** * Gets the value of the evtTp property. * * @return * possible object is * {@link SystemEventType2Choice } * */ public SystemEventType2Choice getEvtTp() { return evtTp; } /** * Sets the value of the evtTp property. * * @param value * allowed object is * {@link SystemEventType2Choice } * */ public BusinessDaySearchCriteria1 setEvtTp(SystemEventType2Choice value) { this.evtTp = value; return this; } /** * Gets the value of the clsrPrd property. * * @return * possible object is * {@link DateTimePeriodChoice } * */ public DateTimePeriodChoice getClsrPrd() { return clsrPrd; } /** * Sets the value of the clsrPrd property. * * @param value * allowed object is * {@link DateTimePeriodChoice } * */ public BusinessDaySearchCriteria1 setClsrPrd(DateTimePeriodChoice value) { this.clsrPrd = 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); } /** * Adds a new item to the sysId list. * @see #getSysId() * */ public BusinessDaySearchCriteria1 addSysId(SystemIdentification2Choice sysId) { getSysId().add(sysId); return this; } /** * Adds a new item to the sysCcy list. * @see #getSysCcy() * */ public BusinessDaySearchCriteria1 addSysCcy(String sysCcy) { getSysCcy().add(sysCcy); return this; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy