package net.conselldemallorca.helium.ws.tramitacio.v1; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; import javax.xml.datatype.XMLGregorianCalendar; /** * <p>Java class for parellaCodiValor complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="parellaCodiValor"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="codi" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="valor" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "parellaCodiValor", propOrder = { "codi", "valor" }) public class ParellaCodiValor { protected String codi; protected Object valor; /** * Gets the value of the codi property. * * @return * possible object is * {@link String } * */ public String getCodi() { return codi; } /** * Sets the value of the codi property. * * @param value * allowed object is * {@link String } * */ public void setCodi(String value) { this.codi = value; } /** * Gets the value of the valor property. * * @return * possible object is * {@link Object } * */ public Object getValor() { if (valor != null && valor instanceof XMLGregorianCalendar) { return ((XMLGregorianCalendar)valor).toGregorianCalendar().getTime(); } return valor; } /** * Sets the value of the valor property. * * @param value * allowed object is * {@link Object } * */ public void setValor(Object value) { this.valor = value; } }