public abstract class StandardKonvertierungStatisch extends java.lang.Object implements DatexKonvertierungStatisch
DatexKonvertierungStatisch.CreationOptions
Modifier and Type | Field and Description |
---|---|
protected javax.xml.bind.JAXBContext |
jaxbContext
Kontext für JAXB.
|
protected static java.lang.String |
KEY_LOCATION_GROUP_ID
Schlüssel LocationGroupId.
|
protected static java.lang.String |
KEY_NATIONAL_IDENTIFIER
Schlüssel NationalIdentifier.
|
protected static java.lang.String |
KEY_PREDEFINED_LOCATION_VERSION
Schlüssel PredefinedLocationVersion.
|
protected java.lang.String |
locationGroupId
Id der LocationGroup.
|
protected static de.bsvrz.sys.funclib.debug.Debug |
LOGGER
Logging.
|
protected java.lang.String |
logPrefix
Präfix für Log-Ausgaben.
|
protected java.lang.String |
nationalIdentifier
NationalIdentifier.
|
protected PluginExport |
plugin
Referenz auf Plugin-Definitions-Klasse.
|
protected static java.lang.String |
STANDARD_VERSION_STRING
Standard-Ausgabe für Versionsstring.
|
protected java.lang.String |
version
Version der PredefinedLocation.
|
Constructor and Description |
---|
StandardKonvertierungStatisch() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.Object |
getDatexII(java.util.Collection<ObjekteAtgAsp> objekteAtgAspListe,
DatexKonvertierungStatisch.CreationOptions... options)
Führe Konvertierung von Datenverteiler-Daten nach DATEX-II durch.
|
abstract javax.xml.bind.JAXBContext |
getJAXBContext()
Rückgabe des JAX-B-Kontexts für die in liefereDaten verwendete JAX-B-Struktur.
|
java.lang.String |
getPredefinedLocationVersion()
Aktuell verwendete Version der PredefinedLocations.
|
abstract void |
initialisiere(java.util.Collection<ObjekteAtgAsp> objects)
Initialisiere die Instanz mit einer Liste von Objektliste/Attributgruppe/Aspekt-Kombination.
|
protected void |
initialisiereBasisFelder()
Initialisierung von grundlegenden Feldern (NationalIdentifier, Log-Präfix).
|
protected void |
persistiereVersion(boolean versionFree,
java.lang.String newVersion)
Die neue Version wird als Instanzvariable übernommen und persistiert.
|
protected static final java.lang.String KEY_PREDEFINED_LOCATION_VERSION
protected static final java.lang.String KEY_LOCATION_GROUP_ID
protected static final java.lang.String STANDARD_VERSION_STRING
protected static final java.lang.String KEY_NATIONAL_IDENTIFIER
protected PluginExport plugin
protected static final de.bsvrz.sys.funclib.debug.Debug LOGGER
protected java.lang.String nationalIdentifier
protected java.lang.String logPrefix
protected javax.xml.bind.JAXBContext jaxbContext
protected java.lang.String version
protected java.lang.String locationGroupId
public java.lang.String getPredefinedLocationVersion()
protected void persistiereVersion(boolean versionFree, java.lang.String newVersion)
versionFree
- Wenn true, wird die Version nicht übernommen und nicht persistiert.newVersion
- String mit neuer Versionprotected void initialisiereBasisFelder() throws javax.naming.ConfigurationException
javax.naming.ConfigurationException
- Wird geworfen, wenn Pflichtfelder nicht eingelesen werden konnten.public abstract java.lang.Object getDatexII(java.util.Collection<ObjekteAtgAsp> objekteAtgAspListe, DatexKonvertierungStatisch.CreationOptions... options)
DatexKonvertierungStatisch
getDatexII
in interface DatexKonvertierungStatisch
objekteAtgAspListe
- Liste von Objektliste/Attributgruppe/Aspekt-Kombinationen.options
- Entferne alle Versionshinweise in der Datex-Strukturpublic abstract javax.xml.bind.JAXBContext getJAXBContext() throws javax.xml.bind.JAXBException
DatexKonvertierungStatisch
getJAXBContext
in interface DatexKonvertierungStatisch
javax.xml.bind.JAXBException
- Falls die Instantiierung des Kontext nicht möglich ist.public abstract void initialisiere(java.util.Collection<ObjekteAtgAsp> objects) throws javax.naming.ConfigurationException
DatexKonvertierungStatisch
initialisiere
in interface DatexKonvertierungStatisch
objects
- Liste von Objektliste/Attributgruppe/Aspekt-Kombination.javax.naming.ConfigurationException
- Fehler bei der Initialisierung (bspw. fehlende Parameter)