Skip to content

Commit

Permalink
Refaktorert og migrert Brreg-stub inn i 21. århundre
Browse files Browse the repository at this point in the history
Fjernet Jaxb2 plugin og manuelt generet java filene gjennom intellij
Fikset på imports, lagt til støtte for de nye nav.common.no pakkene og refaktorert bort fra gammel implementasjon
#deploy-brreg-stub
  • Loading branch information
stigus committed Oct 19, 2023
1 parent 5ad9900 commit 128f5f5
Show file tree
Hide file tree
Showing 12 changed files with 7,362 additions and 119 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,348 @@

package no.nav.brregstub.generated;

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;
import jakarta.xml.bind.annotation.XmlValue;


/**
* <p>Java class for adresseType1 complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="adresseType1"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="adresse1" minOccurs="0"&gt;
* &lt;simpleType&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
* &lt;minLength value="1"/&gt;
* &lt;maxLength value="35"/&gt;
* &lt;/restriction&gt;
* &lt;/simpleType&gt;
* &lt;/element&gt;
* &lt;element name="adresse2" minOccurs="0"&gt;
* &lt;simpleType&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
* &lt;minLength value="1"/&gt;
* &lt;maxLength value="35"/&gt;
* &lt;/restriction&gt;
* &lt;/simpleType&gt;
* &lt;/element&gt;
* &lt;element name="adresse3" minOccurs="0"&gt;
* &lt;simpleType&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
* &lt;minLength value="1"/&gt;
* &lt;maxLength value="35"/&gt;
* &lt;/restriction&gt;
* &lt;/simpleType&gt;
* &lt;/element&gt;
* &lt;element name="postnr" minOccurs="0"&gt;
* &lt;simpleType&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
* &lt;minLength value="4"/&gt;
* &lt;maxLength value="9"/&gt;
* &lt;/restriction&gt;
* &lt;/simpleType&gt;
* &lt;/element&gt;
* &lt;element name="poststed" minOccurs="0"&gt;
* &lt;simpleType&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
* &lt;minLength value="1"/&gt;
* &lt;maxLength value="35"/&gt;
* &lt;/restriction&gt;
* &lt;/simpleType&gt;
* &lt;/element&gt;
* &lt;element name="land"&gt;
* &lt;complexType&gt;
* &lt;simpleContent&gt;
* &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema&gt;string"&gt;
* &lt;attribute name="landkode1" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;/extension&gt;
* &lt;/simpleContent&gt;
* &lt;/complexType&gt;
* &lt;/element&gt;
* &lt;/sequence&gt;
* &lt;attribute name="ledetekst" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "adresseType1", propOrder = {
"adresse1",
"adresse2",
"adresse3",
"postnr",
"poststed",
"land"
})
public class AdresseType1 {

protected String adresse1;
protected String adresse2;
protected String adresse3;
protected String postnr;
protected String poststed;
@XmlElement(required = true)
protected AdresseType1 .Land land;
@XmlAttribute(name = "ledetekst")
protected String ledetekst;

/**
* Gets the value of the adresse1 property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAdresse1() {
return adresse1;
}

/**
* Sets the value of the adresse1 property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAdresse1(String value) {
this.adresse1 = value;
}

/**
* Gets the value of the adresse2 property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAdresse2() {
return adresse2;
}

/**
* Sets the value of the adresse2 property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAdresse2(String value) {
this.adresse2 = value;
}

/**
* Gets the value of the adresse3 property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAdresse3() {
return adresse3;
}

/**
* Sets the value of the adresse3 property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAdresse3(String value) {
this.adresse3 = value;
}

/**
* Gets the value of the postnr property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPostnr() {
return postnr;
}

/**
* Sets the value of the postnr property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPostnr(String value) {
this.postnr = value;
}

/**
* Gets the value of the poststed property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPoststed() {
return poststed;
}

/**
* Sets the value of the poststed property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPoststed(String value) {
this.poststed = value;
}

/**
* Gets the value of the land property.
*
* @return
* possible object is
* {@link AdresseType1 .Land }
*
*/
public AdresseType1 .Land getLand() {
return land;
}

/**
* Sets the value of the land property.
*
* @param value
* allowed object is
* {@link AdresseType1 .Land }
*
*/
public void setLand(AdresseType1 .Land value) {
this.land = value;
}

/**
* Gets the value of the ledetekst property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLedetekst() {
return ledetekst;
}

/**
* Sets the value of the ledetekst property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLedetekst(String value) {
this.ledetekst = value;
}


/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType&gt;
* &lt;simpleContent&gt;
* &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema&gt;string"&gt;
* &lt;attribute name="landkode1" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;/extension&gt;
* &lt;/simpleContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"value"
})
public static class Land {

@XmlValue
protected String value;
@XmlAttribute(name = "landkode1", required = true)
protected String landkode1;

/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValue() {
return value;
}

/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}

/**
* Gets the value of the landkode1 property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLandkode1() {
return landkode1;
}

/**
* Sets the value of the landkode1 property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLandkode1(String value) {
this.landkode1 = value;
}

}

}
Loading

0 comments on commit 128f5f5

Please sign in to comment.