/* * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * Copyright (c) 2013, MPL CodeInside http://codeinside.ru */ package ru.tower.mvd.clients.pf.response.message; import java.math.BigInteger; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.XmlValue; import javax.xml.datatype.XMLGregorianCalendar; @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "HeaderType", propOrder = { "regNumber" }) public class HeaderType extends BaseHeaderType { @XmlElement(name = "RegNumber", required = true) protected HeaderType.RegNumber regNumber; /** * Gets the value of the regNumber property. * * @return * possible object is * {@link HeaderType.RegNumber } * */ public HeaderType.RegNumber getRegNumber() { return regNumber; } /** * Sets the value of the regNumber property. * * @param value * allowed object is * {@link HeaderType.RegNumber } * */ public void setRegNumber(HeaderType.RegNumber value) { this.regNumber = value; } /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <simpleContent> * <extension base="<http://www.w3.org/2001/XMLSchema>unsignedLong"> * <attribute name="regtime" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> * </extension> * </simpleContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "value" }) public static class RegNumber { @XmlValue @XmlSchemaType(name = "unsignedLong") protected BigInteger value; @XmlAttribute(required = true) @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar regtime; /** * Gets the value of the value property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * {@link BigInteger } * */ public void setValue(BigInteger value) { this.value = value; } /** * Gets the value of the regtime property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getRegtime() { return regtime; } /** * Sets the value of the regtime property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setRegtime(XMLGregorianCalendar value) { this.regtime = value; } } }