fr.lixbox.io.edi.plugin.model.jaxb.Element Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lixbox-edi Show documentation
Show all versions of lixbox-edi Show documentation
Ce dépôt contient le code de la librairie lixbox-edi
The newest version!
/*******************************************************************************
*
* FRAMEWORK Lixbox
* ==================
*
* This file is part of lixbox-io.
*
* lixbox-supervision is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* lixbox-supervision is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with lixbox-io. If not, see
*
* @AUTHOR Lixbox-team
*
******************************************************************************/
package fr.lixbox.io.edi.plugin.model.jaxb;
import java.io.Serializable;
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.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
/**
*
* Java class for element complex type.
*
*
* The following schema fragment specifies the expected content contained within
* this class.
*
*
* <complexType name="element">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="attr-ref" type="{}attr-ref" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="code" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="isOblig" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* <attribute name="occurence" type="{http://www.w3.org/2001/XMLSchema}int" />
* <attribute name="att-ref" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "element", propOrder = { "attrRef" })
public class Element implements Serializable
{
private static final long serialVersionUID = 9046778683480020625L;
@XmlElement(name = "attr-ref") private List attrRef;
@XmlAttribute protected String code;
@XmlAttribute protected String name;
@XmlAttribute protected boolean isOblig;
@XmlAttribute protected int occurence;
@XmlAttribute(name = "att-ref") private String attRef;
public List getAttrRef()
{
if (attrRef == null)
{
attrRef = new ArrayList<>();
}
return this.attrRef;
}
public String getCode()
{
return code;
}
public void setCode(String value)
{
this.code = value;
}
public String getName()
{
return name;
}
public void setName(String value)
{
this.name = value;
}
public Boolean isIsOblig()
{
return isOblig;
}
public void setIsOblig(Boolean value)
{
this.isOblig = value;
}
public Integer getOccurence()
{
return occurence;
}
public void setOccurence(Integer value)
{
this.occurence = value;
}
public String getAttRef()
{
return attRef;
}
public void setAttRef(String value)
{
this.attRef = value;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy