Skip to content

Commit e354dcd

Browse files
committed
Update JAVA-Classes - BO4E v202401.4.0
1 parent 73f56f3 commit e354dcd

36 files changed

Lines changed: 129 additions & 129 deletions

bo4e/bo/Angebot.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* <https://json-schema.app/view/%23?url=https://raw.githubusercontent.com/BO4E/BO4E-Schemas/v202401.4.0/src/bo4e_schemas/bo/Angebot.json>`_
2727
*/
2828
public class Angebot extends Geschaeftsobjekt {
29-
private final Typ typ = Typ.ANGEBOT;
29+
private final Typ _typ = Typ.ANGEBOT;
3030
private String anfragereferenz;
3131
private OffsetDateTime angebotsdatum;
3232
private Geschaeftspartner angebotsgeber;
@@ -55,8 +55,8 @@ private Angebot(AngebotBuilder builder) {
5555
this.varianten = builder.varianten;
5656
}
5757

58-
public Typ getTyp() {
59-
return typ;
58+
public Typ get_typ() {
59+
return _typ;
6060
}
6161

6262
/**

bo4e/bo/Ausschreibung.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* <https://json-schema.app/view/%23?url=https://raw.githubusercontent.com/BO4E/BO4E-Schemas/v202401.4.0/src/bo4e_schemas/bo/Ausschreibung.json>`_
2626
*/
2727
public class Ausschreibung extends Geschaeftsobjekt {
28-
private final Typ typ = Typ.AUSSCHREIBUNG;
28+
private final Typ _typ = Typ.AUSSCHREIBUNG;
2929
private Zeitraum abgabefrist;
3030
private Geschaeftspartner ausschreibender;
3131
private Ausschreibungsportal ausschreibungportal;
@@ -56,8 +56,8 @@ private Ausschreibung(AusschreibungBuilder builder) {
5656
this.webseite = builder.webseite;
5757
}
5858

59-
public Typ getTyp() {
60-
return typ;
59+
public Typ get_typ() {
60+
return _typ;
6161
}
6262

6363
public Zeitraum getAbgabefrist() {

bo4e/bo/Buendelvertrag.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* <https://json-schema.app/view/%23?url=https://raw.githubusercontent.com/BO4E/BO4E-Schemas/v202401.4.0/src/bo4e_schemas/bo/Buendelvertrag.json>`_
2727
*/
2828
public class Buendelvertrag extends Geschaeftsobjekt {
29-
private final Typ typ = Typ.BUENDELVERTRAG;
29+
private final Typ _typ = Typ.BUENDELVERTRAG;
3030
private String beschreibung;
3131
private List<Vertrag> einzelvertraege;
3232
private Sparte sparte;
@@ -61,8 +61,8 @@ private Buendelvertrag(BuendelvertragBuilder builder) {
6161
this.vertragsstatus = builder.vertragsstatus;
6262
}
6363

64-
public Typ getTyp() {
65-
return typ;
64+
public Typ get_typ() {
65+
return _typ;
6666
}
6767

6868
/**

bo4e/bo/Energiemenge.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* <https://json-schema.app/view/%23?url=https://raw.githubusercontent.com/BO4E/BO4E-Schemas/v202401.4.0/src/bo4e_schemas/bo/Energiemenge.json>`_
2020
*/
2121
public class Energiemenge extends Geschaeftsobjekt {
22-
private final Typ typ = Typ.ENERGIEMENGE;
22+
private final Typ _typ = Typ.ENERGIEMENGE;
2323
private List<Verbrauch> energieverbrauch;
2424
private String lokationsId;
2525
private Lokationstyp lokationstyp;
@@ -34,8 +34,8 @@ private Energiemenge(EnergiemengeBuilder builder) {
3434
this.lokationstyp = builder.lokationstyp;
3535
}
3636

37-
public Typ getTyp() {
38-
return typ;
37+
public Typ get_typ() {
38+
return _typ;
3939
}
4040

4141
/**

bo4e/bo/Fremdkosten.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* <https://json-schema.app/view/%23?url=https://raw.githubusercontent.com/BO4E/BO4E-Schemas/v202401.4.0/src/bo4e_schemas/bo/Fremdkosten.json>`_
2525
*/
2626
public class Fremdkosten extends Geschaeftsobjekt {
27-
private final Typ typ = Typ.FREMDKOSTEN;
27+
private final Typ _typ = Typ.FREMDKOSTEN;
2828
private Zeitraum gueltigkeit;
2929
private List<Fremdkostenblock> kostenbloecke;
3030
private Betrag summeKosten;
@@ -39,8 +39,8 @@ private Fremdkosten(FremdkostenBuilder builder) {
3939
this.summeKosten = builder.summeKosten;
4040
}
4141

42-
public Typ getTyp() {
43-
return typ;
42+
public Typ get_typ() {
43+
return _typ;
4444
}
4545

4646
/**

bo4e/bo/Geraet.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* <https://json-schema.app/view/%23?url=https://raw.githubusercontent.com/BO4E/BO4E-Schemas/v202401.4.0/src/bo4e_schemas/bo/Geraet.json>`_
2020
*/
2121
public class Geraet extends Geschaeftsobjekt {
22-
private final Typ typ = Typ.GERAET;
22+
private final Typ _typ = Typ.GERAET;
2323
private String bezeichnung;
2424
private Geraeteklasse geraeteklasse;
2525
private String geraetenummer;
@@ -36,8 +36,8 @@ private Geraet(GeraetBuilder builder) {
3636
this.geraetetyp = builder.geraetetyp;
3737
}
3838

39-
public Typ getTyp() {
40-
return typ;
39+
public Typ get_typ() {
40+
return _typ;
4141
}
4242

4343
/**

bo4e/bo/Geschaeftsobjekt.java

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,42 +19,42 @@
1919
* <https://json-schema.app/view/%23?url=https://raw.githubusercontent.com/Hochfrequenz/BO4E-Schemas/v202401.0.1-/src/bo4e_schemas/bo/Geschaeftsobjekt.json>`_
2020
*/
2121
public abstract class Geschaeftsobjekt {
22-
private String id;
23-
private final Typ typ = Typ.GESCHAEFTSOBJEKT;
24-
private final String boVersion = "202401.4.0";
22+
private String _id;
23+
private final Typ _typ = Typ.GESCHAEFTSOBJEKT;
24+
private final String _version = "202401.4.0";
2525
private List<ZusatzAttribut> zusatzAttribute;
2626

2727
protected Geschaeftsobjekt(GeschaeftsobjektBuilder builder) {
28-
this.id = builder.id;
28+
this._id = builder._id;
2929
this.zusatzAttribute = builder.zusatzAttribute;
3030
}
3131

3232
/**
3333
* Hier können IDs anderer Systeme hinterlegt werden (z.B. eine SAP-GP-Nummer oder eine GUID)
3434
*/
35-
public String getId() {
36-
return id;
35+
public String get_id() {
36+
return _id;
3737
}
3838

3939
/**
4040
* Hier können IDs anderer Systeme hinterlegt werden (z.B. eine SAP-GP-Nummer oder eine GUID)
4141
*/
42-
public void setId(String value) {
43-
this.id = value;
42+
public void set_id(String value) {
43+
this._id = value;
4444
}
4545

4646
/**
4747
* Typ des Geschaeftsobjekts
4848
*/
49-
public Typ getTyp() {
50-
return typ;
49+
public Typ get_typ() {
50+
return _typ;
5151
}
5252

5353
/**
5454
* Version der BO-Struktur aka "fachliche Versionierung"
5555
*/
56-
public String getBoVersion() {
57-
return boVersion;
56+
public String get_version() {
57+
return _version;
5858
}
5959

6060
public List<ZusatzAttribut> getZusatzAttribute() {
@@ -66,14 +66,14 @@ public void setZusatzAttribute(List<ZusatzAttribut> value) {
6666
}
6767

6868
public abstract static class GeschaeftsobjektBuilder {
69-
private String id;
69+
private String _id;
7070
private List<ZusatzAttribut> zusatzAttribute;
7171

7272
/**
7373
* Hier können IDs anderer Systeme hinterlegt werden (z.B. eine SAP-GP-Nummer oder eine GUID)
7474
*/
75-
public GeschaeftsobjektBuilder setId(String value) {
76-
this.id = value;
75+
public GeschaeftsobjektBuilder set_id(String value) {
76+
this._id = value;
7777
return this;
7878
}
7979

bo4e/bo/Geschaeftspartner.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
* <https://json-schema.app/view/%23?url=https://raw.githubusercontent.com/BO4E/BO4E-Schemas/v202401.4.0/src/bo4e_schemas/bo/Geschaeftspartner.json>`_
2828
*/
2929
public class Geschaeftspartner extends Geschaeftsobjekt {
30-
private final Typ typ = Typ.GESCHAEFTSPARTNER;
30+
private final Typ _typ = Typ.GESCHAEFTSPARTNER;
3131
private Adresse adresse;
3232
private String amtsgericht;
3333
private Anrede anrede;
@@ -68,8 +68,8 @@ private Geschaeftspartner(GeschaeftspartnerBuilder builder) {
6868
this.website = builder.website;
6969
}
7070

71-
public Typ getTyp() {
72-
return typ;
71+
public Typ get_typ() {
72+
return _typ;
7373
}
7474

7575
/**

bo4e/bo/Kosten.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* <https://json-schema.app/view/%23?url=https://raw.githubusercontent.com/BO4E/BO4E-Schemas/v202401.4.0/src/bo4e_schemas/bo/Kosten.json>`_
2424
*/
2525
public class Kosten extends Geschaeftsobjekt {
26-
private final Typ typ = Typ.KOSTEN;
26+
private final Typ _typ = Typ.KOSTEN;
2727
private Zeitraum gueltigkeit;
2828
private List<Kostenblock> kostenbloecke;
2929
private Kostenklasse kostenklasse;
@@ -40,8 +40,8 @@ private Kosten(KostenBuilder builder) {
4040
this.summeKosten = builder.summeKosten;
4141
}
4242

43-
public Typ getTyp() {
44-
return typ;
43+
public Typ get_typ() {
44+
return _typ;
4545
}
4646

4747
/**

bo4e/bo/Lastgang.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* <https://json-schema.app/view/%23?url=https://raw.githubusercontent.com/BO4E/BO4E-Schemas/v202401.4.0/src/bo4e_schemas/bo/Lastgang.json>`_
2525
*/
2626
public class Lastgang extends Geschaeftsobjekt {
27-
private final Typ typ = Typ.LASTGANG;
27+
private final Typ _typ = Typ.LASTGANG;
2828
private Marktlokation marktlokation;
2929
private Mengeneinheit messgroesse;
3030
private Messlokation messlokation;
@@ -49,8 +49,8 @@ private Lastgang(LastgangBuilder builder) {
4949
this.zeitIntervallLaenge = builder.zeitIntervallLaenge;
5050
}
5151

52-
public Typ getTyp() {
53-
return typ;
52+
public Typ get_typ() {
53+
return _typ;
5454
}
5555

5656
/**

0 commit comments

Comments
 (0)