com.prowidesoftware.swift.model.mx.dic.CommunicationCharacteristics4 Maven / Gradle / Ivy
Show all versions of pw-iso20022 Show documentation
package com.prowidesoftware.swift.model.mx.dic;
import java.util.ArrayList;
import java.util.List;
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 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;
/**
* Low level communication of the hardware or software component toward another component or an external entity.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CommunicationCharacteristics4", propOrder = {
"comTp",
"rmotPty",
"actv",
"params",
"physIntrfc"
})
public class CommunicationCharacteristics4 {
@XmlElement(name = "ComTp", required = true)
@XmlSchemaType(name = "string")
protected POICommunicationType2Code comTp;
@XmlElement(name = "RmotPty", required = true)
@XmlSchemaType(name = "string")
protected List rmotPty;
@XmlElement(name = "Actv")
protected boolean actv;
@XmlElement(name = "Params")
protected NetworkParameters5 params;
@XmlElement(name = "PhysIntrfc")
protected PhysicalInterfaceParameter1 physIntrfc;
/**
* Gets the value of the comTp property.
*
* @return
* possible object is
* {@link POICommunicationType2Code }
*
*/
public POICommunicationType2Code getComTp() {
return comTp;
}
/**
* Sets the value of the comTp property.
*
* @param value
* allowed object is
* {@link POICommunicationType2Code }
*
*/
public CommunicationCharacteristics4 setComTp(POICommunicationType2Code value) {
this.comTp = value;
return this;
}
/**
* Gets the value of the rmotPty 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 rmotPty property.
*
*
* For example, to add a new item, do as follows:
*
* getRmotPty().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PartyType7Code }
*
*
* @return
* The value of the rmotPty property.
*/
public List getRmotPty() {
if (rmotPty == null) {
rmotPty = new ArrayList<>();
}
return this.rmotPty;
}
/**
* Gets the value of the actv property.
*
*/
public boolean isActv() {
return actv;
}
/**
* Sets the value of the actv property.
*
*/
public CommunicationCharacteristics4 setActv(boolean value) {
this.actv = value;
return this;
}
/**
* Gets the value of the params property.
*
* @return
* possible object is
* {@link NetworkParameters5 }
*
*/
public NetworkParameters5 getParams() {
return params;
}
/**
* Sets the value of the params property.
*
* @param value
* allowed object is
* {@link NetworkParameters5 }
*
*/
public CommunicationCharacteristics4 setParams(NetworkParameters5 value) {
this.params = value;
return this;
}
/**
* Gets the value of the physIntrfc property.
*
* @return
* possible object is
* {@link PhysicalInterfaceParameter1 }
*
*/
public PhysicalInterfaceParameter1 getPhysIntrfc() {
return physIntrfc;
}
/**
* Sets the value of the physIntrfc property.
*
* @param value
* allowed object is
* {@link PhysicalInterfaceParameter1 }
*
*/
public CommunicationCharacteristics4 setPhysIntrfc(PhysicalInterfaceParameter1 value) {
this.physIntrfc = 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 rmotPty list.
* @see #getRmotPty()
*
*/
public CommunicationCharacteristics4 addRmotPty(PartyType7Code rmotPty) {
getRmotPty().add(rmotPty);
return this;
}
}