no.nav.tjeneste.virksomhet.arbeidogaktivitetsak.v1.informasjon.Periode Maven / Gradle / Ivy
package no.nav.tjeneste.virksomhet.arbeidogaktivitetsak.v1.informasjon;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
/**
* En periode angir et tidsintervall med fra-og-med og til-og-med.
*
* Java class for Periode complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Periode">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="fom" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
* <element name="tom" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Periode", propOrder = {
"fom",
"tom"
})
public class Periode {
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar fom;
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar tom;
/**
* Gets the value of the fom property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getFom() {
return fom;
}
/**
* Sets the value of the fom property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setFom(XMLGregorianCalendar value) {
this.fom = value;
}
/**
* Gets the value of the tom property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getTom() {
return tom;
}
/**
* Sets the value of the tom property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setTom(XMLGregorianCalendar value) {
this.tom = value;
}
public Periode withFom(XMLGregorianCalendar value) {
setFom(value);
return this;
}
public Periode withTom(XMLGregorianCalendar value) {
setTom(value);
return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy