Skip to content
Commits on Source (13)
# Created by .ignore support plugin (hsz.mobi)
.gradle/
build/
de.bsvrz.sys.funclib.dambach-build:
image:
openjdk:8-jdk-alpine
script:
- ./gradlew build
Versionsverlauf
===============
## [Noch nicht veröffentlicht]
## [Version 1.2.1]
- NERZ: Umstellung auf Gradle, Build durch FTB und Bereitstellung auf NERZ-Repositories
## Version 1.2.0
- **Neue Features**
Folgendes ist neu in dieser Version:
- Das Paket vewdynobj kam hinzu (um Abwärtskompatiblität zu bestehender Software zu gewährleisten)
- **Behobene Probleme**
Folgende Probleme vorhergehender Versionen wurden behoben:
- keine
- **Bekannte Probleme**
Folgende Probleme werden in einer anschließenden Version behoben:
- keine bekannt
## Version 1.1.0
- **Neue Features**
Folgendes ist neu in dieser Version:
- de.bsvrz.sys.funclib.dambach.util.DatenTools kam hinzu
- de.bsvrz.sys.funclib.dambach.parameter.ParameterEmpfaenger kam hinzu
- de.bsvrz.sys.funclib.dambach.parameter.ParameterSender kam hinzu
- **Behobene Probleme**
Folgende Probleme vorhergehender Versionen wurden behoben:
- keine
- **Bekannte Probleme**
Folgende Probleme werden in einer anschließenden Version behoben:
- keine bekannt
## Version 1.0.0
- Erste Auslieferung
- **Behobene Probleme**
Folgende Probleme vorhergehender Versionen wurden behoben:
- keine
- **Bekannte Probleme**
Folgende Probleme werden in einer anschließenden Version behoben:
- keine bekannt
[Noch nicht veröffentlicht]: https://gitlab.nerz-ev.de/ERZ/SWE_de.bsvrz.sys.funclib.dambach/compare/v1.2.1...HEAD
[Version 1.2.1]: https://gitlab.nerz-ev.de/ERZ/SWE_de.bsvrz.sys.funclib.dambach/compare/v1.2.0...v1.2.1
Hinweise zur Bearbeitung / Beteiligung
======================================
Für Änderungen an dem Projekt ist zuerst ein Eintrag (Issue) mit dem Tag "Feature-Wunsch" oder "Bug"
anzulegen, damit die übernommen Änderungen auch einem Problem und einer potentiell erfolgten Diskussion
zugeordnet werden können. Solange das Fehler- und Änderungsmanagement noch über die bisherigen NERZ-Bugtracker
abgewickelt wird, ist zudem eine Referenz auf den dortigen Eintrag vorzunehmen.
Vor der Bearbeitung sollte man den entsprechenden Eintrag persönlich übernehmen
und einen Bugfix- oder Feature-Branch anlegen.
Feature-Branches werden benannt als "feature/{name}", Bugfix-Branches als "hotfix/{name}".
Der Name sollte beschreiben, was innerhalb des Branches geändert wird und **nicht den Name des Bearbeiters**.
Feature-Wünsche werden auf Basis des "develop"-Branches umgesetzt und führen letztendlich zu einem Release einer
neuen Version auf dem zweiten Level, d.h. 0.1.0 wird mindestens 0.2.0 oder in der Hauptversion, d. h. aus z. B. 1.x.y wird 2.0.0, wenn **keine** Abwärtskompatibilität besteht.
Bugfixes sollten auf dem "master"-Branch beruhen und führen zu einer neuen Version auf dem dritten Level, d.h. aus 0.1.0 wird 0.1.1.
Die Änderungen werden dann natürlich auch in den "develop"-Branch gemerged. Damit können Bugfixes kurzfristig erfolgen
ohne den Zwang gleich alle Änderungen, die sich schon im Develop-Zweig befinden mit zu veröffentlichen.
Werden im Rahmen eines Auftrags mehrere Feature-Wünsche oder Bugfixes bearbeitet, kann auch einheitlich vom "develop"-Branch gemerged werden (konkrete Abstimmung im Zweifelsfall mit der NERZ-FTB).
Branches sollten nur für einen **einzelnen Eintrag** angelegt werden.
Die Branches können nach dem Merge in den Ursprungs-Branch entfernt werden (Das Löschen erfolgt automatisch,
wenn der entsprechende Haken beim Anlegen des Merge-Request gesetzt wird).
Ein Merge-Request sollte folgende Punkte berücksichtigen:
- die Änderungen, die mit dem Request verbunden sind sollten in kurzer prägnanter Form in das CHANGELOG-File eingetragen werden. Der Eintrag erfolgt dabei im Abschnitt "Noch nicht veröffentlicht". Die Versionsnummer wird dort erst beim Release ergänzt (also letztlich bei der Übernahme durch die NERZ-FTB).
- wenn es notwendig ist, neue Features oder Änderungen zu beschreiben muss das README-File angepasst werden
- Änderungen am Code sollten keinen auskommentierten alten Code enthalten, für den Zugriff auf die Historie ist ja GIT vorgesehen
- die bearbeiteten Einträge sollten im Kommentar für den jeweiligen Commit oder für den Merge-Request mit "Fixes #{Eintragsnummer}" um die Zuordnung zu erhalten und das automatische Schließen zu ermöglichen
**Abgelehnte Merge-Request brauchen nicht gelöscht werden!**
Angemerkte und diskutierte Probleme, die eine Übernahme verhindern, sollten stattdessen bearbeitet werden bis der Merge-Request übernommen werden kann. **Ein neuer Request ist nicht erforderlich!**
\ No newline at end of file
GNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
This version of the GNU Lesser General Public License incorporates
the terms and conditions of version 3 of the GNU General Public
License, supplemented by the additional permissions listed below.
0. Additional Definitions.
As used herein, "this License" refers to version 3 of the GNU Lesser
General Public License, and the "GNU GPL" refers to version 3 of the GNU
General Public License.
"The Library" refers to a covered work governed by this License,
other than an Application or a Combined Work as defined below.
An "Application" is any work that makes use of an interface provided
by the Library, but which is not otherwise based on the Library.
Defining a subclass of a class defined by the Library is deemed a mode
of using an interface provided by the Library.
A "Combined Work" is a work produced by combining or linking an
Application with the Library. The particular version of the Library
with which the Combined Work was made is also called the "Linked
Version".
The "Minimal Corresponding Source" for a Combined Work means the
Corresponding Source for the Combined Work, excluding any source code
for portions of the Combined Work that, considered in isolation, are
based on the Application, and not on the Linked Version.
The "Corresponding Application Code" for a Combined Work means the
object code and/or source code for the Application, including any data
and utility programs needed for reproducing the Combined Work from the
Application, but excluding the System Libraries of the Combined Work.
1. Exception to Section 3 of the GNU GPL.
You may convey a covered work under sections 3 and 4 of this License
without being bound by section 3 of the GNU GPL.
2. Conveying Modified Versions.
If you modify a copy of the Library, and, in your modifications, a
facility refers to a function or data to be supplied by an Application
that uses the facility (other than as an argument passed when the
facility is invoked), then you may convey a copy of the modified
version:
a) under this License, provided that you make a good faith effort to
ensure that, in the event an Application does not supply the
function or data, the facility still operates, and performs
whatever part of its purpose remains meaningful, or
b) under the GNU GPL, with none of the additional permissions of
this License applicable to that copy.
3. Object Code Incorporating Material from Library Header Files.
The object code form of an Application may incorporate material from
a header file that is part of the Library. You may convey such object
code under terms of your choice, provided that, if the incorporated
material is not limited to numerical parameters, data structure
layouts and accessors, or small macros, inline functions and templates
(ten or fewer lines in length), you do both of the following:
a) Give prominent notice with each copy of the object code that the
Library is used in it and that the Library and its use are
covered by this License.
b) Accompany the object code with a copy of the GNU GPL and this license
document.
4. Combined Works.
You may convey a Combined Work under terms of your choice that,
taken together, effectively do not restrict modification of the
portions of the Library contained in the Combined Work and reverse
engineering for debugging such modifications, if you also do each of
the following:
a) Give prominent notice with each copy of the Combined Work that
the Library is used in it and that the Library and its use are
covered by this License.
b) Accompany the Combined Work with a copy of the GNU GPL and this license
document.
c) For a Combined Work that displays copyright notices during
execution, include the copyright notice for the Library among
these notices, as well as a reference directing the user to the
copies of the GNU GPL and this license document.
d) Do one of the following:
0) Convey the Minimal Corresponding Source under the terms of this
License, and the Corresponding Application Code in a form
suitable for, and under terms that permit, the user to
recombine or relink the Application with a modified version of
the Linked Version to produce a modified Combined Work, in the
manner specified by section 6 of the GNU GPL for conveying
Corresponding Source.
1) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (a) uses at run time
a copy of the Library already present on the user's computer
system, and (b) will operate properly with a modified version
of the Library that is interface-compatible with the Linked
Version.
e) Provide Installation Information, but only if you would otherwise
be required to provide such information under section 6 of the
GNU GPL, and only to the extent that such information is
necessary to install and execute a modified version of the
Combined Work produced by recombining or relinking the
Application with a modified version of the Linked Version. (If
you use option 4d0, the Installation Information must accompany
the Minimal Corresponding Source and Corresponding Application
Code. If you use option 4d1, you must provide the Installation
Information in the manner specified by section 6 of the GNU GPL
for conveying Corresponding Source.)
5. Combined Libraries.
You may place library facilities that are a work based on the
Library side by side in a single library together with other library
facilities that are not Applications and are not covered by this
License, and convey such a combined library under terms of your
choice, if you do both of the following:
a) Accompany the combined library with a copy of the same work based
on the Library, uncombined with any other library facilities,
conveyed under the terms of this License.
b) Give prominent notice with the combined library that part of it
is a work based on the Library, and explaining where to find the
accompanying uncombined form of the same work.
6. Revised Versions of the GNU Lesser General Public License.
The Free Software Foundation may publish revised and/or new versions
of the GNU Lesser General Public License from time to time. Such new
versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the
Library as you received it specifies that a certain numbered version
of the GNU Lesser General Public License "or any later version"
applies to it, you have the option of following the terms and
conditions either of that published version or of any later version
published by the Free Software Foundation. If the Library as you
received it does not specify a version number of the GNU Lesser
General Public License, you may choose any version of the GNU Lesser
General Public License ever published by the Free Software Foundation.
If the Library as you received it specifies that a proxy can decide
whether future versions of the GNU Lesser General Public License shall
apply, that proxy's public statement of acceptance of any version is
permanent authorization for you to choose that version for the
Library.
# SWE Funclib Dambach
## Übersicht
Die SWE ist eine Bibliothek die anderen Applikationen Funktionen zur
Verfügung stellt.
Die Funclib Dambach enthält Funktionen, die bei der Entwicklung der
SWEs für VRZ 3 Los C3 (Vew, Ste, ...) von mehreren SWEs benötigt wurden.
-exportcontents: \
de.bsvrz.sys.funclib.*
-sources: true
Bundle-Name: NERZ Funktionsbibliothek Dambach
//--------------------------------------------------------------------
// NERZ-SWE-Plugin
//--------------------------------------------------------------------
plugins {
id "de.bsvrz.gradle.nerzswe" version "0.7.2"
id "biz.aQute.bnd.builder" version "3.3.0"
}
//--------------------------------------------------------------------
// SWE-Eigenschaften
//--------------------------------------------------------------------
description 'Funclib Dambach'
group 'de.bsvrz.sys'
version '1.2.1-SNAPSHOT'
// Properties des NERZ-SWE-Plugins:
nerzswe {
mainClassName = ''
sweStatus = 'BETA'
sweDatum = ''
}
//--------------------------------------------------------------------
// Abhängigkeiten
//--------------------------------------------------------------------
String kernsoftware_version = '3.9.7'
dependencies {
compile group: 'de.bsvrz.dav', name: 'de.bsvrz.dav.daf', version: kernsoftware_version
}
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
<!--
This configuration file was written by the eclipse-cs plugin configuration editor
-->
<!--
Checkstyle-Configuration: Local CS
Description: none
-->
<module name="Checker">
<property name="severity" value="warning"/>
<module name="TreeWalker">
<module name="MissingDeprecated"/>
<module name="MissingOverride"/>
<module name="PackageAnnotation"/>
<module name="InterfaceIsType"/>
<module name="OneTopLevelClass"/>
<module name="CovariantEquals"/>
<module name="DefaultComesLast"/>
<module name="EqualsHashCode"/>
<module name="StringLiteralEquality"/>
<module name="SuperClone"/>
<module name="SuperFinalize"/>
<module name="IllegalImport"/>
<module name="BooleanExpressionComplexity"/>
<module name="ClassDataAbstractionCoupling"/>
<module name="ClassFanOutComplexity"/>
<module name="CyclomaticComplexity"/>
<module name="JavaNCSS"/>
<module name="NPathComplexity"/>
<module name="OuterTypeFilename"/>
<module name="UpperEll"/>
<module name="ModifierOrder"/>
<module name="RedundantModifier"/>
<module name="AbbreviationAsWordInName"/>
<module name="ClassTypeParameterName"/>
<module name="ConstantName"/>
<module name="InterfaceTypeParameterName"/>
<module name="LocalFinalVariableName"/>
<module name="LocalVariableName">
<property name="allowOneCharVarInForLoop" value="true"/>
</module>
<module name="MemberName"/>
<module name="MethodName"/>
<module name="MethodTypeParameterName"/>
<module name="PackageName"/>
<module name="ParameterName"/>
<module name="StaticVariableName"/>
<module name="TypeName"/>
<module name="AnonInnerLength"/>
<module name="ExecutableStatementCount"/>
<module name="LineLength">
<property name="max" value="120"/>
</module>
<module name="MethodCount"/>
<module name="MethodLength"/>
<module name="OuterTypeNumber"/>
<module name="ParameterNumber"/>
</module>
<module name="Header">
<property name="severity" value="ignore"/>
<property name="headerFile" value="${checkstyle.header.file}"/>
<property name="fileExtensions" value="java"/>
<metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/>
</module>
<module name="FileLength"/>
<module name="UniqueProperties"/>
</module>
/*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* Contact Information:
* Dambach-Werke GmbH
* Elektronische Leitsysteme
* Fritz-Minhardt-Str. 1
* 76456 Kuppenheim
* Phone: +49-7222-402-0
* Fax: +49-7222-402-200
* mailto: info@els.dambach.de
*/
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.5.1-bin.zip
#!/usr/bin/env sh
##############################################################################
##
## Gradle start up script for UN*X
##
##############################################################################
# Attempt to set APP_HOME
# Resolve links: $0 may be a link
PRG="$0"
# Need this for relative symlinks.
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`"/$link"
fi
done
SAVED="`pwd`"
cd "`dirname \"$PRG\"`/" >/dev/null
APP_HOME="`pwd -P`"
cd "$SAVED" >/dev/null
APP_NAME="Gradle"
APP_BASE_NAME=`basename "$0"`
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS=""
# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD="maximum"
warn () {
echo "$*"
}
die () {
echo
echo "$*"
echo
exit 1
}
# OS specific support (must be 'true' or 'false').
cygwin=false
msys=false
darwin=false
nonstop=false
case "`uname`" in
CYGWIN* )
cygwin=true
;;
Darwin* )
darwin=true
;;
MINGW* )
msys=true
;;
NONSTOP* )
nonstop=true
;;
esac
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
# Determine the Java command to use to start the JVM.
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
# IBM's JDK on AIX uses strange locations for the executables
JAVACMD="$JAVA_HOME/jre/sh/java"
else
JAVACMD="$JAVA_HOME/bin/java"
fi
if [ ! -x "$JAVACMD" ] ; then
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
else
JAVACMD="java"
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
# Increase the maximum file descriptors if we can.
if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
MAX_FD_LIMIT=`ulimit -H -n`
if [ $? -eq 0 ] ; then
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
MAX_FD="$MAX_FD_LIMIT"
fi
ulimit -n $MAX_FD
if [ $? -ne 0 ] ; then
warn "Could not set maximum file descriptor limit: $MAX_FD"
fi
else
warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
fi
fi
# For Darwin, add options to specify how the application appears in the dock
if $darwin; then
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
fi
# For Cygwin, switch paths to Windows format before running java
if $cygwin ; then
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
JAVACMD=`cygpath --unix "$JAVACMD"`
# We build the pattern for arguments to be converted via cygpath
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
SEP=""
for dir in $ROOTDIRSRAW ; do
ROOTDIRS="$ROOTDIRS$SEP$dir"
SEP="|"
done
OURCYGPATTERN="(^($ROOTDIRS))"
# Add a user-defined pattern to the cygpath arguments
if [ "$GRADLE_CYGPATTERN" != "" ] ; then
OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
fi
# Now convert the arguments - kludge to limit ourselves to /bin/sh
i=0
for arg in "$@" ; do
CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
else
eval `echo args$i`="\"$arg\""
fi
i=$((i+1))
done
case $i in
(0) set -- ;;
(1) set -- "$args0" ;;
(2) set -- "$args0" "$args1" ;;
(3) set -- "$args0" "$args1" "$args2" ;;
(4) set -- "$args0" "$args1" "$args2" "$args3" ;;
(5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
(6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
(7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
(8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
(9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
esac
fi
# Escape application args
save () {
for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
echo " "
}
APP_ARGS=$(save "$@")
# Collect all arguments for the java command, following the shell quoting and substitution rules
eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
cd "$(dirname "$0")"
fi
exec "$JAVACMD" "$@"
@if "%DEBUG%" == "" @echo off
@rem ##########################################################################
@rem
@rem Gradle startup script for Windows
@rem
@rem ##########################################################################
@rem Set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" setlocal
set DIRNAME=%~dp0
if "%DIRNAME%" == "" set DIRNAME=.
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS=
@rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome
set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if "%ERRORLEVEL%" == "0" goto init
echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
goto fail
:findJavaFromJavaHome
set JAVA_HOME=%JAVA_HOME:"=%
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
if exist "%JAVA_EXE%" goto init
echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
goto fail
:init
@rem Get command-line arguments, handling Windows variants
if not "%OS%" == "Windows_NT" goto win9xME_args
:win9xME_args
@rem Slurp the command line arguments.
set CMD_LINE_ARGS=
set _SKIP=2
:win9xME_args_slurp
if "x%~1" == "x" goto execute
set CMD_LINE_ARGS=%*
:execute
@rem Setup the command line
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
@rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
:end
@rem End local scope for the variables with windows NT shell
if "%ERRORLEVEL%"=="0" goto mainEnd
:fail
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
rem the _cmd.exe /c_ return code!
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
exit /b 1
:mainEnd
if "%OS%"=="Windows_NT" endlocal
:omega
rootProject.name = 'de.bsvrz.sys.funclib.dambach'
......@@ -28,9 +28,10 @@ package de.bsvrz.sys.funclib.dambach.dav.daf;
/**
* (Indirekte) Erweiterung des ClientReceiverInterface.<br>
* Modelliert einen Empfnger fr genau ein (Stellvertreter-) Systemobjekt. Sollte benutzt
* werden, wenn Empfngeranmeldung -und Abmeldung untersttzt werden soll
* @see de.bsvrz.sys.funclib.dambach.dav.daf#EmpfaengerMitAnmeldung
* Modelliert einen Empfänger für genau ein (Stellvertreter-) Systemobjekt. Sollte benutzt
* werden, wenn Empfängeranmeldung -und Abmeldung unterstützt werden soll
* @see de.bsvrz.dav.daf.main.ClientReceiverInterface
* @see EmpfaengerMitAnmeldung
*
* @author Dambach Werke GmbH
* @author Stefan Sans
......@@ -39,7 +40,7 @@ package de.bsvrz.sys.funclib.dambach.dav.daf;
public interface EmpfaengerMitAnAbmeldung extends EmpfaengerMitAnmeldung
{
/**
* Abmelden aller Datenidentifikationen fr diese Instanz und das zugeordnete Systemobjekt
* Abmelden aller Datenidentifikationen für diese Instanz und das zugeordnete Systemobjekt
*/
public void abmelden();
}
......@@ -30,8 +30,8 @@ import de.bsvrz.dav.daf.main.ClientReceiverInterface;
import de.bsvrz.dav.daf.main.config.SystemObject;
/**
* Erweiterung des ClientReceiverInterface.<br>
* Modelliert einen Empfnger fr genau ein (Stellvertreter-) Systemobjekt. Sollte benutzt
* werden, wenn nur Empfngeranmeldung, keine explizite Abmeldung untersttzt werden soll
* Modelliert einen Empfänger für genau ein (Stellvertreter-) Systemobjekt. Sollte benutzt
* werden, wenn nur Empfängeranmeldung, keine explizite Abmeldung unterstützt werden soll
*
* @author Dambach Werke GmbH
* @author Stefan Sans
......@@ -40,20 +40,20 @@ import de.bsvrz.dav.daf.main.config.SystemObject;
public interface EmpfaengerMitAnmeldung extends ClientReceiverInterface
{
/**
* Bestimmt die Datenverteilertverbindung, ber die die Empfngeranmeldung erfolgt
* @return die Datenverteilertverbindung fr die Empfngeranmeldung
* Bestimmt die Datenverteilertverbindung, über die die Empfängeranmeldung erfolgt
* @return die Datenverteilertverbindung für die Empfängeranmeldung
*/
public ClientDavInterface getConnection();
/**
* Bestimmt das Systemobjekt, fr das die Empfngeranmeldugen fr diese Instanz erfolgen
* @return das singulre Systemobjekt
* Bestimmt das Systemobjekt, für das die Empfängeranmeldugen für diese Instanz erfolgen
* @return das singuläre Systemobjekt
*/
public SystemObject getObjekt();
/**
* Anmelden aller Datenidentifikationen fr diese Instanz und das zugeordnete Systemobjekt
* Anmelden aller Datenidentifikationen für diese Instanz und das zugeordnete Systemobjekt
*/
public void anmelden();
......
......@@ -31,28 +31,28 @@ import de.bsvrz.dav.daf.main.config.DataModel;
import de.bsvrz.dav.daf.main.config.SystemObject;
/**
* Klasse realisiert ein ueres Straensegment
* Klasse realisiert ein äußeres Straßensegment
* @author Dambach Werke GmbH
*/
public class AeusseresStrassenSegment extends StrassenSegment
{
/**
* zum Straensegment gehrender Startknoten
* zum Straßensegment gehörender Startknoten
*/
private StrassenKnoten m_vonKnoten;
/**
* zum Straensegment gehrender Zielknoten
* zum Straßensegment gehörender Zielknoten
*/
private StrassenKnoten m_nachKnoten;
/**
* zum Straensegment gehrende TMC Richtung
* zum Straßensegment gehörende TMC Richtung
*/
private String m_tmcRichtung;
/**
* zum Straensegment gehrende Strasse
* zum Straßensegment gehörende Strasse
*/
private String m_strasse;
......@@ -64,7 +64,7 @@ public class AeusseresStrassenSegment extends StrassenSegment
/**
* Konstruktor der Klasse
* @param dataModel Datenmodell
* @param objekt ueres Straensegment
* @param objekt äußeres Straßensegment
*/
public AeusseresStrassenSegment (DataModel dataModel, SystemObject objekt)
{
......@@ -72,7 +72,7 @@ public class AeusseresStrassenSegment extends StrassenSegment
m_dataModel = dataModel;
AttributeGroup atg = m_dataModel.getAttributeGroup("atg.ueresStraenSegment");
AttributeGroup atg = m_dataModel.getAttributeGroup("atg.äußeresStraßenSegment");
if (atg != null)
{
......@@ -96,9 +96,9 @@ public class AeusseresStrassenSegment extends StrassenSegment
}
/**
* Methode bestimmt den Strassennamen zu einem Straensegment.
* @param strassenSegment Straensegment
* @return String mit der Nummer der Strae
* Methode bestimmt den Strassennamen zu einem Straßensegment.
* @param strassenSegment Straßensegment
* @return String mit der Nummer der Straße
*/
private String getStrassenNummer(SystemObject strassenSegment)
{
......@@ -107,19 +107,19 @@ public class AeusseresStrassenSegment extends StrassenSegment
if (strassenSegment == null)
return nr;
AttributeGroup atg = m_dataModel.getAttributeGroup("atg.straenSegment");
AttributeGroup atg = m_dataModel.getAttributeGroup("atg.straßenSegment");
Data confDataSS = strassenSegment.getConfigurationData(atg);
if (confDataSS != null)
{
String strasse = confDataSS.getReferenceValue("gehrtZuStrae").getValueText();
String strasse = confDataSS.getReferenceValue("gehörtZuStraße").getValueText();
if (strasse != null)
{
SystemObject soStr = m_dataModel.getObject(strasse);
if (soStr != null)
{
Data confDataStr = soStr.getConfigurationData(m_dataModel.getAttributeGroup("atg.strae"));
Data confDataStr = soStr.getConfigurationData(m_dataModel.getAttributeGroup("atg.straße"));
if (confDataStr != null)
{
nr = confDataStr.getTextValue("Nummer").getValueText();
......@@ -132,7 +132,7 @@ public class AeusseresStrassenSegment extends StrassenSegment
}
/**
* @return liefert die Variable nachKnoten zurck
* @return liefert die Variable nachKnoten zurück
*/
public StrassenKnoten getNachKnoten()
{
......@@ -140,7 +140,7 @@ public class AeusseresStrassenSegment extends StrassenSegment
}
/**
* @return liefert die Variable strasse zurck
* @return liefert die Variable strasse zurück
*/
public String getStrasse()
{
......@@ -148,7 +148,7 @@ public class AeusseresStrassenSegment extends StrassenSegment
}
/**
* @return liefert die Variable tmcRichtung zurck
* @return liefert die Variable tmcRichtung zurück
*/
public String getTmcRichtung()
{
......@@ -156,7 +156,7 @@ public class AeusseresStrassenSegment extends StrassenSegment
}
/**
* @return liefert die Variable vonKnoten zurck
* @return liefert die Variable vonKnoten zurück
*/
public StrassenKnoten getVonKnoten()
{
......@@ -164,9 +164,9 @@ public class AeusseresStrassenSegment extends StrassenSegment
}
/**
* Methode prft, ob zwei ussere Straensegmente auf der selben Strae liegen
* @param segment zu prfendes Straensegment
* @return selbe Strae: true, sonst false
* Methode prüft, ob zwei äussere Straßensegmente auf der selben Straße liegen
* @param segment zu prüfendes Straßensegment
* @return selbe Straße: true, sonst false
*/
public boolean liegtAufSelberStrasse (AeusseresStrassenSegment segment)
{
......@@ -180,7 +180,7 @@ public class AeusseresStrassenSegment extends StrassenSegment
}
/**
* Methode liefert bei ueren Straensegmenten die Pid des Systemobjekts, erweitert um die TMC-Richtung und die Nummer der Strasse.
* Methode liefert bei äußeren Straßensegmenten die Pid des Systemobjekts, erweitert um die TMC-Richtung und die Nummer der Strasse.
* @return erweiterte Pid, im Fehlerfall null
*/
@Override
......@@ -193,8 +193,8 @@ public class AeusseresStrassenSegment extends StrassenSegment
}
/**
* Methode prft ob es sich bei dem Straensegment um ein ueres Straensegment handelt.
* @return bei uerem Straensegment: true, sonst: false
* Methode prüft ob es sich bei dem Straßensegment um ein äußeres Straßensegment handelt.
* @return bei äußerem Straßensegment: true, sonst: false
*/
@Override
public boolean isAeusseresStrassenSegment ()
......@@ -203,7 +203,7 @@ public class AeusseresStrassenSegment extends StrassenSegment
}
/**
* Methode prft das Straensegmenten in einem Autobahnkreuz oder Autobahndreieck beginnt.
* Methode prüft das Straßensegmenten in einem Autobahnkreuz oder Autobahndreieck beginnt.
* @return Autobahnkreuz, Autobahndreick: true, sonst false
*/
@Override
......@@ -216,7 +216,7 @@ public class AeusseresStrassenSegment extends StrassenSegment
}
/**
* Methode prft das Straensegmenten in einem Autobahnkreuz oder Autobahndreieck endet.
* Methode prüft das Straßensegmenten in einem Autobahnkreuz oder Autobahndreieck endet.
* @return Autobahnkreuz, Autobahndreick: true, sonst false
*/
@Override
......@@ -229,7 +229,7 @@ public class AeusseresStrassenSegment extends StrassenSegment
}
/**
* Methode prft ob das Straensegmenten am Autobahnanfang beginnt.
* Methode prüft ob das Straßensegmenten am Autobahnanfang beginnt.
* @return Autobahnanfang: true, sonst false
*/
@Override
......@@ -242,7 +242,7 @@ public class AeusseresStrassenSegment extends StrassenSegment
}
/**
* Methode prft ob das Straensegmenten am Autobahnende endet.
* Methode prüft ob das Straßensegmenten am Autobahnende endet.
* @return Autobahnende: true, sonst false
*/
@Override
......
......@@ -31,31 +31,31 @@ import de.bsvrz.dav.daf.main.config.DataModel;
import de.bsvrz.dav.daf.main.config.SystemObject;
/**
* Klasse realisiet ein inneres Straenteilsegment
* Klasse realisiet ein inneres Straßenteilsegment
* @author Dambach Werke GmbH
*/
public class InneresStrassenSegment extends StrassenSegment
{
/**
* zum Straensegment gehrendes Vorgngersegment
* zum Straßensegment gehörendes Vorgängersegment
*/
private AeusseresStrassenSegment m_vonStrassenSegment;
/**
* zum Straensegment gehrendes Nachfolgersegment
* zum Straßensegment gehörendes Nachfolgersegment
*/
private AeusseresStrassenSegment m_nachStrassenSegment;
/**
* Konstruktor der Klasse
* @param dataModel Datenmodell
* @param objekt Objekt vom Typ "typ.inneresStraenSegment"
* @param objekt Objekt vom Typ "typ.inneresStraßenSegment"
*/
public InneresStrassenSegment (DataModel dataModel, SystemObject objekt)
{
super (dataModel, objekt);
AttributeGroup atg = dataModel.getAttributeGroup("atg.inneresStraenSegment");
AttributeGroup atg = dataModel.getAttributeGroup("atg.inneresStraßenSegment");
if (atg != null)
{
......@@ -63,13 +63,13 @@ public class InneresStrassenSegment extends StrassenSegment
if (confData != null)
{
SystemObject s1 = confData.getReferenceValue ("nachStraenSegment").getSystemObject();
SystemObject s1 = confData.getReferenceValue ("nachStraßenSegment").getSystemObject();
if (s1 == null)
m_nachStrassenSegment = null;
else
m_nachStrassenSegment = Konfiguration.getInstanz().getAeusseresStrassenSegment( s1.getPid() );
SystemObject s2 = confData.getReferenceValue ("vonStraenSegment").getSystemObject();
SystemObject s2 = confData.getReferenceValue ("vonStraßenSegment").getSystemObject();
if (s2 == null)
m_vonStrassenSegment = null;
else
......@@ -79,7 +79,7 @@ public class InneresStrassenSegment extends StrassenSegment
}
/**
* @return liefert die Variable nachStrassenSegment zurck
* @return liefert die Variable nachStrassenSegment zurück
*/
public AeusseresStrassenSegment getNachStrassenSegment()
{
......@@ -87,7 +87,7 @@ public class InneresStrassenSegment extends StrassenSegment
}
/**
* @return liefert die Variable vonStrassenSegmemt zurck
* @return liefert die Variable vonStrassenSegmemt zurück
*/
public AeusseresStrassenSegment getVonStrassenSegmemt()
{
......@@ -95,8 +95,8 @@ public class InneresStrassenSegment extends StrassenSegment
}
/**
* Methode prft ob es sich bei dem Straensegment um ein inneres Straensegment handelt.
* @return bei innerem Straensegment: true, sonst: false
* Methode prüft ob es sich bei dem Straßensegment um ein inneres Straßensegment handelt.
* @return bei innerem Straßensegment: true, sonst: false
*/
@Override
public boolean isInneresStrassenSegment ()
......@@ -105,14 +105,14 @@ public class InneresStrassenSegment extends StrassenSegment
}
/**
* Methode prft das Straensegmenten in einem Autobahnkreuz oder Autobahndreieck liegt.
* Methode prüft das Straßensegmenten in einem Autobahnkreuz oder Autobahndreieck liegt.
* @return Autobahnkreuz, Autobahndreick: true, sonst false
*/
@Override
public boolean beginntInAutobahnKreuzOderDreieck ()
{
// Ein inneres Straensegment hat keinen direkten Bezug zum Straenknoten, daher erfolgt der
// Zugriff ber die durch das innere Straensegment verbundenen ueren Straenknoten
// Ein inneres Straßensegment hat keinen direkten Bezug zum Straßenknoten, daher erfolgt der
// Zugriff über die durch das innere Straßensegment verbundenen äußeren Straßenknoten
if (m_nachStrassenSegment != null)
return m_nachStrassenSegment.beginntInAutobahnKreuzOderDreieck();
......@@ -124,27 +124,27 @@ public class InneresStrassenSegment extends StrassenSegment
}
/**
* Methode prft das Straensegmenten in einem Autobahnkreuz oder Autobahndreieck endet.
* Methode prüft das Straßensegmenten in einem Autobahnkreuz oder Autobahndreieck endet.
* @return Autobahnkreuz, Autobahndreick: true, sonst false
*/
@Override
public boolean endetInAutobahnKreuzOderDreieck ()
{
// Da ein inneres Straensegment innerhalb eines Straenknotens liegt, braucht nicht zwischen
// Da ein inneres Straßensegment innerhalb eines Straßenknotens liegt, braucht nicht zwischen
// beginnt und endet unterschieden werden.
return beginntInAutobahnKreuzOderDreieck();
}
/**
* Methode prft ob der Straenknoten in dem das Straensegment liegt ein Autobahnanfang ist.
* Methode prüft ob der Straßenknoten in dem das Straßensegment liegt ein Autobahnanfang ist.
* @return Autobahnanfang: true, sonst false
*/
@Override
public boolean beginntAmAutobahnAnfang ()
{
// Ein inneres Straensegment hat keinen direkten Bezug zum Straenknoten, daher erfolgt der
// Zugriff ber die durch das innere Straensegment verbundenen ueren Straenknoten
// Ein inneres Straßensegment hat keinen direkten Bezug zum Straßenknoten, daher erfolgt der
// Zugriff über die durch das innere Straßensegment verbundenen äußeren Straßenknoten
if (m_nachStrassenSegment != null)
return m_nachStrassenSegment.beginntAmAutobahnAnfang();
......@@ -153,14 +153,14 @@ public class InneresStrassenSegment extends StrassenSegment
}
/**
* Methode prft ob der Straenknoten in dem das Straensegment liegt ein Autobahnende ist.
* Methode prüft ob der Straßenknoten in dem das Straßensegment liegt ein Autobahnende ist.
* @return Autobahnende true, sonst false
*/
@Override
public boolean endetAmAutobahnEnde ()
{
// Ein inneres Straensegment hat keinen direkten Bezug zum Straenknoten, daher erfolgt der
// Zugriff ber die durch das innere Straensegment verbundenen ueren Straenknoten
// Ein inneres Straßensegment hat keinen direkten Bezug zum Straßenknoten, daher erfolgt der
// Zugriff über die durch das innere Straßensegment verbundenen äußeren Straßenknoten
if (m_vonStrassenSegment != null)
return m_vonStrassenSegment.endetAmAutobahnEnde();
......