eu.cen.en16931.edifact.invoicd14b.iso20625.SSEL 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 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_9308" minOccurs="0"/>
* <element ref="{}C_C215" minOccurs="0"/>
* <element ref="{}D_4517" minOccurs="0"/>
* <element ref="{}C_C208" minOccurs="0"/>
* <element ref="{}D_4525" 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 = {
"d9308",
"cc215",
"d4517",
"cc208",
"d4525"
})
@XmlRootElement(name = "S_SEL")
@CodingStyleguideUnaware
public class SSEL implements Serializable, IExplicitlyCloneable
{
@XmlElement(name = "D_9308")
private String d9308;
@XmlElement(name = "C_C215")
private CC215 cc215;
@XmlElement(name = "D_4517")
private String d4517;
@XmlElement(name = "C_C208")
private CC208 cc208;
@XmlElement(name = "D_4525")
private String d4525;
/**
* Gets the value of the d9308 property.
*
* @return
* possible object is
* {@link String }
*
*/
@Nullable
public String getD9308() {
return d9308;
}
/**
* Sets the value of the d9308 property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setD9308(
@Nullable
String value) {
this.d9308 = value;
}
/**
* Gets the value of the cc215 property.
*
* @return
* possible object is
* {@link CC215 }
*
*/
@Nullable
public CC215 getCC215() {
return cc215;
}
/**
* Sets the value of the cc215 property.
*
* @param value
* allowed object is
* {@link CC215 }
*
*/
public void setCC215(
@Nullable
CC215 value) {
this.cc215 = value;
}
/**
* Gets the value of the d4517 property.
*
* @return
* possible object is
* {@link String }
*
*/
@Nullable
public String getD4517() {
return d4517;
}
/**
* Sets the value of the d4517 property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setD4517(
@Nullable
String value) {
this.d4517 = value;
}
/**
* Gets the value of the cc208 property.
*
* @return
* possible object is
* {@link CC208 }
*
*/
@Nullable
public CC208 getCC208() {
return cc208;
}
/**
* Sets the value of the cc208 property.
*
* @param value
* allowed object is
* {@link CC208 }
*
*/
public void setCC208(
@Nullable
CC208 value) {
this.cc208 = value;
}
/**
* Gets the value of the d4525 property.
*
* @return
* possible object is
* {@link String }
*
*/
@Nullable
public String getD4525() {
return d4525;
}
/**
* Sets the value of the d4525 property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setD4525(
@Nullable
String value) {
this.d4525 = 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 SSEL rhs = ((SSEL) o);
if (!EqualsHelper.equals(cc208, rhs.cc208)) {
return false;
}
if (!EqualsHelper.equals(cc215, rhs.cc215)) {
return false;
}
if (!EqualsHelper.equals(d4517, rhs.d4517)) {
return false;
}
if (!EqualsHelper.equals(d4525, rhs.d4525)) {
return false;
}
if (!EqualsHelper.equals(d9308, rhs.d9308)) {
return false;
}
return true;
}
/**
* Created by ph-jaxb22-plugin -Xph-equalshashcode
*
*/
@Override
public int hashCode() {
return new HashCodeGenerator(this).append(cc208).append(cc215).append(d4517).append(d4525).append(d9308).getHashCode();
}
/**
* Created by ph-jaxb22-plugin -Xph-tostring
*
*/
@Override
public String toString() {
return new ToStringGenerator(this).append("cc208", cc208).append("cc215", cc215).append("d4517", d4517).append("d4525", d4525).append("d9308", d9308).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
SSEL ret) {
ret.cc208 = ((cc208 == null)?null:cc208 .clone());
ret.cc215 = ((cc215 == null)?null:cc215 .clone());
ret.d4517 = d4517;
ret.d4525 = d4525;
ret.d9308 = d9308;
}
/**
* Created by ph-jaxb22-plugin -Xph-cloneable2
*
* @return
* The cloned object. Never null
.
*/
@Nonnull
@ReturnsMutableCopy
@Override
public SSEL clone() {
SSEL ret = new SSEL();
cloneTo(ret);
return ret;
}
}