
no.arkivverket.standarder.noark5.arkivmelding.Saksmappe Maven / Gradle / Ivy
//
// This file was generated by the Eclipse Implementation of JAXB, v2.3.7
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2024.10.09 at 07:52:57 AM UTC
//
package no.arkivverket.standarder.noark5.arkivmelding;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
import com.kscs.util.jaxb.Buildable;
import com.kscs.util.jaxb.PropertyTree;
import com.kscs.util.jaxb.PropertyTreeUse;
import no.arkivverket.standarder.noark5.metadatakatalog.Dokumentmedium;
import no.arkivverket.standarder.noark5.metadatakatalog.Saksstatus;
/**
* Java class for saksmappe complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="saksmappe">
* <complexContent>
* <extension base="{http://www.arkivverket.no/standarder/noark5/arkivmelding}mappe">
* <sequence>
* <element name="saksaar" type="{http://www.arkivverket.no/standarder/noark5/metadatakatalog}saksaar" minOccurs="0"/>
* <element name="sakssekvensnummer" type="{http://www.arkivverket.no/standarder/noark5/metadatakatalog}sakssekvensnummer" minOccurs="0"/>
* <element name="saksdato" type="{http://www.arkivverket.no/standarder/noark5/metadatakatalog}saksdato"/>
* <element name="administrativEnhet" type="{http://www.arkivverket.no/standarder/noark5/metadatakatalog}administrativEnhet"/>
* <element name="saksansvarlig" type="{http://www.arkivverket.no/standarder/noark5/metadatakatalog}saksansvarlig"/>
* <element name="journalenhet" type="{http://www.arkivverket.no/standarder/noark5/metadatakatalog}journalenhet" minOccurs="0"/>
* <element name="saksstatus" type="{http://www.arkivverket.no/standarder/noark5/metadatakatalog}saksstatus"/>
* <element name="referanseSekundaerKlassifikasjon" type="{http://www.arkivverket.no/standarder/noark5/metadatakatalog}referanseSekundaerKlassifikasjon" maxOccurs="unbounded" minOccurs="0"/>
* <element name="sakspart" type="{http://www.arkivverket.no/standarder/noark5/arkivmelding}sakspart" maxOccurs="unbounded" minOccurs="0"/>
* <element name="presedens" type="{http://www.arkivverket.no/standarder/noark5/arkivmelding}presedens" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "saksmappe", propOrder = {
"saksaar",
"sakssekvensnummer",
"saksdato",
"administrativEnhet",
"saksansvarlig",
"journalenhet",
"saksstatus",
"referanseSekundaerKlassifikasjon",
"sakspart",
"presedens"
})
public class Saksmappe
extends Mappe
{
protected BigInteger saksaar;
protected BigInteger sakssekvensnummer;
@XmlElement(required = true)
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar saksdato;
@XmlElement(required = true)
protected String administrativEnhet;
@XmlElement(required = true)
protected String saksansvarlig;
protected String journalenhet;
@XmlElement(required = true)
@XmlSchemaType(name = "string")
protected Saksstatus saksstatus;
protected List referanseSekundaerKlassifikasjon;
protected List sakspart;
protected List presedens;
/**
* Gets the value of the saksaar property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getSaksaar() {
return saksaar;
}
/**
* Sets the value of the saksaar property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setSaksaar(BigInteger value) {
this.saksaar = value;
}
/**
* Gets the value of the sakssekvensnummer property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getSakssekvensnummer() {
return sakssekvensnummer;
}
/**
* Sets the value of the sakssekvensnummer property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setSakssekvensnummer(BigInteger value) {
this.sakssekvensnummer = value;
}
/**
* Gets the value of the saksdato property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getSaksdato() {
return saksdato;
}
/**
* Sets the value of the saksdato property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setSaksdato(XMLGregorianCalendar value) {
this.saksdato = value;
}
/**
* Gets the value of the administrativEnhet property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAdministrativEnhet() {
return administrativEnhet;
}
/**
* Sets the value of the administrativEnhet property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAdministrativEnhet(String value) {
this.administrativEnhet = value;
}
/**
* Gets the value of the saksansvarlig property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSaksansvarlig() {
return saksansvarlig;
}
/**
* Sets the value of the saksansvarlig property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSaksansvarlig(String value) {
this.saksansvarlig = value;
}
/**
* Gets the value of the journalenhet property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getJournalenhet() {
return journalenhet;
}
/**
* Sets the value of the journalenhet property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setJournalenhet(String value) {
this.journalenhet = value;
}
/**
* Gets the value of the saksstatus property.
*
* @return
* possible object is
* {@link Saksstatus }
*
*/
public Saksstatus getSaksstatus() {
return saksstatus;
}
/**
* Sets the value of the saksstatus property.
*
* @param value
* allowed object is
* {@link Saksstatus }
*
*/
public void setSaksstatus(Saksstatus value) {
this.saksstatus = value;
}
/**
* Gets the value of the referanseSekundaerKlassifikasjon property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the referanseSekundaerKlassifikasjon property.
*
*
* For example, to add a new item, do as follows:
*
* getReferanseSekundaerKlassifikasjon().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getReferanseSekundaerKlassifikasjon() {
if (referanseSekundaerKlassifikasjon == null) {
referanseSekundaerKlassifikasjon = new ArrayList();
}
return this.referanseSekundaerKlassifikasjon;
}
/**
* Gets the value of the sakspart property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the sakspart property.
*
*
* For example, to add a new item, do as follows:
*
* getSakspart().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Sakspart }
*
*
*/
public List getSakspart() {
if (sakspart == null) {
sakspart = new ArrayList();
}
return this.sakspart;
}
/**
* Gets the value of the presedens property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the presedens property.
*
*
* For example, to add a new item, do as follows:
*
* getPresedens().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Presedens }
*
*
*/
public List getPresedens() {
if (presedens == null) {
presedens = new ArrayList();
}
return this.presedens;
}
/**
* Copies all state of this object to a builder. This method is used by the {@link #copyOf} method and should not be called directly by client code.
*
* @param _other
* A builder instance to which the state of this object will be copied.
*/
public<_B >void copyTo(final Saksmappe.Builder<_B> _other) {
super.copyTo(_other);
_other.saksaar = this.saksaar;
_other.sakssekvensnummer = this.sakssekvensnummer;
_other.saksdato = ((this.saksdato == null)?null:((XMLGregorianCalendar) this.saksdato.clone()));
_other.administrativEnhet = this.administrativEnhet;
_other.saksansvarlig = this.saksansvarlig;
_other.journalenhet = this.journalenhet;
_other.saksstatus = this.saksstatus;
if (this.referanseSekundaerKlassifikasjon == null) {
_other.referanseSekundaerKlassifikasjon = null;
} else {
_other.referanseSekundaerKlassifikasjon = new ArrayList();
for (String _item: this.referanseSekundaerKlassifikasjon) {
_other.referanseSekundaerKlassifikasjon.add(((_item == null)?null:new Buildable.PrimitiveBuildable(_item)));
}
}
if (this.sakspart == null) {
_other.sakspart = null;
} else {
_other.sakspart = new ArrayList>>();
for (Sakspart _item: this.sakspart) {
_other.sakspart.add(((_item == null)?null:_item.newCopyBuilder(_other)));
}
}
if (this.presedens == null) {
_other.presedens = null;
} else {
_other.presedens = new ArrayList>>();
for (Presedens _item: this.presedens) {
_other.presedens.add(((_item == null)?null:_item.newCopyBuilder(_other)));
}
}
}
@Override
public<_B >Saksmappe.Builder<_B> newCopyBuilder(final _B _parentBuilder) {
return new Saksmappe.Builder<_B>(_parentBuilder, this, true);
}
@Override
public Saksmappe.Builder newCopyBuilder() {
return newCopyBuilder(null);
}
public static Saksmappe.Builder builder() {
return new Saksmappe.Builder(null, null, false);
}
public static<_B >Saksmappe.Builder<_B> copyOf(final Mappe _other) {
final Saksmappe.Builder<_B> _newBuilder = new Saksmappe.Builder<_B>(null, null, false);
_other.copyTo(_newBuilder);
return _newBuilder;
}
public static<_B >Saksmappe.Builder<_B> copyOf(final Saksmappe _other) {
final Saksmappe.Builder<_B> _newBuilder = new Saksmappe.Builder<_B>(null, null, false);
_other.copyTo(_newBuilder);
return _newBuilder;
}
/**
* Copies all state of this object to a builder. This method is used by the {@link #copyOf} method and should not be called directly by client code.
*
* @param _other
* A builder instance to which the state of this object will be copied.
*/
public<_B >void copyTo(final Saksmappe.Builder<_B> _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
super.copyTo(_other, _propertyTree, _propertyTreeUse);
final PropertyTree saksaarPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("saksaar"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(saksaarPropertyTree!= null):((saksaarPropertyTree == null)||(!saksaarPropertyTree.isLeaf())))) {
_other.saksaar = this.saksaar;
}
final PropertyTree sakssekvensnummerPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("sakssekvensnummer"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(sakssekvensnummerPropertyTree!= null):((sakssekvensnummerPropertyTree == null)||(!sakssekvensnummerPropertyTree.isLeaf())))) {
_other.sakssekvensnummer = this.sakssekvensnummer;
}
final PropertyTree saksdatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("saksdato"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(saksdatoPropertyTree!= null):((saksdatoPropertyTree == null)||(!saksdatoPropertyTree.isLeaf())))) {
_other.saksdato = ((this.saksdato == null)?null:((XMLGregorianCalendar) this.saksdato.clone()));
}
final PropertyTree administrativEnhetPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("administrativEnhet"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(administrativEnhetPropertyTree!= null):((administrativEnhetPropertyTree == null)||(!administrativEnhetPropertyTree.isLeaf())))) {
_other.administrativEnhet = this.administrativEnhet;
}
final PropertyTree saksansvarligPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("saksansvarlig"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(saksansvarligPropertyTree!= null):((saksansvarligPropertyTree == null)||(!saksansvarligPropertyTree.isLeaf())))) {
_other.saksansvarlig = this.saksansvarlig;
}
final PropertyTree journalenhetPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("journalenhet"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(journalenhetPropertyTree!= null):((journalenhetPropertyTree == null)||(!journalenhetPropertyTree.isLeaf())))) {
_other.journalenhet = this.journalenhet;
}
final PropertyTree saksstatusPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("saksstatus"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(saksstatusPropertyTree!= null):((saksstatusPropertyTree == null)||(!saksstatusPropertyTree.isLeaf())))) {
_other.saksstatus = this.saksstatus;
}
final PropertyTree referanseSekundaerKlassifikasjonPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("referanseSekundaerKlassifikasjon"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(referanseSekundaerKlassifikasjonPropertyTree!= null):((referanseSekundaerKlassifikasjonPropertyTree == null)||(!referanseSekundaerKlassifikasjonPropertyTree.isLeaf())))) {
if (this.referanseSekundaerKlassifikasjon == null) {
_other.referanseSekundaerKlassifikasjon = null;
} else {
_other.referanseSekundaerKlassifikasjon = new ArrayList();
for (String _item: this.referanseSekundaerKlassifikasjon) {
_other.referanseSekundaerKlassifikasjon.add(((_item == null)?null:new Buildable.PrimitiveBuildable(_item)));
}
}
}
final PropertyTree sakspartPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("sakspart"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(sakspartPropertyTree!= null):((sakspartPropertyTree == null)||(!sakspartPropertyTree.isLeaf())))) {
if (this.sakspart == null) {
_other.sakspart = null;
} else {
_other.sakspart = new ArrayList>>();
for (Sakspart _item: this.sakspart) {
_other.sakspart.add(((_item == null)?null:_item.newCopyBuilder(_other, sakspartPropertyTree, _propertyTreeUse)));
}
}
}
final PropertyTree presedensPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("presedens"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(presedensPropertyTree!= null):((presedensPropertyTree == null)||(!presedensPropertyTree.isLeaf())))) {
if (this.presedens == null) {
_other.presedens = null;
} else {
_other.presedens = new ArrayList>>();
for (Presedens _item: this.presedens) {
_other.presedens.add(((_item == null)?null:_item.newCopyBuilder(_other, presedensPropertyTree, _propertyTreeUse)));
}
}
}
}
@Override
public<_B >Saksmappe.Builder<_B> newCopyBuilder(final _B _parentBuilder, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
return new Saksmappe.Builder<_B>(_parentBuilder, this, true, _propertyTree, _propertyTreeUse);
}
@Override
public Saksmappe.Builder newCopyBuilder(final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
return newCopyBuilder(null, _propertyTree, _propertyTreeUse);
}
public static<_B >Saksmappe.Builder<_B> copyOf(final Mappe _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
final Saksmappe.Builder<_B> _newBuilder = new Saksmappe.Builder<_B>(null, null, false);
_other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse);
return _newBuilder;
}
public static<_B >Saksmappe.Builder<_B> copyOf(final Saksmappe _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
final Saksmappe.Builder<_B> _newBuilder = new Saksmappe.Builder<_B>(null, null, false);
_other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse);
return _newBuilder;
}
public static Saksmappe.Builder copyExcept(final Mappe _other, final PropertyTree _propertyTree) {
return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE);
}
public static Saksmappe.Builder copyExcept(final Saksmappe _other, final PropertyTree _propertyTree) {
return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE);
}
public static Saksmappe.Builder copyOnly(final Mappe _other, final PropertyTree _propertyTree) {
return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE);
}
public static Saksmappe.Builder copyOnly(final Saksmappe _other, final PropertyTree _propertyTree) {
return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE);
}
public static class Builder<_B >
extends Mappe.Builder<_B>
implements Buildable
{
private BigInteger saksaar;
private BigInteger sakssekvensnummer;
private XMLGregorianCalendar saksdato;
private String administrativEnhet;
private String saksansvarlig;
private String journalenhet;
private Saksstatus saksstatus;
private List referanseSekundaerKlassifikasjon;
private List>> sakspart;
private List>> presedens;
public Builder(final _B _parentBuilder, final Saksmappe _other, final boolean _copy) {
super(_parentBuilder, _other, _copy);
if (_other!= null) {
this.saksaar = _other.saksaar;
this.sakssekvensnummer = _other.sakssekvensnummer;
this.saksdato = ((_other.saksdato == null)?null:((XMLGregorianCalendar) _other.saksdato.clone()));
this.administrativEnhet = _other.administrativEnhet;
this.saksansvarlig = _other.saksansvarlig;
this.journalenhet = _other.journalenhet;
this.saksstatus = _other.saksstatus;
if (_other.referanseSekundaerKlassifikasjon == null) {
this.referanseSekundaerKlassifikasjon = null;
} else {
this.referanseSekundaerKlassifikasjon = new ArrayList();
for (String _item: _other.referanseSekundaerKlassifikasjon) {
this.referanseSekundaerKlassifikasjon.add(((_item == null)?null:new Buildable.PrimitiveBuildable(_item)));
}
}
if (_other.sakspart == null) {
this.sakspart = null;
} else {
this.sakspart = new ArrayList>>();
for (Sakspart _item: _other.sakspart) {
this.sakspart.add(((_item == null)?null:_item.newCopyBuilder(this)));
}
}
if (_other.presedens == null) {
this.presedens = null;
} else {
this.presedens = new ArrayList>>();
for (Presedens _item: _other.presedens) {
this.presedens.add(((_item == null)?null:_item.newCopyBuilder(this)));
}
}
}
}
public Builder(final _B _parentBuilder, final Saksmappe _other, final boolean _copy, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
super(_parentBuilder, _other, _copy, _propertyTree, _propertyTreeUse);
if (_other!= null) {
final PropertyTree saksaarPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("saksaar"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(saksaarPropertyTree!= null):((saksaarPropertyTree == null)||(!saksaarPropertyTree.isLeaf())))) {
this.saksaar = _other.saksaar;
}
final PropertyTree sakssekvensnummerPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("sakssekvensnummer"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(sakssekvensnummerPropertyTree!= null):((sakssekvensnummerPropertyTree == null)||(!sakssekvensnummerPropertyTree.isLeaf())))) {
this.sakssekvensnummer = _other.sakssekvensnummer;
}
final PropertyTree saksdatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("saksdato"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(saksdatoPropertyTree!= null):((saksdatoPropertyTree == null)||(!saksdatoPropertyTree.isLeaf())))) {
this.saksdato = ((_other.saksdato == null)?null:((XMLGregorianCalendar) _other.saksdato.clone()));
}
final PropertyTree administrativEnhetPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("administrativEnhet"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(administrativEnhetPropertyTree!= null):((administrativEnhetPropertyTree == null)||(!administrativEnhetPropertyTree.isLeaf())))) {
this.administrativEnhet = _other.administrativEnhet;
}
final PropertyTree saksansvarligPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("saksansvarlig"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(saksansvarligPropertyTree!= null):((saksansvarligPropertyTree == null)||(!saksansvarligPropertyTree.isLeaf())))) {
this.saksansvarlig = _other.saksansvarlig;
}
final PropertyTree journalenhetPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("journalenhet"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(journalenhetPropertyTree!= null):((journalenhetPropertyTree == null)||(!journalenhetPropertyTree.isLeaf())))) {
this.journalenhet = _other.journalenhet;
}
final PropertyTree saksstatusPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("saksstatus"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(saksstatusPropertyTree!= null):((saksstatusPropertyTree == null)||(!saksstatusPropertyTree.isLeaf())))) {
this.saksstatus = _other.saksstatus;
}
final PropertyTree referanseSekundaerKlassifikasjonPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("referanseSekundaerKlassifikasjon"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(referanseSekundaerKlassifikasjonPropertyTree!= null):((referanseSekundaerKlassifikasjonPropertyTree == null)||(!referanseSekundaerKlassifikasjonPropertyTree.isLeaf())))) {
if (_other.referanseSekundaerKlassifikasjon == null) {
this.referanseSekundaerKlassifikasjon = null;
} else {
this.referanseSekundaerKlassifikasjon = new ArrayList();
for (String _item: _other.referanseSekundaerKlassifikasjon) {
this.referanseSekundaerKlassifikasjon.add(((_item == null)?null:new Buildable.PrimitiveBuildable(_item)));
}
}
}
final PropertyTree sakspartPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("sakspart"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(sakspartPropertyTree!= null):((sakspartPropertyTree == null)||(!sakspartPropertyTree.isLeaf())))) {
if (_other.sakspart == null) {
this.sakspart = null;
} else {
this.sakspart = new ArrayList>>();
for (Sakspart _item: _other.sakspart) {
this.sakspart.add(((_item == null)?null:_item.newCopyBuilder(this, sakspartPropertyTree, _propertyTreeUse)));
}
}
}
final PropertyTree presedensPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("presedens"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(presedensPropertyTree!= null):((presedensPropertyTree == null)||(!presedensPropertyTree.isLeaf())))) {
if (_other.presedens == null) {
this.presedens = null;
} else {
this.presedens = new ArrayList>>();
for (Presedens _item: _other.presedens) {
this.presedens.add(((_item == null)?null:_item.newCopyBuilder(this, presedensPropertyTree, _propertyTreeUse)));
}
}
}
}
}
protected<_P extends Saksmappe >_P init(final _P _product) {
_product.saksaar = this.saksaar;
_product.sakssekvensnummer = this.sakssekvensnummer;
_product.saksdato = this.saksdato;
_product.administrativEnhet = this.administrativEnhet;
_product.saksansvarlig = this.saksansvarlig;
_product.journalenhet = this.journalenhet;
_product.saksstatus = this.saksstatus;
if (this.referanseSekundaerKlassifikasjon!= null) {
final List referanseSekundaerKlassifikasjon = new ArrayList(this.referanseSekundaerKlassifikasjon.size());
for (Buildable _item: this.referanseSekundaerKlassifikasjon) {
referanseSekundaerKlassifikasjon.add(((String) _item.build()));
}
_product.referanseSekundaerKlassifikasjon = referanseSekundaerKlassifikasjon;
}
if (this.sakspart!= null) {
final List sakspart = new ArrayList(this.sakspart.size());
for (Sakspart.Builder> _item: this.sakspart) {
sakspart.add(_item.build());
}
_product.sakspart = sakspart;
}
if (this.presedens!= null) {
final List presedens = new ArrayList(this.presedens.size());
for (Presedens.Builder> _item: this.presedens) {
presedens.add(_item.build());
}
_product.presedens = presedens;
}
return super.init(_product);
}
/**
* Sets the new value of "saksaar" (any previous value will be replaced)
*
* @param saksaar
* New value of the "saksaar" property.
*/
public Saksmappe.Builder<_B> withSaksaar(final BigInteger saksaar) {
this.saksaar = saksaar;
return this;
}
/**
* Sets the new value of "sakssekvensnummer" (any previous value will be replaced)
*
* @param sakssekvensnummer
* New value of the "sakssekvensnummer" property.
*/
public Saksmappe.Builder<_B> withSakssekvensnummer(final BigInteger sakssekvensnummer) {
this.sakssekvensnummer = sakssekvensnummer;
return this;
}
/**
* Sets the new value of "saksdato" (any previous value will be replaced)
*
* @param saksdato
* New value of the "saksdato" property.
*/
public Saksmappe.Builder<_B> withSaksdato(final XMLGregorianCalendar saksdato) {
this.saksdato = saksdato;
return this;
}
/**
* Sets the new value of "administrativEnhet" (any previous value will be replaced)
*
* @param administrativEnhet
* New value of the "administrativEnhet" property.
*/
public Saksmappe.Builder<_B> withAdministrativEnhet(final String administrativEnhet) {
this.administrativEnhet = administrativEnhet;
return this;
}
/**
* Sets the new value of "saksansvarlig" (any previous value will be replaced)
*
* @param saksansvarlig
* New value of the "saksansvarlig" property.
*/
public Saksmappe.Builder<_B> withSaksansvarlig(final String saksansvarlig) {
this.saksansvarlig = saksansvarlig;
return this;
}
/**
* Sets the new value of "journalenhet" (any previous value will be replaced)
*
* @param journalenhet
* New value of the "journalenhet" property.
*/
public Saksmappe.Builder<_B> withJournalenhet(final String journalenhet) {
this.journalenhet = journalenhet;
return this;
}
/**
* Sets the new value of "saksstatus" (any previous value will be replaced)
*
* @param saksstatus
* New value of the "saksstatus" property.
*/
public Saksmappe.Builder<_B> withSaksstatus(final Saksstatus saksstatus) {
this.saksstatus = saksstatus;
return this;
}
/**
* Adds the given items to the value of "referanseSekundaerKlassifikasjon"
*
* @param referanseSekundaerKlassifikasjon
* Items to add to the value of the "referanseSekundaerKlassifikasjon" property
*/
public Saksmappe.Builder<_B> addReferanseSekundaerKlassifikasjon(final Iterable extends String> referanseSekundaerKlassifikasjon) {
if (referanseSekundaerKlassifikasjon!= null) {
if (this.referanseSekundaerKlassifikasjon == null) {
this.referanseSekundaerKlassifikasjon = new ArrayList();
}
for (String _item: referanseSekundaerKlassifikasjon) {
this.referanseSekundaerKlassifikasjon.add(new Buildable.PrimitiveBuildable(_item));
}
}
return this;
}
/**
* Sets the new value of "referanseSekundaerKlassifikasjon" (any previous value will be replaced)
*
* @param referanseSekundaerKlassifikasjon
* New value of the "referanseSekundaerKlassifikasjon" property.
*/
public Saksmappe.Builder<_B> withReferanseSekundaerKlassifikasjon(final Iterable extends String> referanseSekundaerKlassifikasjon) {
if (this.referanseSekundaerKlassifikasjon!= null) {
this.referanseSekundaerKlassifikasjon.clear();
}
return addReferanseSekundaerKlassifikasjon(referanseSekundaerKlassifikasjon);
}
/**
* Adds the given items to the value of "referanseSekundaerKlassifikasjon"
*
* @param referanseSekundaerKlassifikasjon
* Items to add to the value of the "referanseSekundaerKlassifikasjon" property
*/
public Saksmappe.Builder<_B> addReferanseSekundaerKlassifikasjon(String... referanseSekundaerKlassifikasjon) {
addReferanseSekundaerKlassifikasjon(Arrays.asList(referanseSekundaerKlassifikasjon));
return this;
}
/**
* Sets the new value of "referanseSekundaerKlassifikasjon" (any previous value will be replaced)
*
* @param referanseSekundaerKlassifikasjon
* New value of the "referanseSekundaerKlassifikasjon" property.
*/
public Saksmappe.Builder<_B> withReferanseSekundaerKlassifikasjon(String... referanseSekundaerKlassifikasjon) {
withReferanseSekundaerKlassifikasjon(Arrays.asList(referanseSekundaerKlassifikasjon));
return this;
}
/**
* Adds the given items to the value of "sakspart"
*
* @param sakspart
* Items to add to the value of the "sakspart" property
*/
public Saksmappe.Builder<_B> addSakspart(final Iterable extends Sakspart> sakspart) {
if (sakspart!= null) {
if (this.sakspart == null) {
this.sakspart = new ArrayList>>();
}
for (Sakspart _item: sakspart) {
this.sakspart.add(new Sakspart.Builder>(this, _item, false));
}
}
return this;
}
/**
* Sets the new value of "sakspart" (any previous value will be replaced)
*
* @param sakspart
* New value of the "sakspart" property.
*/
public Saksmappe.Builder<_B> withSakspart(final Iterable extends Sakspart> sakspart) {
if (this.sakspart!= null) {
this.sakspart.clear();
}
return addSakspart(sakspart);
}
/**
* Adds the given items to the value of "sakspart"
*
* @param sakspart
* Items to add to the value of the "sakspart" property
*/
public Saksmappe.Builder<_B> addSakspart(Sakspart... sakspart) {
addSakspart(Arrays.asList(sakspart));
return this;
}
/**
* Sets the new value of "sakspart" (any previous value will be replaced)
*
* @param sakspart
* New value of the "sakspart" property.
*/
public Saksmappe.Builder<_B> withSakspart(Sakspart... sakspart) {
withSakspart(Arrays.asList(sakspart));
return this;
}
/**
* Returns a new builder to build an additional value of the "Sakspart" property.
* Use {@link no.arkivverket.standarder.noark5.arkivmelding.Sakspart.Builder#end()} to return to the current builder.
*
* @return
* a new builder to build an additional value of the "Sakspart" property.
* Use {@link no.arkivverket.standarder.noark5.arkivmelding.Sakspart.Builder#end()} to return to the current builder.
*/
public Sakspart.Builder extends Saksmappe.Builder<_B>> addSakspart() {
if (this.sakspart == null) {
this.sakspart = new ArrayList>>();
}
final Sakspart.Builder> sakspart_Builder = new Sakspart.Builder>(this, null, false);
this.sakspart.add(sakspart_Builder);
return sakspart_Builder;
}
/**
* Adds the given items to the value of "presedens"
*
* @param presedens
* Items to add to the value of the "presedens" property
*/
public Saksmappe.Builder<_B> addPresedens(final Iterable extends Presedens> presedens) {
if (presedens!= null) {
if (this.presedens == null) {
this.presedens = new ArrayList>>();
}
for (Presedens _item: presedens) {
this.presedens.add(new Presedens.Builder>(this, _item, false));
}
}
return this;
}
/**
* Sets the new value of "presedens" (any previous value will be replaced)
*
* @param presedens
* New value of the "presedens" property.
*/
public Saksmappe.Builder<_B> withPresedens(final Iterable extends Presedens> presedens) {
if (this.presedens!= null) {
this.presedens.clear();
}
return addPresedens(presedens);
}
/**
* Adds the given items to the value of "presedens"
*
* @param presedens
* Items to add to the value of the "presedens" property
*/
public Saksmappe.Builder<_B> addPresedens(Presedens... presedens) {
addPresedens(Arrays.asList(presedens));
return this;
}
/**
* Sets the new value of "presedens" (any previous value will be replaced)
*
* @param presedens
* New value of the "presedens" property.
*/
public Saksmappe.Builder<_B> withPresedens(Presedens... presedens) {
withPresedens(Arrays.asList(presedens));
return this;
}
/**
* Returns a new builder to build an additional value of the "Presedens" property.
* Use {@link no.arkivverket.standarder.noark5.arkivmelding.Presedens.Builder#end()} to return to the current builder.
*
* @return
* a new builder to build an additional value of the "Presedens" property.
* Use {@link no.arkivverket.standarder.noark5.arkivmelding.Presedens.Builder#end()} to return to the current builder.
*/
public Presedens.Builder extends Saksmappe.Builder<_B>> addPresedens() {
if (this.presedens == null) {
this.presedens = new ArrayList>>();
}
final Presedens.Builder> presedens_Builder = new Presedens.Builder>(this, null, false);
this.presedens.add(presedens_Builder);
return presedens_Builder;
}
/**
* Sets the new value of "systemID" (any previous value will be replaced)
*
* @param systemID
* New value of the "systemID" property.
*/
@Override
public Saksmappe.Builder<_B> withSystemID(final String systemID) {
super.withSystemID(systemID);
return this;
}
/**
* Sets the new value of "mappeID" (any previous value will be replaced)
*
* @param mappeID
* New value of the "mappeID" property.
*/
@Override
public Saksmappe.Builder<_B> withMappeID(final String mappeID) {
super.withMappeID(mappeID);
return this;
}
/**
* Sets the new value of "referanseForeldermappe" (any previous value will be replaced)
*
* @param referanseForeldermappe
* New value of the "referanseForeldermappe" property.
*/
@Override
public Saksmappe.Builder<_B> withReferanseForeldermappe(final String referanseForeldermappe) {
super.withReferanseForeldermappe(referanseForeldermappe);
return this;
}
/**
* Sets the new value of "tittel" (any previous value will be replaced)
*
* @param tittel
* New value of the "tittel" property.
*/
@Override
public Saksmappe.Builder<_B> withTittel(final String tittel) {
super.withTittel(tittel);
return this;
}
/**
* Sets the new value of "offentligTittel" (any previous value will be replaced)
*
* @param offentligTittel
* New value of the "offentligTittel" property.
*/
@Override
public Saksmappe.Builder<_B> withOffentligTittel(final String offentligTittel) {
super.withOffentligTittel(offentligTittel);
return this;
}
/**
* Sets the new value of "beskrivelse" (any previous value will be replaced)
*
* @param beskrivelse
* New value of the "beskrivelse" property.
*/
@Override
public Saksmappe.Builder<_B> withBeskrivelse(final String beskrivelse) {
super.withBeskrivelse(beskrivelse);
return this;
}
/**
* Adds the given items to the value of "noekkelord"
*
* @param noekkelord
* Items to add to the value of the "noekkelord" property
*/
@Override
public Saksmappe.Builder<_B> addNoekkelord(final Iterable extends String> noekkelord) {
super.addNoekkelord(noekkelord);
return this;
}
/**
* Adds the given items to the value of "noekkelord"
*
* @param noekkelord
* Items to add to the value of the "noekkelord" property
*/
@Override
public Saksmappe.Builder<_B> addNoekkelord(String... noekkelord) {
super.addNoekkelord(noekkelord);
return this;
}
/**
* Sets the new value of "noekkelord" (any previous value will be replaced)
*
* @param noekkelord
* New value of the "noekkelord" property.
*/
@Override
public Saksmappe.Builder<_B> withNoekkelord(final Iterable extends String> noekkelord) {
super.withNoekkelord(noekkelord);
return this;
}
/**
* Sets the new value of "noekkelord" (any previous value will be replaced)
*
* @param noekkelord
* New value of the "noekkelord" property.
*/
@Override
public Saksmappe.Builder<_B> withNoekkelord(String... noekkelord) {
super.withNoekkelord(noekkelord);
return this;
}
/**
* Sets the new value of "dokumentmedium" (any previous value will be replaced)
*
* @param dokumentmedium
* New value of the "dokumentmedium" property.
*/
@Override
public Saksmappe.Builder<_B> withDokumentmedium(final Dokumentmedium dokumentmedium) {
super.withDokumentmedium(dokumentmedium);
return this;
}
/**
* Adds the given items to the value of "oppbevaringssted"
*
* @param oppbevaringssted
* Items to add to the value of the "oppbevaringssted" property
*/
@Override
public Saksmappe.Builder<_B> addOppbevaringssted(final Iterable extends String> oppbevaringssted) {
super.addOppbevaringssted(oppbevaringssted);
return this;
}
/**
* Adds the given items to the value of "oppbevaringssted"
*
* @param oppbevaringssted
* Items to add to the value of the "oppbevaringssted" property
*/
@Override
public Saksmappe.Builder<_B> addOppbevaringssted(String... oppbevaringssted) {
super.addOppbevaringssted(oppbevaringssted);
return this;
}
/**
* Sets the new value of "oppbevaringssted" (any previous value will be replaced)
*
* @param oppbevaringssted
* New value of the "oppbevaringssted" property.
*/
@Override
public Saksmappe.Builder<_B> withOppbevaringssted(final Iterable extends String> oppbevaringssted) {
super.withOppbevaringssted(oppbevaringssted);
return this;
}
/**
* Sets the new value of "oppbevaringssted" (any previous value will be replaced)
*
* @param oppbevaringssted
* New value of the "oppbevaringssted" property.
*/
@Override
public Saksmappe.Builder<_B> withOppbevaringssted(String... oppbevaringssted) {
super.withOppbevaringssted(oppbevaringssted);
return this;
}
/**
* Sets the new value of "opprettetDato" (any previous value will be replaced)
*
* @param opprettetDato
* New value of the "opprettetDato" property.
*/
@Override
public Saksmappe.Builder<_B> withOpprettetDato(final XMLGregorianCalendar opprettetDato) {
super.withOpprettetDato(opprettetDato);
return this;
}
/**
* Sets the new value of "opprettetAv" (any previous value will be replaced)
*
* @param opprettetAv
* New value of the "opprettetAv" property.
*/
@Override
public Saksmappe.Builder<_B> withOpprettetAv(final String opprettetAv) {
super.withOpprettetAv(opprettetAv);
return this;
}
/**
* Sets the new value of "avsluttetDato" (any previous value will be replaced)
*
* @param avsluttetDato
* New value of the "avsluttetDato" property.
*/
@Override
public Saksmappe.Builder<_B> withAvsluttetDato(final XMLGregorianCalendar avsluttetDato) {
super.withAvsluttetDato(avsluttetDato);
return this;
}
/**
* Sets the new value of "avsluttetAv" (any previous value will be replaced)
*
* @param avsluttetAv
* New value of the "avsluttetAv" property.
*/
@Override
public Saksmappe.Builder<_B> withAvsluttetAv(final String avsluttetAv) {
super.withAvsluttetAv(avsluttetAv);
return this;
}
/**
* Adds the given items to the value of "referanseArkivdel"
*
* @param referanseArkivdel
* Items to add to the value of the "referanseArkivdel" property
*/
@Override
public Saksmappe.Builder<_B> addReferanseArkivdel(final Iterable extends String> referanseArkivdel) {
super.addReferanseArkivdel(referanseArkivdel);
return this;
}
/**
* Adds the given items to the value of "referanseArkivdel"
*
* @param referanseArkivdel
* Items to add to the value of the "referanseArkivdel" property
*/
@Override
public Saksmappe.Builder<_B> addReferanseArkivdel(String... referanseArkivdel) {
super.addReferanseArkivdel(referanseArkivdel);
return this;
}
/**
* Sets the new value of "referanseArkivdel" (any previous value will be replaced)
*
* @param referanseArkivdel
* New value of the "referanseArkivdel" property.
*/
@Override
public Saksmappe.Builder<_B> withReferanseArkivdel(final Iterable extends String> referanseArkivdel) {
super.withReferanseArkivdel(referanseArkivdel);
return this;
}
/**
* Sets the new value of "referanseArkivdel" (any previous value will be replaced)
*
* @param referanseArkivdel
* New value of the "referanseArkivdel" property.
*/
@Override
public Saksmappe.Builder<_B> withReferanseArkivdel(String... referanseArkivdel) {
super.withReferanseArkivdel(referanseArkivdel);
return this;
}
/**
* Sets the new value of "virksomhetsspesifikkeMetadata" (any previous value will be replaced)
*
* @param virksomhetsspesifikkeMetadata
* New value of the "virksomhetsspesifikkeMetadata" property.
*/
@Override
public Saksmappe.Builder<_B> withVirksomhetsspesifikkeMetadata(final Object virksomhetsspesifikkeMetadata) {
super.withVirksomhetsspesifikkeMetadata(virksomhetsspesifikkeMetadata);
return this;
}
/**
* Adds the given items to the value of "kryssreferanse"
*
* @param kryssreferanse
* Items to add to the value of the "kryssreferanse" property
*/
@Override
public Saksmappe.Builder<_B> addKryssreferanse(final Iterable extends Kryssreferanse> kryssreferanse) {
super.addKryssreferanse(kryssreferanse);
return this;
}
/**
* Adds the given items to the value of "kryssreferanse"
*
* @param kryssreferanse
* Items to add to the value of the "kryssreferanse" property
*/
@Override
public Saksmappe.Builder<_B> addKryssreferanse(Kryssreferanse... kryssreferanse) {
super.addKryssreferanse(kryssreferanse);
return this;
}
/**
* Sets the new value of "kryssreferanse" (any previous value will be replaced)
*
* @param kryssreferanse
* New value of the "kryssreferanse" property.
*/
@Override
public Saksmappe.Builder<_B> withKryssreferanse(final Iterable extends Kryssreferanse> kryssreferanse) {
super.withKryssreferanse(kryssreferanse);
return this;
}
/**
* Sets the new value of "kryssreferanse" (any previous value will be replaced)
*
* @param kryssreferanse
* New value of the "kryssreferanse" property.
*/
@Override
public Saksmappe.Builder<_B> withKryssreferanse(Kryssreferanse... kryssreferanse) {
super.withKryssreferanse(kryssreferanse);
return this;
}
/**
* Returns a new builder to build an additional value of the "kryssreferanse" property.
* Use {@link no.arkivverket.standarder.noark5.arkivmelding.Kryssreferanse.Builder#end()} to return to the current builder.
*
* @return
* a new builder to build an additional value of the "kryssreferanse" property.
* Use {@link no.arkivverket.standarder.noark5.arkivmelding.Kryssreferanse.Builder#end()} to return to the current builder.
*/
@Override
public Kryssreferanse.Builder extends Saksmappe.Builder<_B>> addKryssreferanse() {
return ((Kryssreferanse.Builder extends Saksmappe.Builder<_B>> ) super.addKryssreferanse());
}
/**
* Adds the given items to the value of "merknad"
*
* @param merknad
* Items to add to the value of the "merknad" property
*/
@Override
public Saksmappe.Builder<_B> addMerknad(final Iterable extends Merknad> merknad) {
super.addMerknad(merknad);
return this;
}
/**
* Adds the given items to the value of "merknad"
*
* @param merknad
* Items to add to the value of the "merknad" property
*/
@Override
public Saksmappe.Builder<_B> addMerknad(Merknad... merknad) {
super.addMerknad(merknad);
return this;
}
/**
* Sets the new value of "merknad" (any previous value will be replaced)
*
* @param merknad
* New value of the "merknad" property.
*/
@Override
public Saksmappe.Builder<_B> withMerknad(final Iterable extends Merknad> merknad) {
super.withMerknad(merknad);
return this;
}
/**
* Sets the new value of "merknad" (any previous value will be replaced)
*
* @param merknad
* New value of the "merknad" property.
*/
@Override
public Saksmappe.Builder<_B> withMerknad(Merknad... merknad) {
super.withMerknad(merknad);
return this;
}
/**
* Returns a new builder to build an additional value of the "merknad" property.
* Use {@link no.arkivverket.standarder.noark5.arkivmelding.Merknad.Builder#end()} to return to the current builder.
*
* @return
* a new builder to build an additional value of the "merknad" property.
* Use {@link no.arkivverket.standarder.noark5.arkivmelding.Merknad.Builder#end()} to return to the current builder.
*/
@Override
public Merknad.Builder extends Saksmappe.Builder<_B>> addMerknad() {
return ((Merknad.Builder extends Saksmappe.Builder<_B>> ) super.addMerknad());
}
/**
* Sets the new value of "skjerming" (any previous value will be replaced)
*
* @param skjerming
* New value of the "skjerming" property.
*/
@Override
public Saksmappe.Builder<_B> withSkjerming(final Skjerming skjerming) {
super.withSkjerming(skjerming);
return this;
}
/**
* Returns the existing builder or a new builder to build the value of the "skjerming" property.
* Use {@link no.arkivverket.standarder.noark5.arkivmelding.Skjerming.Builder#end()} to return to the current builder.
*
* @return
* A new builder to build the value of the "skjerming" property.
* Use {@link no.arkivverket.standarder.noark5.arkivmelding.Skjerming.Builder#end()} to return to the current builder.
*/
public Skjerming.Builder extends Saksmappe.Builder<_B>> withSkjerming() {
return ((Skjerming.Builder extends Saksmappe.Builder<_B>> ) super.withSkjerming());
}
/**
* Sets the new value of "gradering" (any previous value will be replaced)
*
* @param gradering
* New value of the "gradering" property.
*/
@Override
public Saksmappe.Builder<_B> withGradering(final Gradering gradering) {
super.withGradering(gradering);
return this;
}
/**
* Returns the existing builder or a new builder to build the value of the "gradering" property.
* Use {@link no.arkivverket.standarder.noark5.arkivmelding.Gradering.Builder#end()} to return to the current builder.
*
* @return
* A new builder to build the value of the "gradering" property.
* Use {@link no.arkivverket.standarder.noark5.arkivmelding.Gradering.Builder#end()} to return to the current builder.
*/
public Gradering.Builder extends Saksmappe.Builder<_B>> withGradering() {
return ((Gradering.Builder extends Saksmappe.Builder<_B>> ) super.withGradering());
}
/**
* Adds the given items to the value of "klassifikasjon"
*
* @param klassifikasjon
* Items to add to the value of the "klassifikasjon" property
*/
@Override
public Saksmappe.Builder<_B> addKlassifikasjon(final Iterable extends Klassifikasjon> klassifikasjon) {
super.addKlassifikasjon(klassifikasjon);
return this;
}
/**
* Adds the given items to the value of "klassifikasjon"
*
* @param klassifikasjon
* Items to add to the value of the "klassifikasjon" property
*/
@Override
public Saksmappe.Builder<_B> addKlassifikasjon(Klassifikasjon... klassifikasjon) {
super.addKlassifikasjon(klassifikasjon);
return this;
}
/**
* Sets the new value of "klassifikasjon" (any previous value will be replaced)
*
* @param klassifikasjon
* New value of the "klassifikasjon" property.
*/
@Override
public Saksmappe.Builder<_B> withKlassifikasjon(final Iterable extends Klassifikasjon> klassifikasjon) {
super.withKlassifikasjon(klassifikasjon);
return this;
}
/**
* Sets the new value of "klassifikasjon" (any previous value will be replaced)
*
* @param klassifikasjon
* New value of the "klassifikasjon" property.
*/
@Override
public Saksmappe.Builder<_B> withKlassifikasjon(Klassifikasjon... klassifikasjon) {
super.withKlassifikasjon(klassifikasjon);
return this;
}
/**
* Returns a new builder to build an additional value of the "klassifikasjon" property.
* Use {@link no.arkivverket.standarder.noark5.arkivmelding.Klassifikasjon.Builder#end()} to return to the current builder.
*
* @return
* a new builder to build an additional value of the "klassifikasjon" property.
* Use {@link no.arkivverket.standarder.noark5.arkivmelding.Klassifikasjon.Builder#end()} to return to the current builder.
*/
@Override
public Klassifikasjon.Builder extends Saksmappe.Builder<_B>> addKlassifikasjon() {
return ((Klassifikasjon.Builder extends Saksmappe.Builder<_B>> ) super.addKlassifikasjon());
}
/**
* Adds the given items to the value of "mappe"
*
* @param mappe
* Items to add to the value of the "mappe" property
*/
@Override
public Saksmappe.Builder<_B> addMappe(final Iterable extends Mappe> mappe) {
super.addMappe(mappe);
return this;
}
/**
* Adds the given items to the value of "mappe"
*
* @param mappe
* Items to add to the value of the "mappe" property
*/
@Override
public Saksmappe.Builder<_B> addMappe(Mappe... mappe) {
super.addMappe(mappe);
return this;
}
/**
* Sets the new value of "mappe" (any previous value will be replaced)
*
* @param mappe
* New value of the "mappe" property.
*/
@Override
public Saksmappe.Builder<_B> withMappe(final Iterable extends Mappe> mappe) {
super.withMappe(mappe);
return this;
}
/**
* Sets the new value of "mappe" (any previous value will be replaced)
*
* @param mappe
* New value of the "mappe" property.
*/
@Override
public Saksmappe.Builder<_B> withMappe(Mappe... mappe) {
super.withMappe(mappe);
return this;
}
/**
* Returns a new builder to build an additional value of the "mappe" property.
* Use {@link no.arkivverket.standarder.noark5.arkivmelding.Mappe.Builder#end()} to return to the current builder.
*
* @return
* a new builder to build an additional value of the "mappe" property.
* Use {@link no.arkivverket.standarder.noark5.arkivmelding.Mappe.Builder#end()} to return to the current builder.
*/
@Override
public Mappe.Builder extends Saksmappe.Builder<_B>> addMappe() {
return ((Mappe.Builder extends Saksmappe.Builder<_B>> ) super.addMappe());
}
/**
* Adds the given items to the value of "basisregistrering"
*
* @param basisregistrering
* Items to add to the value of the "basisregistrering" property
*/
@Override
public Saksmappe.Builder<_B> addBasisregistrering(final Iterable extends Basisregistrering> basisregistrering) {
super.addBasisregistrering(basisregistrering);
return this;
}
/**
* Adds the given items to the value of "basisregistrering"
*
* @param basisregistrering
* Items to add to the value of the "basisregistrering" property
*/
@Override
public Saksmappe.Builder<_B> addBasisregistrering(Basisregistrering... basisregistrering) {
super.addBasisregistrering(basisregistrering);
return this;
}
/**
* Sets the new value of "basisregistrering" (any previous value will be replaced)
*
* @param basisregistrering
* New value of the "basisregistrering" property.
*/
@Override
public Saksmappe.Builder<_B> withBasisregistrering(final Iterable extends Basisregistrering> basisregistrering) {
super.withBasisregistrering(basisregistrering);
return this;
}
/**
* Sets the new value of "basisregistrering" (any previous value will be replaced)
*
* @param basisregistrering
* New value of the "basisregistrering" property.
*/
@Override
public Saksmappe.Builder<_B> withBasisregistrering(Basisregistrering... basisregistrering) {
super.withBasisregistrering(basisregistrering);
return this;
}
/**
* Returns a new builder to build an additional value of the "basisregistrering" property.
* Use {@link no.arkivverket.standarder.noark5.arkivmelding.Basisregistrering.Builder#end()} to return to the current builder.
*
* @return
* a new builder to build an additional value of the "basisregistrering" property.
* Use {@link no.arkivverket.standarder.noark5.arkivmelding.Basisregistrering.Builder#end()} to return to the current builder.
*/
@Override
public Basisregistrering.Builder extends Saksmappe.Builder<_B>> addBasisregistrering() {
return ((Basisregistrering.Builder extends Saksmappe.Builder<_B>> ) super.addBasisregistrering());
}
@Override
public Saksmappe build() {
if (_storedValue == null) {
return this.init(new Saksmappe());
} else {
return ((Saksmappe) _storedValue);
}
}
public Saksmappe.Builder<_B> copyOf(final Saksmappe _other) {
_other.copyTo(this);
return this;
}
public Saksmappe.Builder<_B> copyOf(final Saksmappe.Builder _other) {
return copyOf(_other.build());
}
}
public static class Select
extends Saksmappe.Selector
{
Select() {
super(null, null, null);
}
public static Saksmappe.Select _root() {
return new Saksmappe.Select();
}
}
public static class Selector , TParent >
extends Mappe.Selector
{
private com.kscs.util.jaxb.Selector> saksaar = null;
private com.kscs.util.jaxb.Selector> sakssekvensnummer = null;
private com.kscs.util.jaxb.Selector> saksdato = null;
private com.kscs.util.jaxb.Selector> administrativEnhet = null;
private com.kscs.util.jaxb.Selector> saksansvarlig = null;
private com.kscs.util.jaxb.Selector> journalenhet = null;
private com.kscs.util.jaxb.Selector> saksstatus = null;
private com.kscs.util.jaxb.Selector> referanseSekundaerKlassifikasjon = null;
private Sakspart.Selector> sakspart = null;
private Presedens.Selector> presedens = null;
public Selector(final TRoot root, final TParent parent, final String propertyName) {
super(root, parent, propertyName);
}
@Override
public Map buildChildren() {
final Map products = new HashMap();
products.putAll(super.buildChildren());
if (this.saksaar!= null) {
products.put("saksaar", this.saksaar.init());
}
if (this.sakssekvensnummer!= null) {
products.put("sakssekvensnummer", this.sakssekvensnummer.init());
}
if (this.saksdato!= null) {
products.put("saksdato", this.saksdato.init());
}
if (this.administrativEnhet!= null) {
products.put("administrativEnhet", this.administrativEnhet.init());
}
if (this.saksansvarlig!= null) {
products.put("saksansvarlig", this.saksansvarlig.init());
}
if (this.journalenhet!= null) {
products.put("journalenhet", this.journalenhet.init());
}
if (this.saksstatus!= null) {
products.put("saksstatus", this.saksstatus.init());
}
if (this.referanseSekundaerKlassifikasjon!= null) {
products.put("referanseSekundaerKlassifikasjon", this.referanseSekundaerKlassifikasjon.init());
}
if (this.sakspart!= null) {
products.put("sakspart", this.sakspart.init());
}
if (this.presedens!= null) {
products.put("presedens", this.presedens.init());
}
return products;
}
public com.kscs.util.jaxb.Selector> saksaar() {
return ((this.saksaar == null)?this.saksaar = new com.kscs.util.jaxb.Selector>(this._root, this, "saksaar"):this.saksaar);
}
public com.kscs.util.jaxb.Selector> sakssekvensnummer() {
return ((this.sakssekvensnummer == null)?this.sakssekvensnummer = new com.kscs.util.jaxb.Selector>(this._root, this, "sakssekvensnummer"):this.sakssekvensnummer);
}
public com.kscs.util.jaxb.Selector> saksdato() {
return ((this.saksdato == null)?this.saksdato = new com.kscs.util.jaxb.Selector>(this._root, this, "saksdato"):this.saksdato);
}
public com.kscs.util.jaxb.Selector> administrativEnhet() {
return ((this.administrativEnhet == null)?this.administrativEnhet = new com.kscs.util.jaxb.Selector>(this._root, this, "administrativEnhet"):this.administrativEnhet);
}
public com.kscs.util.jaxb.Selector> saksansvarlig() {
return ((this.saksansvarlig == null)?this.saksansvarlig = new com.kscs.util.jaxb.Selector>(this._root, this, "saksansvarlig"):this.saksansvarlig);
}
public com.kscs.util.jaxb.Selector> journalenhet() {
return ((this.journalenhet == null)?this.journalenhet = new com.kscs.util.jaxb.Selector>(this._root, this, "journalenhet"):this.journalenhet);
}
public com.kscs.util.jaxb.Selector> saksstatus() {
return ((this.saksstatus == null)?this.saksstatus = new com.kscs.util.jaxb.Selector>(this._root, this, "saksstatus"):this.saksstatus);
}
public com.kscs.util.jaxb.Selector> referanseSekundaerKlassifikasjon() {
return ((this.referanseSekundaerKlassifikasjon == null)?this.referanseSekundaerKlassifikasjon = new com.kscs.util.jaxb.Selector>(this._root, this, "referanseSekundaerKlassifikasjon"):this.referanseSekundaerKlassifikasjon);
}
public Sakspart.Selector> sakspart() {
return ((this.sakspart == null)?this.sakspart = new Sakspart.Selector>(this._root, this, "sakspart"):this.sakspart);
}
public Presedens.Selector> presedens() {
return ((this.presedens == null)?this.presedens = new Presedens.Selector>(this._root, this, "presedens"):this.presedens);
}
}
}