eu.cen.en16931.edifact.invoicd14b.iso20625.SLIN Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of en16931-edifact-xml Show documentation
Show all versions of en16931-edifact-xml Show documentation
JAXB generated domain objects for the special EDIFACT ISO 20625 XML dialect used in EN 16931
package eu.cen.en16931.edifact.invoicd14b.iso20625;
import java.io.Serializable;
import java.math.BigDecimal;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import com.helger.commons.annotation.CodingStyleguideUnaware;
import com.helger.commons.annotation.ReturnsMutableCopy;
import com.helger.commons.equals.EqualsHelper;
import com.helger.commons.hashcode.HashCodeGenerator;
import com.helger.commons.lang.IExplicitlyCloneable;
import com.helger.commons.string.ToStringGenerator;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{}D_1082" minOccurs="0"/>
* <element ref="{}D_1229" minOccurs="0"/>
* <element ref="{}C_C212" minOccurs="0"/>
* <element ref="{}C_C829" minOccurs="0"/>
* <element ref="{}D_1222" minOccurs="0"/>
* <element ref="{}D_7083" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
* This class was annotated by ph-jaxb22-plugin -Xph-annotate
* This class contains methods created by ph-jaxb22-plugin -Xph-equalshashcode
* This class contains methods created by ph-jaxb22-plugin -Xph-tostring
* This class contains methods created by ph-jaxb22-plugin -Xph-cloneable2
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"d1082",
"d1229",
"cc212",
"cc829",
"d1222",
"d7083"
})
@XmlRootElement(name = "S_LIN")
@CodingStyleguideUnaware
public class SLIN implements Serializable, IExplicitlyCloneable
{
@XmlElement(name = "D_1082")
private String d1082;
@XmlElement(name = "D_1229")
private String d1229;
@XmlElement(name = "C_C212")
private CC212 cc212;
@XmlElement(name = "C_C829")
private CC829 cc829;
@XmlElement(name = "D_1222")
private BigDecimal d1222;
@XmlElement(name = "D_7083")
private String d7083;
/**
* Gets the value of the d1082 property.
*
* @return
* possible object is
* {@link String }
*
*/
@Nullable
public String getD1082() {
return d1082;
}
/**
* Sets the value of the d1082 property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setD1082(
@Nullable
String value) {
this.d1082 = value;
}
/**
* Gets the value of the d1229 property.
*
* @return
* possible object is
* {@link String }
*
*/
@Nullable
public String getD1229() {
return d1229;
}
/**
* Sets the value of the d1229 property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setD1229(
@Nullable
String value) {
this.d1229 = value;
}
/**
* Gets the value of the cc212 property.
*
* @return
* possible object is
* {@link CC212 }
*
*/
@Nullable
public CC212 getCC212() {
return cc212;
}
/**
* Sets the value of the cc212 property.
*
* @param value
* allowed object is
* {@link CC212 }
*
*/
public void setCC212(
@Nullable
CC212 value) {
this.cc212 = value;
}
/**
* Gets the value of the cc829 property.
*
* @return
* possible object is
* {@link CC829 }
*
*/
@Nullable
public CC829 getCC829() {
return cc829;
}
/**
* Sets the value of the cc829 property.
*
* @param value
* allowed object is
* {@link CC829 }
*
*/
public void setCC829(
@Nullable
CC829 value) {
this.cc829 = value;
}
/**
* Gets the value of the d1222 property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
@Nullable
public BigDecimal getD1222() {
return d1222;
}
/**
* Sets the value of the d1222 property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setD1222(
@Nullable
BigDecimal value) {
this.d1222 = value;
}
/**
* Gets the value of the d7083 property.
*
* @return
* possible object is
* {@link String }
*
*/
@Nullable
public String getD7083() {
return d7083;
}
/**
* Sets the value of the d7083 property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setD7083(
@Nullable
String value) {
this.d7083 = value;
}
/**
* Created by ph-jaxb22-plugin -Xph-equalshashcode
*
*/
@Override
public boolean equals(final Object o) {
if (o == this) {
return true;
}
if ((o == null)||(!getClass().equals(o.getClass()))) {
return false;
}
final SLIN rhs = ((SLIN) o);
if (!EqualsHelper.equals(cc212, rhs.cc212)) {
return false;
}
if (!EqualsHelper.equals(cc829, rhs.cc829)) {
return false;
}
if (!EqualsHelper.equals(d1082, rhs.d1082)) {
return false;
}
if (!EqualsHelper.equals(d1222, rhs.d1222)) {
return false;
}
if (!EqualsHelper.equals(d1229, rhs.d1229)) {
return false;
}
if (!EqualsHelper.equals(d7083, rhs.d7083)) {
return false;
}
return true;
}
/**
* Created by ph-jaxb22-plugin -Xph-equalshashcode
*
*/
@Override
public int hashCode() {
return new HashCodeGenerator(this).append(cc212).append(cc829).append(d1082).append(d1222).append(d1229).append(d7083).getHashCode();
}
/**
* Created by ph-jaxb22-plugin -Xph-tostring
*
*/
@Override
public String toString() {
return new ToStringGenerator(this).append("cc212", cc212).append("cc829", cc829).append("d1082", d1082).append("d1222", d1222).append("d1229", d1229).append("d7083", d7083).getToString();
}
/**
* This method clones all values from this
to the passed object. All data in the parameter object is overwritten!Created by ph-jaxb22-plugin -Xph-cloneable2
*
* @param ret
* The target object to clone to. May not be null
.
*/
public void cloneTo(
@Nonnull
SLIN ret) {
ret.cc212 = ((cc212 == null)?null:cc212 .clone());
ret.cc829 = ((cc829 == null)?null:cc829 .clone());
ret.d1082 = d1082;
ret.d1222 = d1222;
ret.d1229 = d1229;
ret.d7083 = d7083;
}
/**
* Created by ph-jaxb22-plugin -Xph-cloneable2
*
* @return
* The cloned object. Never null
.
*/
@Nonnull
@ReturnsMutableCopy
@Override
public SLIN clone() {
SLIN ret = new SLIN();
cloneTo(ret);
return ret;
}
}