diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100755
index 0000000..76c4f63
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,42 @@
+name: build
+
+on:
+ push:
+ branches:
+ - main
+ pull_request:
+ branches:
+ - main
+
+jobs:
+ build:
+ name: Build on Java ${{ matrix.java-version }}
+
+ runs-on: ubuntu-latest
+
+ strategy:
+ fail-fast: false
+ matrix:
+ java-version: [8]
+
+ steps:
+ - name: Check out repository
+ uses: actions/checkout@v2
+
+ - name: Set up Java
+ uses: actions/setup-java@v2
+ with:
+ distribution: 'adopt'
+ java-version: ${{ matrix.java-version }}
+
+ - name: Store or retrieve Gradle caches
+ uses: actions/cache@v2
+ with:
+ path: |
+ ~/.gradle/caches
+ ~/.gradle/wrapper
+ key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
+ restore-keys: ${{ runner.os }}-gradle-
+
+ - name: Build and test
+ run: ./gradlew check
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
new file mode 100755
index 0000000..2f5f9ad
--- /dev/null
+++ b/.github/workflows/release.yml
@@ -0,0 +1,57 @@
+name: release
+
+on:
+ push:
+ tags:
+ - v*
+
+jobs:
+ release:
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout latest code
+ uses: actions/checkout@v2
+
+ - name: Set up JDK
+ uses: actions/setup-java@v2
+ with:
+ distribution: 'adopt'
+ java-version: 8
+
+ - name: Cache Gradle Wrapper
+ uses: actions/cache@v2
+ with:
+ path: ~/.gradle/wrapper
+ key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle-wrapper.properties') }}
+
+ - name: Cache Gradle Caches
+ uses: actions/cache@v2
+ with:
+ path: ~/.gradle/caches
+ key: ${{ runner.os }}-gradle-cache-${{ hashFiles('**/*.gradle*') }}
+ restore-keys: ${{ runner.os }}-gradle-cache
+
+ - name: Get tag version
+ id: get_version
+ uses: battila7/get-version-action@v2
+
+ - name: Publish artifacts to GitHub Packages
+ run: |
+ echo "New version: ${{ steps.get_version.outputs.version-without-v }}"
+ echo "Github username: ${GITHUB_ACTOR}"
+ ./gradlew -Pversion=${{ steps.get_version.outputs.version-without-v }} publish
+ env:
+ PROJECT_URL: ${{ github.event.repository.url }}
+ MAVEN_PUBLISH_URL: https://maven.pkg.github.com/${{ github.repository }}
+ MAVEN_PUBLISH_USERNAME: ${{ github.actor }}
+ MAVEN_PUBLISH_PASSWORD: ${{ github.token }}
+
+ - name: Release with Changelog
+ uses: marvinpinto/action-automatic-releases@latest
+ with:
+ repo_token: ${{ secrets.GITHUB_TOKEN }}
+ prerelease: false
+ title: "ONE.Record Ontology-Model Library ${{ steps.get_version.outputs.version }}"
+ files: |
+ build/libs/*.jar
diff --git a/.gitignore b/.gitignore
new file mode 100755
index 0000000..0e295e0
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+/build/
+*.iml
+.idea/
+.gradle/
+.DS_Store
diff --git a/LICENSE.md b/LICENSE.md
new file mode 100755
index 0000000..344948f
--- /dev/null
+++ b/LICENSE.md
@@ -0,0 +1,18 @@
+Copyright (c) 2021 Riege Software International GmbH, https://www.riege.com
+
+The Universal Permissive License (UPL), Version 1.0
+
+Subject to the condition set forth below, permission is hereby granted to any person obtaining a copy of this software, associated documentation and/or data (collectively the "Software"), free of charge and under any and all copyright rights in the Software, and any and all patent rights owned or freely licensable by each licensor hereunder covering either (i) the unmodified Software as contributed to or provided by such licensor, or (ii) the Larger Works (as defined below), to deal in both
+
+(a) the Software, and
+
+(b) any piece of software and/or hardware listed in the lrgrwrks.txt file if one is included with the Software (each a “Larger Work” to which the Software is contributed by such licensors),
+
+without restriction, including without limitation the rights to copy, create derivative works of, display, perform, and distribute the Software and make, use, sell, offer for sale, import, export, have made, and have sold the Software and the Larger Work(s), and to sublicense the foregoing rights on either these or other terms.
+
+This license is subject to the following condition:
+
+The above copyright notice and either this complete permission notice or at a minimum a reference to the UPL must be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
diff --git a/README.md b/README.md
new file mode 100755
index 0000000..dd770de
--- /dev/null
+++ b/README.md
@@ -0,0 +1,65 @@
+# one-record-ontologymodel
+
+## Introduction
+
+This repository contains **Java POJO classes for IATA ONE Record** (1R), as per
+official IATA Ontology on GitHub at https://github.com/IATA-Cargo/ONE-Record.
+
+Note that the deliverable of this project contains POJO classes from the
+Ontologies for "API-Security" _and_ "Data-Model".
+
+This repository additionally contains some assisting classes e.g.,
+in package `org.iata.cargo.codelists` which are not generated from the
+Ontology but might be useful for fields where values are limited to code
+lists. Please note the `codelists` packages are incomplete and do not
+mirror all cods from the Ontology.
+See also https://github.com/IATA-Cargo/ONE-Record/issues/92 for details about
+"Standard values of enumerations".
+
+## How to use / Dependencies
+
+This repository aims use the most minimal dependencies, therefore also `build.gradle`
+comes with disabled transitive dependency resolution. The declared project
+dependencies resolve the POJO annocations.
+
+See these examples about the POJOs used in projects:
+
+* https://github.com/riege/one-record-converter (using this library)
+* https://github.com/IATA-Cargo/one-record-server-java (original from IATA)
+
+## Used Ontology / Data model version
+
+In general, the official IATA Ontology determines the 1R data model. The IATA Ontology is available in various versions at GitHub.
+The IATA Cargo Operations and Technology Board (COTB, https://www.iata.org/en/programs/workgroups/cotb/)
+approved various Ontology versions.
+
+Ontologies prior version 1.1
+(https://github.com/IATA-Cargo/ONE-Record/tree/master/June-2021-standard-COTB-endorsed)
+have not been covered enought data fields required used by forwarders in the CargoIMP/XMP (X)FWB.
+
+This project aims to keeps it's releases and versioning in synchronization with the IATA Ontologies, starting with IATA ONE Record Ontology version 1.1.
+
+## Question and Feedback
+
+For any issues or questions with the ONE Record Ontology and data model as such,
+please refer to or create new issues with the IATA-Cargo project on GitHub under
+https://github.com/IATA-Cargo/ONE-Record/issues.
+
+## Generation from a new Ontology
+
+Generation of Java domain classes from the Ontology is part of the IATA Sandbox implementation, see https://github.com/IATA-Cargo/one-record-server-java/blob/master/README.md.
+
+Updating file `iata.ttl` in this project and applying step "Generate ONE Record cargo related data model" from the README generates the POJOs.
+
+It is recommended to remove directory `src/main/generated-sources/org/iata/cargo` prior generation.
+
+Example for generation from IATA-Cargo/one-record-server-java main directory on Linux/macOS with Ontology 1.1 (June 2021):
+
+ rm -rf src/main/generated-sources/org/iata/cargo
+ curl -o iata.ttl https://raw.githubusercontent.com/IATA-Cargo/ONE-Record/master/June-2021-standard-COTB-endorsed/Data-Model/IATA-1R-DM-Ontology-vCOTB-Jun2021.ttl
+ mvn package -Dbuild=cargo
+
+Compile might fail now but ```src/main/generated-sources/org/iata/cargo``` contains the freshly generated POJO files which required adoption of annotations
+prior updating this the one-record-ontologymodel project with them.
+
+P.S.: As per 2021-Mar-18, the Ontology has various open issues which are likely to be adopted in upcoming versions e.g., https://github.com/IATA-Cargo/ONE-Record/issues/85 or https://github.com/IATA-Cargo/ONE-Record/issues/111
diff --git a/RELEASE-HINTS.md b/RELEASE-HINTS.md
new file mode 100755
index 0000000..a045112
--- /dev/null
+++ b/RELEASE-HINTS.md
@@ -0,0 +1,14 @@
+# Developer internal info for release strategy
+
+This library project started with the "latest" working draft which was developed out of Ontology version 1.0.
+Therefore first release got tagged as `v1.0-workingdraft2021mar`.
+
+Further releases should follow the IATA versioning pattern of IATA approved ONE Record Ontogogies, e.g. `v1.1`.
+
+Prior a new release the project should be checked to generate javadoc without errors via
+
+ ./gradlew javadoc
+
+Reason is that the Ontology might contain characters which are invalid in Javadoc, e.g. the & character.
+
+A new release requires to be branched and tagged with `v`.
diff --git a/build.gradle b/build.gradle
new file mode 100755
index 0000000..793a73d
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,64 @@
+plugins {
+ id 'java'
+ id 'maven-publish'
+ id 'idea'
+}
+
+sourceCompatibility = JavaVersion.VERSION_1_8
+targetCompatibility = JavaVersion.VERSION_1_8
+
+group 'com.riege'
+version '1.1.0'
+
+repositories {
+ mavenCentral()
+}
+
+configurations.all {
+ // Disabling transitive resolution of dependencies
+ // https://docs.gradle.org/current/userguide/resolution_rules.html#sec:disabling_resolution_transitive_dependencies
+ transitive = false
+}
+
+dependencies {
+ implementation "com.fasterxml.jackson.core:jackson-annotations:2.11.4"
+ implementation "cz.cvut.kbss.jopa:jopa-api:0.16.5"
+ implementation "net.sourceforge.owlapi:owlapi-api:5.1.17"
+ implementation "org.apache.commons:commons-rdf-api:0.5.0"
+ implementation "io.swagger:swagger-annotations:1.5.24"
+ implementation "org.springframework.data:spring-data-mongodb:3.0.9.RELEASE"
+ implementation "org.springframework.data:spring-data-commons:2.3.9.RELEASE"
+
+ testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.2'
+ testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.2'
+}
+
+java {
+ withSourcesJar() // to get a "sourcesJar" task
+ withJavadocJar() // to get a "javadocJar" task
+}
+
+test {
+ useJUnitPlatform()
+}
+
+publishing {
+ publications {
+ maven(MavenPublication) {
+ from components.java
+ pom {
+ name = "Riege Software International ONE.Record Ontology-Model Library"
+ url = System.getenv("PROJECT_URL")
+ }
+ }
+ }
+ repositories {
+ maven {
+ url = System.getenv("MAVEN_PUBLISH_URL")
+ credentials {
+ username = System.getenv("MAVEN_PUBLISH_USERNAME")
+ password = System.getenv("MAVEN_PUBLISH_PASSWORD")
+ }
+ }
+ }
+}
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100755
index 0000000..e708b1c
Binary files /dev/null and b/gradle/wrapper/gradle-wrapper.jar differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100755
index 0000000..ffed3a2
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,5 @@
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..4f906e0
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,185 @@
+#!/usr/bin/env sh
+
+#
+# Copyright 2015 the original author or authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+##############################################################################
+##
+## 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='"-Xmx64m" "-Xms64m"'
+
+# 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 or MSYS, switch paths to Windows format before running java
+if [ "$cygwin" = "true" -o "$msys" = "true" ] ; 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=`expr $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"
+
+exec "$JAVACMD" "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100755
index 0000000..ac1b06f
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,89 @@
+@rem
+@rem Copyright 2015 the original author or authors.
+@rem
+@rem Licensed under the Apache License, Version 2.0 (the "License");
+@rem you may not use this file except in compliance with the License.
+@rem You may obtain a copy of the License at
+@rem
+@rem https://www.apache.org/licenses/LICENSE-2.0
+@rem
+@rem Unless required by applicable law or agreed to in writing, software
+@rem distributed under the License is distributed on an "AS IS" BASIS,
+@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+@rem See the License for the specific language governing permissions and
+@rem limitations under the License.
+@rem
+
+@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 Resolve any "." and ".." in APP_HOME to make it shorter.
+for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
+
+@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="-Xmx64m" "-Xms64m"
+
+@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 execute
+
+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 execute
+
+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
+
+: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 %*
+
+: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
diff --git a/settings.gradle b/settings.gradle
new file mode 100755
index 0000000..fa9afc1
--- /dev/null
+++ b/settings.gradle
@@ -0,0 +1,2 @@
+rootProject.name = 'one-record-ontologymodel'
+
diff --git a/src/main/java/org/iata/api/Vocabulary.java b/src/main/java/org/iata/api/Vocabulary.java
new file mode 100755
index 0000000..2cba5a4
--- /dev/null
+++ b/src/main/java/org/iata/api/Vocabulary.java
@@ -0,0 +1,518 @@
+
+package org.iata.api;
+
+import org.semanticweb.owlapi.model.IRI;
+
+
+/**
+ * This class was generated by OWL2Java 0.16.4
+ *
+ */
+public class Vocabulary {
+
+ public final static String ONTOLOGY_IRI_onerecord_dot_iata_dot_org_generated = "https://onerecord.iata.org-generated";
+ public final static String ONTOLOGY_IRI_ = "https://onerecord.iata.org/api/";
+ public final static String s_c_Thing = "http://www.w3.org/2002/07/owl#Thing";
+ public final static IRI c_Thing = IRI.create(s_c_Thing);
+ /**
+ * Audit trail of a Logistics Object
+ *
+ */
+ public final static String s_c_AuditTrail = "https://onerecord.iata.org/api/AuditTrail";
+ public final static IRI c_AuditTrail = IRI.create(s_c_AuditTrail);
+ /**
+ * Change Request for the audit trail
+ *
+ */
+ public final static String s_c_ChangeRequest = "https://onerecord.iata.org/api/ChangeRequest";
+ public final static IRI c_ChangeRequest = IRI.create(s_c_ChangeRequest);
+
+ /**
+ * Company information in the Internet of Logistics
+ *
+ */
+ public final static String s_c_CompanyInformation = "https://onerecord.iata.org/api/CompanyInformation";
+ public final static IRI c_CompanyInformation = IRI.create(s_c_CompanyInformation);
+ /**
+ * Delegation Request to 3rd parties
+ *
+ */
+ public final static String s_c_DelegationRequest = "https://onerecord.iata.org/api/DelegationRequest";
+ public final static IRI c_DelegationRequest = IRI.create(s_c_DelegationRequest);
+ /**
+ * Error details
+ *
+ */
+ public final static String s_c_Details = "https://onerecord.iata.org/api/Details";
+ public final static IRI c_Details = IRI.create(s_c_Details);
+ /**
+ * Error model
+ *
+ */
+ public final static String s_c_Error = "https://onerecord.iata.org/api/Error";
+ public final static IRI c_Error = IRI.create(s_c_Error);
+
+ /**
+ * Reference to a Logistics Object
+ *
+ */
+ public final static String s_c_LogisticsObjectRef = "https://onerecord.iata.org/api/LogisticsObjectRef";
+ public final static IRI c_LogisticsObjectRef = IRI.create(s_c_LogisticsObjectRef);
+ /**
+ * Version of a Logistics Object
+ *
+ */
+ public final static String s_c_Memento = "https://onerecord.iata.org/api/Memento";
+ public final static IRI c_Memento = IRI.create(s_c_Memento);
+ /**
+ * Memento entry from the time map
+ *
+ */
+ public final static String s_c_MementoEntry = "https://onerecord.iata.org/api/MementoEntry";
+ public final static IRI c_MementoEntry = IRI.create(s_c_MementoEntry);
+ /**
+ * Memento list model
+ *
+ */
+ public final static String s_c_MementoList = "https://onerecord.iata.org/api/MementoList";
+ public final static IRI c_MementoList = IRI.create(s_c_MementoList);
+ /**
+ * Memento list model
+ *
+ */
+ public final static String s_c_Mementos = "https://onerecord.iata.org/api/Mementos";
+ public final static IRI c_Mementos = IRI.create(s_c_Mementos);
+ /**
+ * Notification sent by the publisher to the subscriber
+ *
+ */
+ public final static String s_c_Notification = "https://onerecord.iata.org/api/Notification";
+ public final static IRI c_Notification = IRI.create(s_c_Notification);
+ /**
+ * Operation Request contained in the PATCH body
+ *
+ */
+ public final static String s_c_Operation = "https://onerecord.iata.org/api/Operation";
+ public final static IRI c_Operation = IRI.create(s_c_Operation);
+ /**
+ * Object to modify in the PATCH request
+ *
+ */
+ public final static String s_c_OperationObject = "https://onerecord.iata.org/api/OperationObject";
+ public final static IRI c_OperationObject = IRI.create(s_c_OperationObject);
+ /**
+ * PATCH Request body containing updates on a Logistics Object
+ *
+ */
+ public final static String s_c_PatchRequest = "https://onerecord.iata.org/api/PatchRequest";
+ public final static IRI c_PatchRequest = IRI.create(s_c_PatchRequest);
+ /**
+ * Subscription information sent to the publisher
+ *
+ */
+ public final static String s_c_Subscription = "https://onerecord.iata.org/api/Subscription";
+ public final static IRI c_Subscription = IRI.create(s_c_Subscription);
+ /**
+ * Timemap of a Logistics Object containing mementos and timegate URI
+ *
+ */
+ public final static String s_c_Timemap = "https://onerecord.iata.org/api/Timemap";
+ public final static IRI c_Timemap = IRI.create(s_c_Timemap);
+ public final static String s_c_Branch_A = "https://onerecord.iata.org/cargo/Branch";
+ public final static IRI c_Branch_A = IRI.create(s_c_Branch_A);
+ public final static String s_c_Company_A = "https://onerecord.iata.org/cargo/Company";
+ public final static IRI c_Company_A = IRI.create(s_c_Company_A);
+ /**
+ * List of change requests that were sent as PATCH on for a Logistics Object
+ *
+ */
+ public final static String s_p_changeRequests = "https://onerecord.iata.org/api/AuditTrail#changeRequests";
+ public final static IRI p_changeRequests = IRI.create(s_p_changeRequests);
+ /**
+ * Non mandatory error details
+ *
+ */
+ public final static String s_p_errors = "https://onerecord.iata.org/api/AuditTrail#errors";
+ public final static IRI p_errors = IRI.create(s_p_errors);
+ /**
+ * Initial content of the Logistics Object at the creation moment, represented via a Memento
+ *
+ */
+ public final static String s_p_loInitialSnapshot = "https://onerecord.iata.org/api/AuditTrail#loInitialSnapshot";
+ public final static IRI p_loInitialSnapshot = IRI.create(s_p_loInitialSnapshot);
+ /**
+ * Logistics Object Reference for which the audit trail applies
+ *
+ */
+ public final static String s_p_logisticsObjectRef = "https://onerecord.iata.org/api/AuditTrail#logisticsObjectRef";
+ public final static IRI p_logisticsObjectRef = IRI.create(s_p_logisticsObjectRef);
+ /**
+ * PATCH body of a change request sent for a specific Logistics Object
+ *
+ */
+ public final static String s_p_patchRequest = "https://onerecord.iata.org/api/ChangeRequest#patchRequest";
+ public final static IRI p_patchRequest = IRI.create(s_p_patchRequest);
+ /**
+ * The party that has requested the change request
+ *
+ */
+ public final static String s_p_requestingParty = "https://onerecord.iata.org/api/ChangeRequest#requestingParty";
+ public final static IRI p_requestingParty = IRI.create(s_p_requestingParty);
+ /**
+ * Company details
+ *
+ */
+ public final static String s_p_company = "https://onerecord.iata.org/api/CompanyInformation#company";
+ public final static IRI p_company = IRI.create(s_p_company);
+ /**
+ * Non mandatory error details
+ *
+ */
+ public final static String s_p_errors_A = "https://onerecord.iata.org/api/CompanyInformation#errors";
+ public final static IRI p_errors_A = IRI.create(s_p_errors_A);
+ /**
+ * Identifiers of the logistics objects to which the access is requested
+ *
+ */
+ public final static String s_p_targetLogisticsObjects = "https://onerecord.iata.org/api/DelegationRequest#targetLogisticsObjects";
+ public final static IRI p_targetLogisticsObjects = IRI.create(s_p_targetLogisticsObjects);
+ /**
+ * Error details
+ *
+ */
+ public final static String s_p_details = "https://onerecord.iata.org/api/Error#details";
+ public final static IRI p_details = IRI.create(s_p_details);
+ /**
+ * Link to the memento
+ *
+ */
+ public final static String s_p_memento = "https://onerecord.iata.org/api/MementoEntry#memento";
+ public final static IRI p_memento = IRI.create(s_p_memento);
+ /**
+ * List of mementos of a Logistics Object
+ *
+ */
+ public final static String s_p_mementoEntry = "https://onerecord.iata.org/api/MementoList#mementoEntry";
+ public final static IRI p_mementoEntry = IRI.create(s_p_mementoEntry);
+ /**
+ * List of mementos of a Logistics Object
+ *
+ */
+ public final static String s_p_list = "https://onerecord.iata.org/api/Mementos#list";
+ public final static IRI p_list = IRI.create(s_p_list);
+ /**
+ * Logistics Object for which the notification is sent
+ *
+ */
+ public final static String s_p_logisticsObject = "https://onerecord.iata.org/api/Notification#logisticsObject";
+ public final static IRI p_logisticsObject = IRI.create(s_p_logisticsObject);
+ /**
+ * PATCH object to modify
+ *
+ */
+ public final static String s_p_o = "https://onerecord.iata.org/api/Operation#o";
+ public final static IRI p_o = IRI.create(s_p_o);
+ /**
+ * Reference of the Logistics Object to which the change request is applied to
+ *
+ */
+ public final static String s_p_logisticsObjectRef_A = "https://onerecord.iata.org/api/PatchRequest#logisticsObjectRef";
+ public final static IRI p_logisticsObjectRef_A = IRI.create(s_p_logisticsObjectRef_A);
+ /**
+ * List of operations to apply as PATCH on a Logistics Object
+ *
+ */
+ public final static String s_p_operations = "https://onerecord.iata.org/api/PatchRequest#operations";
+ public final static IRI p_operations = IRI.create(s_p_operations);
+ /**
+ * Non mandatory error details
+ *
+ */
+ public final static String s_p_errors_A_A = "https://onerecord.iata.org/api/Subscription#errors";
+ public final static IRI p_errors_A_A = IRI.create(s_p_errors_A_A);
+ /**
+ * List of mementos of a Logistics Object
+ *
+ */
+ public final static String s_p_mementos = "https://onerecord.iata.org/api/Timemap#mementos";
+ public final static IRI p_mementos = IRI.create(s_p_mementos);
+ /**
+ * Company which sent the change request
+ *
+ */
+ public final static String s_p_companyId = "https://onerecord.iata.org/api/ChangeRequest#companyId";
+ public final static IRI p_companyId = IRI.create(s_p_companyId);
+ /**
+ * ACCEPTED or REJECTED
+ *
+ */
+ public final static String s_p_status = "https://onerecord.iata.org/api/ChangeRequest#status";
+ public final static IRI p_status = IRI.create(s_p_status);
+ /**
+ * Timestamp of the change request
+ *
+ */
+ public final static String s_p_timestamp = "https://onerecord.iata.org/api/ChangeRequest#timestamp";
+ public final static IRI p_timestamp = IRI.create(s_p_timestamp);
+ /**
+ * Company Id, for example airline code.
+ *
+ */
+ public final static String s_p_companyId_A = "https://onerecord.iata.org/api/CompanyInformation#companyId";
+ public final static IRI p_companyId_A = IRI.create(s_p_companyId_A);
+ /**
+ * Endpoint of the company in the Internet of Logistics
+ *
+ */
+ public final static String s_p_serverEndpoint = "https://onerecord.iata.org/api/CompanyInformation#serverEndpoint";
+ public final static IRI p_serverEndpoint = IRI.create(s_p_serverEndpoint);
+ /**
+ * Supported content types of the server
+ *
+ */
+ public final static String s_p_supportedContentTypes = "https://onerecord.iata.org/api/CompanyInformation#supportedContentTypes";
+ public final static IRI p_supportedContentTypes = IRI.create(s_p_supportedContentTypes);
+ /**
+ * Supported logistics object types on the server
+ *
+ */
+ public final static String s_p_supportedLogisticsObjects = "https://onerecord.iata.org/api/CompanyInformation#supportedLogisticsObjects";
+ public final static IRI p_supportedLogisticsObjects = IRI.create(s_p_supportedLogisticsObjects);
+ /**
+ * REVOKE or DELEGATE
+ *
+ */
+ public final static String s_p_action = "https://onerecord.iata.org/api/DelegationRequest#action";
+ public final static IRI p_action = IRI.create(s_p_action);
+ /**
+ * GET or PATCH
+ *
+ */
+ public final static String s_p_operations_A = "https://onerecord.iata.org/api/DelegationRequest#operations";
+ public final static IRI p_operations_A = IRI.create(s_p_operations_A);
+ /**
+ * Parties that receive the delegated rights
+ *
+ */
+ public final static String s_p_targetCompanies = "https://onerecord.iata.org/api/DelegationRequest#targetCompanies";
+ public final static IRI p_targetCompanies = IRI.create(s_p_targetCompanies);
+ /**
+ * Field of the object for which the error applies
+ *
+ */
+ public final static String s_p_attribute = "https://onerecord.iata.org/api/Details#attribute";
+ public final static IRI p_attribute = IRI.create(s_p_attribute);
+ /**
+ * Error code
+ *
+ */
+ public final static String s_p_code = "https://onerecord.iata.org/api/Details#code";
+ public final static IRI p_code = IRI.create(s_p_code);
+ /**
+ * Message of the error
+ *
+ */
+ public final static String s_p_message = "https://onerecord.iata.org/api/Details#message";
+ public final static IRI p_message = IRI.create(s_p_message);
+ /**
+ * Object for which the error applies
+ *
+ */
+ public final static String s_p_resource = "https://onerecord.iata.org/api/Details#resource";
+ public final static IRI p_resource = IRI.create(s_p_resource);
+ /**
+ * Brief description of the error
+ *
+ */
+ public final static String s_p_title = "https://onerecord.iata.org/api/Error#title";
+ public final static IRI p_title = IRI.create(s_p_title);
+ /**
+ * Id of the reference Logistics Object
+ *
+ */
+ public final static String s_p_logisticsObjectId = "https://onerecord.iata.org/api/LogisticsObjectRef#logisticsObjectId";
+ public final static IRI p_logisticsObjectId = IRI.create(s_p_logisticsObjectId);
+ /**
+ * Type of the reference Logistics Object
+ *
+ */
+ public final static String s_p_logisticsObjectType = "https://onerecord.iata.org/api/LogisticsObjectRef#logisticsObjectType";
+ public final static IRI p_logisticsObjectType = IRI.create(s_p_logisticsObjectType);
+ /**
+ * Date and time of the memento creation
+ *
+ */
+ public final static String s_p_created = "https://onerecord.iata.org/api/Memento#created";
+ public final static IRI p_created = IRI.create(s_p_created);
+ /**
+ * Name of the memento creator
+ *
+ */
+ public final static String s_p_createdBy = "https://onerecord.iata.org/api/Memento#createdBy";
+ public final static IRI p_createdBy = IRI.create(s_p_createdBy);
+ /**
+ * Label of the memento
+ *
+ */
+ public final static String s_p_label = "https://onerecord.iata.org/api/Memento#label";
+ public final static IRI p_label = IRI.create(s_p_label);
+ /**
+ * First version of the Logistics Object
+ *
+ */
+ public final static String s_p_original = "https://onerecord.iata.org/api/Memento#original";
+ public final static IRI p_original = IRI.create(s_p_original);
+ /**
+ * Creation date of the memento
+ *
+ */
+ public final static String s_p_datetime = "https://onerecord.iata.org/api/MementoEntry#datetime";
+ public final static IRI p_datetime = IRI.create(s_p_datetime);
+ /**
+ * Non mandatory label of the memento
+ *
+ */
+ public final static String s_p_label_A = "https://onerecord.iata.org/api/MementoEntry#label";
+ public final static IRI p_label_A = IRI.create(s_p_label_A);
+ /**
+ * First memento of the Logistics Object
+ *
+ */
+ public final static String s_p_firstMemento = "https://onerecord.iata.org/api/Mementos#firstMemento";
+ public final static IRI p_firstMemento = IRI.create(s_p_firstMemento);
+ /**
+ * Last memento of the Logistics Object
+ *
+ */
+ public final static String s_p_lastMemento = "https://onerecord.iata.org/api/Mementos#lastMemento";
+ public final static IRI p_lastMemento = IRI.create(s_p_lastMemento);
+ /**
+ * OBJECT_CREATED or OBJECT_UPDATED
+ *
+ */
+ public final static String s_p_eventType = "https://onerecord.iata.org/api/Notification#eventType";
+ public final static IRI p_eventType = IRI.create(s_p_eventType);
+ /**
+ * Type of Logistics Object
+ *
+ */
+ public final static String s_p_topic = "https://onerecord.iata.org/api/Notification#topic";
+ public final static IRI p_topic = IRI.create(s_p_topic);
+ /**
+ * Operation objects must have exactly one op (operation) member; this value indicates which operation is to be performed. The value must be one of add or del; all other values result in an error
+ *
+ */
+ public final static String s_p_op = "https://onerecord.iata.org/api/Operation#op";
+ public final static IRI p_op = IRI.create(s_p_op);
+ /**
+ * Operations objects must have exactly one p, predicate, member. The value of this member must be an IRI
+ *
+ */
+ public final static String s_p_p = "https://onerecord.iata.org/api/Operation#p";
+ public final static IRI p_p = IRI.create(s_p_p);
+ /**
+ * Data type of the field to update
+ *
+ */
+ public final static String s_p_datatype = "https://onerecord.iata.org/api/OperationObject#datatype";
+ public final static IRI p_datatype = IRI.create(s_p_datatype);
+ /**
+ * Value to update
+ *
+ */
+ public final static String s_p_value = "https://onerecord.iata.org/api/OperationObject#value";
+ public final static IRI p_value = IRI.create(s_p_value);
+ /**
+ * Reason for the change (optional)
+ *
+ */
+ public final static String s_p_description = "https://onerecord.iata.org/api/PatchRequest#description";
+ public final static IRI p_description = IRI.create(s_p_description);
+ /**
+ * The company identifier of the entity that is requesting the change request
+ *
+ */
+ public final static String s_p_requestorCompanyIdentifier = "https://onerecord.iata.org/api/PatchRequest#requestorCompanyIdentifier";
+ public final static IRI p_requestorCompanyIdentifier = IRI.create(s_p_requestorCompanyIdentifier);
+ /**
+ * Revision number of the Logistics Object
+ *
+ */
+ public final static String s_p_revision = "https://onerecord.iata.org/api/PatchRequest#revision";
+ public final static IRI p_revision = IRI.create(s_p_revision);
+ /**
+ * Duration of the period to cache the subscription information in seconds
+ *
+ */
+ public final static String s_p_cacheFor = "https://onerecord.iata.org/api/Subscription#cacheFor";
+ public final static IRI p_cacheFor = IRI.create(s_p_cacheFor);
+ /**
+ * Callback URL of the Client Subscription API where the subscriber receives Logistics Objects
+ *
+ */
+ public final static String s_p_callbackUrl = "https://onerecord.iata.org/api/Subscription#callbackUrl";
+ public final static IRI p_callbackUrl = IRI.create(s_p_callbackUrl);
+ /**
+ * Content types that the subscriber wants to receive in the notifications
+ *
+ */
+ public final static String s_p_contentTypes = "https://onerecord.iata.org/api/Subscription#contentTypes";
+ public final static IRI p_contentTypes = IRI.create(s_p_contentTypes);
+ /**
+ * The company identifier from the Internet of Logistics of my company.
+ *
+ */
+ public final static String s_p_myCompanyIdentifier = "https://onerecord.iata.org/api/Subscription#myCompanyIdentifier";
+ public final static IRI p_myCompanyIdentifier = IRI.create(s_p_myCompanyIdentifier);
+ /**
+ * Either a secret or API Key that ensures that only companies with this subscription information can POST to the subscriber callback endpoint
+ *
+ */
+ public final static String s_p_secret = "https://onerecord.iata.org/api/Subscription#secret";
+ public final static IRI p_secret = IRI.create(s_p_secret);
+ /**
+ * Flag specifying if the publisher should send the whole logistics object or not in the notification object
+ *
+ */
+ public final static String s_p_sendLogisticsObjectBody = "https://onerecord.iata.org/api/Subscription#sendLogisticsObjectBody";
+ public final static IRI p_sendLogisticsObjectBody = IRI.create(s_p_sendLogisticsObjectBody);
+ /**
+ * Flag specifying if the subscriber wants to receive updates for a Logistics Object
+ *
+ */
+ public final static String s_p_subscribeToStatusUpdates = "https://onerecord.iata.org/api/Subscription#subscribeToStatusUpdates";
+ public final static IRI p_subscribeToStatusUpdates = IRI.create(s_p_subscribeToStatusUpdates);
+ /**
+ * Company Identifier of the company the subscriber wants to subscribe to (delegation scenario).
+ *
+ */
+ public final static String s_p_subscribedTo = "https://onerecord.iata.org/api/Subscription#subscribedTo";
+ public final static IRI p_subscribedTo = IRI.create(s_p_subscribedTo);
+ /**
+ * The Logistics Object type to which the subscriber wants subscribe to
+ *
+ */
+ public final static String s_p_topic_A = "https://onerecord.iata.org/api/Subscription#topic";
+ public final static IRI p_topic_A = IRI.create(s_p_topic_A);
+ /**
+ * Link to the initial version of the Logistics Object
+ *
+ */
+ public final static String s_p_original_A = "https://onerecord.iata.org/api/Timemap#original";
+ public final static IRI p_original_A = IRI.create(s_p_original_A);
+ /**
+ * Link to the time gate of the Logistics Object, if applicable
+ *
+ */
+ public final static String s_p_timegate = "https://onerecord.iata.org/api/Timemap#timegate";
+ public final static IRI p_timegate = IRI.create(s_p_timegate);
+ public final static String s_p_description_A = "http://purl.org/dc/elements/1.1/description";
+ public final static IRI p_description_A = IRI.create(s_p_description_A);
+ public final static String s_p_title_A = "http://purl.org/dc/elements/1.1/title";
+ public final static IRI p_title_A = IRI.create(s_p_title_A);
+ public final static String s_p_comment = "http://www.w3.org/2000/01/rdf-schema#comment";
+ public final static IRI p_comment = IRI.create(s_p_comment);
+ public final static String s_p_label_A_A = "http://www.w3.org/2000/01/rdf-schema#label";
+ public final static IRI p_label_A_A = IRI.create(s_p_label_A_A);
+
+}
diff --git a/src/main/java/org/iata/api/model/AuditTrail.java b/src/main/java/org/iata/api/model/AuditTrail.java
new file mode 100755
index 0000000..ab148d9
--- /dev/null
+++ b/src/main/java/org/iata/api/model/AuditTrail.java
@@ -0,0 +1,185 @@
+
+package org.iata.api.model;
+
+import java.io.Serializable;
+import java.util.Map;
+import java.util.Set;
+
+import org.iata.api.Vocabulary;
+import org.springframework.data.mongodb.core.mapping.Document;
+
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+import cz.cvut.kbss.jopa.model.annotations.Id;
+import cz.cvut.kbss.jopa.model.annotations.OWLAnnotationProperty;
+import cz.cvut.kbss.jopa.model.annotations.OWLClass;
+import cz.cvut.kbss.jopa.model.annotations.OWLObjectProperty;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraint;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraints;
+import cz.cvut.kbss.jopa.model.annotations.Properties;
+import cz.cvut.kbss.jopa.model.annotations.Types;
+import cz.cvut.kbss.jopa.vocabulary.DC;
+import cz.cvut.kbss.jopa.vocabulary.RDFS;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+
+
+/**
+ * Audit trail of a Logistics Object
+ *
+ * This class was generated by OWL2Java 0.16.4
+ *
+ */
+@OWLClass(iri = Vocabulary.s_c_AuditTrail)
+@Document(collection = "auditTrails")
+@ApiModel
+public class AuditTrail
+ implements Serializable
+{
+
+ @Id(generated = true)
+ @ApiModelProperty(readOnly = true)
+ protected String id;
+ @JsonIgnore
+ @OWLAnnotationProperty(iri = RDFS.LABEL)
+ protected String name;
+ @JsonIgnore
+ @OWLAnnotationProperty(iri = cz.cvut.kbss.jopa.vocabulary.DC.Elements.DESCRIPTION)
+ protected String description;
+ @Types
+ @JsonProperty("@type")
+ @ApiModelProperty(allowableValues = Vocabulary.s_c_AuditTrail)
+ protected Set types;
+ @Properties
+ @JsonIgnore
+ protected Map> properties;
+ @JsonProperty("language")
+ @OWLAnnotationProperty(iri = DC.Terms.LANGUAGE)
+ protected String language;
+
+ /**
+ * List of change requests that were sent as PATCH on for a Logistics Object
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_changeRequests)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, min = 1, max = -1)
+ })
+ @JsonProperty(Vocabulary.s_p_changeRequests)
+ protected Set changeRequests;
+ /**
+ * Non mandatory error details
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_errors)
+ @JsonProperty(Vocabulary.s_p_errors)
+ protected Set errors;
+ /**
+ * Initial content of the Logistics Object at the creation moment, represented via a Memento
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_loInitialSnapshot)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1),
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, min = 1, max = -1)
+ })
+ @JsonProperty(Vocabulary.s_p_loInitialSnapshot)
+ protected Memento loInitialSnapshot;
+ /**
+ * Logistics Object Reference for which the audit trail applies
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_logisticsObjectRef)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, min = 1, max = -1),
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_logisticsObjectRef)
+ protected LogisticsObjectRef logisticsObjectRef;
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public String getId() {
+ return id;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ public String getDescription() {
+ return description;
+ }
+
+ public void setTypes(Set types) {
+ this.types = types;
+ }
+
+ public Set getTypes() {
+ return types;
+ }
+
+ public void setProperties(Map> properties) {
+ this.properties = properties;
+ }
+
+ public Map> getProperties() {
+ return properties;
+ }
+
+ @Override
+ public String toString() {
+ return ((((("AuditTrail {"+ name)+"<")+ id)+">")+"}");
+ }
+
+ public void setChangeRequests(Set changeRequests) {
+ this.changeRequests = changeRequests;
+ }
+
+ public Set getChangeRequests() {
+ return changeRequests;
+ }
+
+ public void setErrors(Set errors) {
+ this.errors = errors;
+ }
+
+ public Set getErrors() {
+ return errors;
+ }
+
+ public void setLoInitialSnapshot(Memento loInitialSnapshot) {
+ this.loInitialSnapshot = loInitialSnapshot;
+ }
+
+ public Memento getLoInitialSnapshot() {
+ return loInitialSnapshot;
+ }
+
+ public void setLogisticsObjectRef(LogisticsObjectRef logisticsObjectRef) {
+ this.logisticsObjectRef = logisticsObjectRef;
+ }
+
+ public LogisticsObjectRef getLogisticsObjectRef() {
+ return logisticsObjectRef;
+ }
+
+ public String getLanguage() {
+ return language;
+ }
+
+ public void setLanguage(String language) {
+ this.language = language;
+ }
+}
diff --git a/src/main/java/org/iata/api/model/ChangeRequest.java b/src/main/java/org/iata/api/model/ChangeRequest.java
new file mode 100755
index 0000000..3dd4803
--- /dev/null
+++ b/src/main/java/org/iata/api/model/ChangeRequest.java
@@ -0,0 +1,208 @@
+
+package org.iata.api.model;
+
+import java.io.Serializable;
+import java.util.Date;
+import java.util.Map;
+import java.util.Set;
+
+import org.iata.api.Vocabulary;
+import org.iata.cargo.model.Branch;
+
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+import cz.cvut.kbss.jopa.model.annotations.Id;
+import cz.cvut.kbss.jopa.model.annotations.OWLAnnotationProperty;
+import cz.cvut.kbss.jopa.model.annotations.OWLClass;
+import cz.cvut.kbss.jopa.model.annotations.OWLDataProperty;
+import cz.cvut.kbss.jopa.model.annotations.OWLObjectProperty;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraint;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraints;
+import cz.cvut.kbss.jopa.model.annotations.Properties;
+import cz.cvut.kbss.jopa.model.annotations.Types;
+import cz.cvut.kbss.jopa.vocabulary.DC;
+import cz.cvut.kbss.jopa.vocabulary.RDFS;
+import io.swagger.annotations.ApiModelProperty;
+
+
+/**
+ * Change Request for the audit trail
+ *
+ * This class was generated by OWL2Java 0.16.4
+ *
+ */
+@OWLClass(iri = Vocabulary.s_c_ChangeRequest)
+public class ChangeRequest
+ implements Serializable
+{
+
+ @Id(generated = true)
+ @ApiModelProperty(readOnly = true)
+ protected String id;
+ @JsonIgnore
+ @OWLAnnotationProperty(iri = RDFS.LABEL)
+ protected String name;
+ @JsonIgnore
+ @OWLAnnotationProperty(iri = cz.cvut.kbss.jopa.vocabulary.DC.Elements.DESCRIPTION)
+ protected String description;
+ @Types
+ @JsonProperty("@type")
+ @ApiModelProperty(allowableValues = Vocabulary.s_c_ChangeRequest)
+ protected Set types;
+ @Properties
+ @JsonIgnore
+ protected Map> properties;
+ @JsonProperty("language")
+ @OWLAnnotationProperty(iri = DC.Terms.LANGUAGE)
+ protected String language;
+
+ /**
+ * PATCH body of a change request sent for a specific Logistics Object
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_patchRequest)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1),
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, min = 1, max = -1)
+ })
+ @JsonProperty(Vocabulary.s_p_patchRequest)
+ protected PatchRequest patchRequest;
+ /**
+ * The party that has requested the change request
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_requestingParty)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, min = 1, max = -1),
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_requestingParty)
+ protected Branch requestingParty;
+ /**
+ * Company which sent the change request
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_companyId)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", min = 1, max = -1),
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_companyId)
+ protected String companyId;
+ /**
+ * ACCEPTED or REJECTED
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_status)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", min = 1, max = -1),
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_status)
+ protected String status;
+ /**
+ * Timestamp of the change request
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_timestamp)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#dateTime", min = 1, max = -1),
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#dateTime", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_timestamp)
+ protected Date timestamp;
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public String getId() {
+ return id;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ public String getDescription() {
+ return description;
+ }
+
+ public void setTypes(Set types) {
+ this.types = types;
+ }
+
+ public Set getTypes() {
+ return types;
+ }
+
+ public void setProperties(Map> properties) {
+ this.properties = properties;
+ }
+
+ public Map> getProperties() {
+ return properties;
+ }
+
+ @Override
+ public String toString() {
+ return ((((("ChangeRequest {"+ name)+"<")+ id)+">")+"}");
+ }
+
+ public void setPatchRequest(PatchRequest patchRequest) {
+ this.patchRequest = patchRequest;
+ }
+
+ public PatchRequest getPatchRequest() {
+ return patchRequest;
+ }
+
+ public void setRequestingParty(Branch requestingParty) {
+ this.requestingParty = requestingParty;
+ }
+
+ public Branch getRequestingParty() {
+ return requestingParty;
+ }
+
+ public void setCompanyId(String companyId) {
+ this.companyId = companyId;
+ }
+
+ public String getCompanyId() {
+ return companyId;
+ }
+
+ public void setStatus(String status) {
+ this.status = status;
+ }
+
+ public String getStatus() {
+ return status;
+ }
+
+ public void setTimestamp(Date timestamp) {
+ this.timestamp = timestamp;
+ }
+
+ public Date getTimestamp() {
+ return timestamp;
+ }
+
+ public String getLanguage() {
+ return language;
+ }
+
+ public void setLanguage(String language) {
+ this.language = language;
+ }
+}
diff --git a/src/main/java/org/iata/api/model/CompanyInformation.java b/src/main/java/org/iata/api/model/CompanyInformation.java
new file mode 100755
index 0000000..1ac5184
--- /dev/null
+++ b/src/main/java/org/iata/api/model/CompanyInformation.java
@@ -0,0 +1,216 @@
+
+package org.iata.api.model;
+
+import java.io.Serializable;
+import java.util.Map;
+import java.util.Set;
+
+import org.iata.api.Vocabulary;
+import org.iata.cargo.model.Company;
+import org.springframework.data.mongodb.core.mapping.Document;
+
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+import cz.cvut.kbss.jopa.model.annotations.*;
+import cz.cvut.kbss.jopa.vocabulary.DC;
+import cz.cvut.kbss.jopa.vocabulary.RDFS;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+
+
+/**
+ * Company information in the Internet of Logistics
+ *
+ * This class was generated by OWL2Java 0.16.4
+ *
+ */
+@OWLClass(iri = Vocabulary.s_c_CompanyInformation)
+@Document(collection = "companies")
+@ApiModel
+public class CompanyInformation
+ implements Serializable
+{
+
+ @Id(generated = true)
+ @ApiModelProperty(readOnly = true)
+ protected String id;
+ @JsonIgnore
+ @OWLAnnotationProperty(iri = RDFS.LABEL)
+ protected String name;
+ @JsonIgnore
+ @OWLAnnotationProperty(iri = cz.cvut.kbss.jopa.vocabulary.DC.Elements.DESCRIPTION)
+ protected String description;
+ @Types
+ @ApiModelProperty(allowableValues = Vocabulary.s_c_CompanyInformation)
+ @JsonProperty("@type")
+ protected Set types;
+ @Properties
+ @JsonIgnore
+ protected Map> properties;
+ @JsonProperty("language")
+ @OWLAnnotationProperty(iri = DC.Terms.LANGUAGE)
+ protected String language;
+
+ /**
+ * Company details
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_company)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1),
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, min = 1, max = -1)
+ })
+ @JsonProperty(Vocabulary.s_p_company)
+ protected Company company;
+ /**
+ * Non mandatory error details
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_errors_A)
+ @JsonProperty(Vocabulary.s_p_errors_A)
+ protected Set errors;
+ /**
+ * Company Id, for example airline code.
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_companyId_A)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1),
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", min = 1, max = -1)
+ })
+ @JsonProperty(Vocabulary.s_p_companyId_A)
+ protected String companyId;
+ /**
+ * Endpoint of the company in the Internet of Logistics
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_serverEndpoint)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1),
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", min = 1, max = -1)
+ })
+ @JsonProperty(Vocabulary.s_p_serverEndpoint)
+ protected String serverEndpoint;
+ /**
+ * Supported content types of the server
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_supportedContentTypes)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", min = 1, max = -1)
+ })
+ @JsonProperty(Vocabulary.s_p_supportedContentTypes)
+ protected Set supportedContentTypes;
+ /**
+ * Supported logistics object types on the server
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_supportedLogisticsObjects)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", min = 1, max = -1)
+ })
+ @JsonProperty(Vocabulary.s_p_supportedLogisticsObjects)
+ protected Set supportedLogisticsObjects;
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public String getId() {
+ return id;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ public String getDescription() {
+ return description;
+ }
+
+ public void setTypes(Set types) {
+ this.types = types;
+ }
+
+ public Set getTypes() {
+ return types;
+ }
+
+ public void setProperties(Map> properties) {
+ this.properties = properties;
+ }
+
+ public Map> getProperties() {
+ return properties;
+ }
+
+ @Override
+ public String toString() {
+ return ((((("CompanyInformation {"+ name)+"<")+ id)+">")+"}");
+ }
+
+ public void setCompany(Company company) {
+ this.company = company;
+ }
+
+ public Company getCompany() {
+ return company;
+ }
+
+ public void setErrors(Set errors) {
+ this.errors = errors;
+ }
+
+ public Set getErrors() {
+ return errors;
+ }
+
+ public void setCompanyId(String companyId) {
+ this.companyId = companyId;
+ }
+
+ public String getCompanyId() {
+ return companyId;
+ }
+
+ public void setServerEndpoint(String serverEndpoint) {
+ this.serverEndpoint = serverEndpoint;
+ }
+
+ public String getServerEndpoint() {
+ return serverEndpoint;
+ }
+
+ public void setSupportedContentTypes(Set supportedContentTypes) {
+ this.supportedContentTypes = supportedContentTypes;
+ }
+
+ public Set getSupportedContentTypes() {
+ return supportedContentTypes;
+ }
+
+ public void setSupportedLogisticsObjects(Set supportedLogisticsObjects) {
+ this.supportedLogisticsObjects = supportedLogisticsObjects;
+ }
+
+ public Set getSupportedLogisticsObjects() {
+ return supportedLogisticsObjects;
+ }
+
+ public String getLanguage() {
+ return language;
+ }
+
+ public void setLanguage(String language) {
+ this.language = language;
+ }
+}
diff --git a/src/main/java/org/iata/api/model/DelegationRequest.java b/src/main/java/org/iata/api/model/DelegationRequest.java
new file mode 100755
index 0000000..98f14fd
--- /dev/null
+++ b/src/main/java/org/iata/api/model/DelegationRequest.java
@@ -0,0 +1,188 @@
+
+package org.iata.api.model;
+
+import java.io.Serializable;
+import java.util.Map;
+import java.util.Set;
+
+import org.iata.api.Vocabulary;
+import org.springframework.data.mongodb.core.mapping.Document;
+
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+import cz.cvut.kbss.jopa.model.annotations.Id;
+import cz.cvut.kbss.jopa.model.annotations.OWLAnnotationProperty;
+import cz.cvut.kbss.jopa.model.annotations.OWLClass;
+import cz.cvut.kbss.jopa.model.annotations.OWLDataProperty;
+import cz.cvut.kbss.jopa.model.annotations.OWLObjectProperty;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraint;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraints;
+import cz.cvut.kbss.jopa.model.annotations.Properties;
+import cz.cvut.kbss.jopa.model.annotations.Types;
+import cz.cvut.kbss.jopa.vocabulary.DC;
+import cz.cvut.kbss.jopa.vocabulary.RDFS;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+
+
+/**
+ * Delegation Request to 3rd parties
+ *
+ * This class was generated by OWL2Java 0.16.4
+ *
+ */
+@OWLClass(iri = Vocabulary.s_c_DelegationRequest)
+@Document(collection = "delegationRequests")
+@ApiModel
+public class DelegationRequest
+ implements Serializable
+{
+
+ @Id(generated = true)
+ @ApiModelProperty(readOnly = true)
+ protected String id;
+ @JsonIgnore
+ @OWLAnnotationProperty(iri = RDFS.LABEL)
+ protected String name;
+ @JsonIgnore
+ @OWLAnnotationProperty(iri = cz.cvut.kbss.jopa.vocabulary.DC.Elements.DESCRIPTION)
+ protected String description;
+ @Types
+ @JsonProperty("@type")
+ @ApiModelProperty(allowableValues = Vocabulary.s_c_DelegationRequest)
+ protected Set types;
+ @Properties
+ @JsonIgnore
+ protected Map> properties;
+ @JsonProperty("language")
+ @OWLAnnotationProperty(iri = DC.Terms.LANGUAGE)
+ protected String language;
+
+ /**
+ * Identifiers of the logistics objects to which the access is requested
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_targetLogisticsObjects)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, min = 1, max = -1)
+ })
+ @JsonProperty(Vocabulary.s_p_targetLogisticsObjects)
+ protected Set targetLogisticsObjects;
+ /**
+ * REVOKE or DELEGATE
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_action)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", min = 1, max = -1),
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_action)
+ protected String action;
+ /**
+ * GET or PATCH
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_operations_A)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", min = 1, max = -1)
+ })
+ @JsonProperty(Vocabulary.s_p_operations_A)
+ protected Set operations;
+ /**
+ * Parties that receive the delegated rights
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_targetCompanies)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", min = 1, max = -1)
+ })
+ @JsonProperty(Vocabulary.s_p_targetCompanies)
+ protected Set targetCompanies;
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public String getId() {
+ return id;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ public String getDescription() {
+ return description;
+ }
+
+ public void setTypes(Set types) {
+ this.types = types;
+ }
+
+ public Set getTypes() {
+ return types;
+ }
+
+ public void setProperties(Map> properties) {
+ this.properties = properties;
+ }
+
+ public Map> getProperties() {
+ return properties;
+ }
+
+ @Override
+ public String toString() {
+ return ((((("DelegationRequest {"+ name)+"<")+ id)+">")+"}");
+ }
+
+ public void setTargetLogisticsObjects(Set targetLogisticsObjects) {
+ this.targetLogisticsObjects = targetLogisticsObjects;
+ }
+
+ public Set getTargetLogisticsObjects() {
+ return targetLogisticsObjects;
+ }
+
+ public void setAction(String action) {
+ this.action = action;
+ }
+
+ public String getAction() {
+ return action;
+ }
+
+ public void setOperations(Set operations) {
+ this.operations = operations;
+ }
+
+ public Set getOperations() {
+ return operations;
+ }
+
+ public void setTargetCompanies(Set targetCompanies) {
+ this.targetCompanies = targetCompanies;
+ }
+
+ public Set getTargetCompanies() {
+ return targetCompanies;
+ }
+
+ public String getLanguage() {
+ return language;
+ }
+
+ public void setLanguage(String language) {
+ this.language = language;
+ }
+}
diff --git a/src/main/java/org/iata/api/model/Details.java b/src/main/java/org/iata/api/model/Details.java
new file mode 100755
index 0000000..f7bfbc0
--- /dev/null
+++ b/src/main/java/org/iata/api/model/Details.java
@@ -0,0 +1,183 @@
+
+package org.iata.api.model;
+
+import java.io.Serializable;
+import java.util.Map;
+import java.util.Set;
+
+import org.iata.api.Vocabulary;
+
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+import cz.cvut.kbss.jopa.model.annotations.Id;
+import cz.cvut.kbss.jopa.model.annotations.OWLAnnotationProperty;
+import cz.cvut.kbss.jopa.model.annotations.OWLClass;
+import cz.cvut.kbss.jopa.model.annotations.OWLDataProperty;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraint;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraints;
+import cz.cvut.kbss.jopa.model.annotations.Properties;
+import cz.cvut.kbss.jopa.model.annotations.Types;
+import cz.cvut.kbss.jopa.vocabulary.DC;
+import cz.cvut.kbss.jopa.vocabulary.RDFS;
+import io.swagger.annotations.ApiModelProperty;
+
+
+/**
+ * Error details
+ *
+ * This class was generated by OWL2Java 0.16.4
+ *
+ */
+@OWLClass(iri = Vocabulary.s_c_Details)
+public class Details
+ implements Serializable
+{
+
+ @Id(generated = true)
+ @ApiModelProperty(readOnly = true)
+ protected String id;
+ @JsonIgnore
+ @OWLAnnotationProperty(iri = RDFS.LABEL)
+ protected String name;
+ @JsonIgnore
+ @OWLAnnotationProperty(iri = cz.cvut.kbss.jopa.vocabulary.DC.Elements.DESCRIPTION)
+ protected String description;
+ @Types
+ @ApiModelProperty(allowableValues = Vocabulary.s_c_Details)
+ @JsonProperty("@type")
+ protected Set types;
+ @Properties
+ @JsonIgnore
+ protected Map> properties;
+ @JsonProperty("language")
+ @OWLAnnotationProperty(iri = DC.Terms.LANGUAGE)
+ protected String language;
+
+ /**
+ * Field of the object for which the error applies
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_attribute)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_attribute)
+ protected String attribute;
+ /**
+ * Error code
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_code)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1),
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", min = 1, max = -1)
+ })
+ @JsonProperty(Vocabulary.s_p_code)
+ protected String code;
+ /**
+ * Message of the error
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_message)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_message)
+ protected String message;
+ /**
+ * Object for which the error applies
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_resource)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_resource)
+ protected String resource;
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public String getId() {
+ return id;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ public String getDescription() {
+ return description;
+ }
+
+ public void setTypes(Set types) {
+ this.types = types;
+ }
+
+ public Set getTypes() {
+ return types;
+ }
+
+ public void setProperties(Map> properties) {
+ this.properties = properties;
+ }
+
+ public Map> getProperties() {
+ return properties;
+ }
+
+ @Override
+ public String toString() {
+ return ((((("Details {"+ name)+"<")+ id)+">")+"}");
+ }
+
+ public void setAttribute(String attribute) {
+ this.attribute = attribute;
+ }
+
+ public String getAttribute() {
+ return attribute;
+ }
+
+ public void setCode(String code) {
+ this.code = code;
+ }
+
+ public String getCode() {
+ return code;
+ }
+
+ public void setMessage(String message) {
+ this.message = message;
+ }
+
+ public String getMessage() {
+ return message;
+ }
+
+ public void setResource(String resource) {
+ this.resource = resource;
+ }
+
+ public String getResource() {
+ return resource;
+ }
+
+ public String getLanguage() {
+ return language;
+ }
+
+ public void setLanguage(String language) {
+ this.language = language;
+ }
+}
diff --git a/src/main/java/org/iata/api/model/Error.java b/src/main/java/org/iata/api/model/Error.java
new file mode 100755
index 0000000..c28612b
--- /dev/null
+++ b/src/main/java/org/iata/api/model/Error.java
@@ -0,0 +1,148 @@
+
+package org.iata.api.model;
+
+import java.io.Serializable;
+import java.util.Map;
+import java.util.Set;
+
+import org.iata.api.Vocabulary;
+
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+import cz.cvut.kbss.jopa.model.annotations.Id;
+import cz.cvut.kbss.jopa.model.annotations.OWLAnnotationProperty;
+import cz.cvut.kbss.jopa.model.annotations.OWLClass;
+import cz.cvut.kbss.jopa.model.annotations.OWLDataProperty;
+import cz.cvut.kbss.jopa.model.annotations.OWLObjectProperty;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraint;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraints;
+import cz.cvut.kbss.jopa.model.annotations.Properties;
+import cz.cvut.kbss.jopa.model.annotations.Types;
+import cz.cvut.kbss.jopa.vocabulary.DC;
+import cz.cvut.kbss.jopa.vocabulary.RDFS;
+import io.swagger.annotations.ApiModelProperty;
+
+
+/**
+ * Error model
+ *
+ * This class was generated by OWL2Java 0.16.4
+ *
+ */
+@OWLClass(iri = Vocabulary.s_c_Error)
+public class Error
+ implements Serializable
+{
+
+ @Id(generated = true)
+ @ApiModelProperty(readOnly = true)
+ protected String id;
+ @JsonIgnore
+ @OWLAnnotationProperty(iri = RDFS.LABEL)
+ protected String name;
+ @JsonIgnore
+ @OWLAnnotationProperty(iri = cz.cvut.kbss.jopa.vocabulary.DC.Elements.DESCRIPTION)
+ protected String description;
+ @Types
+ @JsonProperty("@type")
+ @ApiModelProperty(allowableValues = Vocabulary.s_c_Error)
+ protected Set types;
+ @Properties
+ @JsonIgnore
+ protected Map> properties;
+ @JsonProperty("language")
+ @OWLAnnotationProperty(iri = DC.Terms.LANGUAGE)
+ protected String language;
+
+ /**
+ * Error details
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_details)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, min = 1, max = -1)
+ })
+ @JsonProperty(Vocabulary.s_p_details)
+ protected Set details;
+ /**
+ * Brief description of the error
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_title)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", min = 1, max = -1),
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_title)
+ protected String title;
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public String getId() {
+ return id;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ public String getDescription() {
+ return description;
+ }
+
+ public void setTypes(Set types) {
+ this.types = types;
+ }
+
+ public Set getTypes() {
+ return types;
+ }
+
+ public void setProperties(Map> properties) {
+ this.properties = properties;
+ }
+
+ public Map> getProperties() {
+ return properties;
+ }
+
+ @Override
+ public String toString() {
+ return ((((("Error {"+ name)+"<")+ id)+">")+"}");
+ }
+
+ public void setDetails(Set details) {
+ this.details = details;
+ }
+
+ public Set getDetails() {
+ return details;
+ }
+
+ public void setTitle(String title) {
+ this.title = title;
+ }
+
+ public String getTitle() {
+ return title;
+ }
+
+ public String getLanguage() {
+ return language;
+ }
+
+ public void setLanguage(String language) {
+ this.language = language;
+ }
+}
diff --git a/src/main/java/org/iata/api/model/LogisticsObjectRef.java b/src/main/java/org/iata/api/model/LogisticsObjectRef.java
new file mode 100755
index 0000000..cdfd92a
--- /dev/null
+++ b/src/main/java/org/iata/api/model/LogisticsObjectRef.java
@@ -0,0 +1,148 @@
+
+package org.iata.api.model;
+
+import java.io.Serializable;
+import java.util.Map;
+import java.util.Set;
+
+import org.iata.api.Vocabulary;
+
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+import cz.cvut.kbss.jopa.model.annotations.Id;
+import cz.cvut.kbss.jopa.model.annotations.OWLAnnotationProperty;
+import cz.cvut.kbss.jopa.model.annotations.OWLClass;
+import cz.cvut.kbss.jopa.model.annotations.OWLDataProperty;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraint;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraints;
+import cz.cvut.kbss.jopa.model.annotations.Properties;
+import cz.cvut.kbss.jopa.model.annotations.Types;
+import cz.cvut.kbss.jopa.vocabulary.DC;
+import cz.cvut.kbss.jopa.vocabulary.RDFS;
+import io.swagger.annotations.ApiModelProperty;
+
+
+/**
+ * Reference to a Logistics Object
+ *
+ * This class was generated by OWL2Java 0.16.4
+ *
+ */
+@OWLClass(iri = Vocabulary.s_c_LogisticsObjectRef)
+public class LogisticsObjectRef
+ implements Serializable
+{
+
+ @Id(generated = true)
+ @ApiModelProperty(readOnly = true)
+ protected String id;
+ @JsonIgnore
+ @OWLAnnotationProperty(iri = RDFS.LABEL)
+ protected String name;
+ @JsonIgnore
+ @OWLAnnotationProperty(iri = cz.cvut.kbss.jopa.vocabulary.DC.Elements.DESCRIPTION)
+ protected String description;
+ @Types
+ @JsonProperty("@type")
+ @ApiModelProperty(allowableValues = Vocabulary.s_c_LogisticsObjectRef)
+ protected Set types;
+ @Properties
+ @JsonIgnore
+ protected Map> properties;
+ @JsonProperty("language")
+ @OWLAnnotationProperty(iri = DC.Terms.LANGUAGE)
+ protected String language;
+
+ /**
+ * Id of the reference Logistics Object
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_logisticsObjectId)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1),
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", min = 1, max = -1)
+ })
+ @JsonProperty(Vocabulary.s_p_logisticsObjectId)
+ protected String logisticsObjectId;
+ /**
+ * Type of the reference Logistics Object
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_logisticsObjectType)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1),
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", min = 1, max = -1)
+ })
+ @JsonProperty(Vocabulary.s_p_logisticsObjectType)
+ protected String logisticsObjectType;
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public String getId() {
+ return id;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ public String getDescription() {
+ return description;
+ }
+
+ public void setTypes(Set types) {
+ this.types = types;
+ }
+
+ public Set getTypes() {
+ return types;
+ }
+
+ public void setProperties(Map> properties) {
+ this.properties = properties;
+ }
+
+ public Map> getProperties() {
+ return properties;
+ }
+
+ @Override
+ public String toString() {
+ return ((((("LogisticsObjectRef {"+ name)+"<")+ id)+">")+"}");
+ }
+
+ public void setLogisticsObjectId(String logisticsObjectId) {
+ this.logisticsObjectId = logisticsObjectId;
+ }
+
+ public String getLogisticsObjectId() {
+ return logisticsObjectId;
+ }
+
+ public void setLogisticsObjectType(String logisticsObjectType) {
+ this.logisticsObjectType = logisticsObjectType;
+ }
+
+ public String getLogisticsObjectType() {
+ return logisticsObjectType;
+ }
+
+ public String getLanguage() {
+ return language;
+ }
+
+ public void setLanguage(String language) {
+ this.language = language;
+ }
+}
diff --git a/src/main/java/org/iata/api/model/Memento.java b/src/main/java/org/iata/api/model/Memento.java
new file mode 100755
index 0000000..a01030e
--- /dev/null
+++ b/src/main/java/org/iata/api/model/Memento.java
@@ -0,0 +1,190 @@
+
+package org.iata.api.model;
+
+import java.io.Serializable;
+import java.util.Date;
+import java.util.Map;
+import java.util.Set;
+
+import org.iata.api.Vocabulary;
+import org.springframework.data.mongodb.core.mapping.Document;
+
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+import cz.cvut.kbss.jopa.model.annotations.Id;
+import cz.cvut.kbss.jopa.model.annotations.OWLAnnotationProperty;
+import cz.cvut.kbss.jopa.model.annotations.OWLClass;
+import cz.cvut.kbss.jopa.model.annotations.OWLDataProperty;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraint;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraints;
+import cz.cvut.kbss.jopa.model.annotations.Properties;
+import cz.cvut.kbss.jopa.model.annotations.Types;
+import cz.cvut.kbss.jopa.vocabulary.DC;
+import cz.cvut.kbss.jopa.vocabulary.RDFS;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+
+
+/**
+ * Version of a Logistics Object
+ *
+ * This class was generated by OWL2Java 0.16.4
+ *
+ */
+@OWLClass(iri = Vocabulary.s_c_Memento)
+@Document(collection = "mementos")
+@ApiModel
+public class Memento
+ implements Serializable
+{
+
+ @Id(generated = true)
+ @ApiModelProperty(readOnly = true)
+ protected String id;
+ @JsonIgnore
+ @OWLAnnotationProperty(iri = RDFS.LABEL)
+ protected String name;
+ @JsonIgnore
+ @OWLAnnotationProperty(iri = cz.cvut.kbss.jopa.vocabulary.DC.Elements.DESCRIPTION)
+ protected String description;
+ @Types
+ @ApiModelProperty(allowableValues = Vocabulary.s_c_Memento)
+ @JsonProperty("@type")
+ protected Set types;
+ @Properties
+ @JsonIgnore
+ protected Map> properties;
+ @JsonProperty("language")
+ @OWLAnnotationProperty(iri = DC.Terms.LANGUAGE)
+ protected String language;
+
+ /**
+ * Date and time of the memento creation
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_created)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#dateTime", min = 1, max = -1),
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#dateTime", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_created)
+ protected Date created;
+ /**
+ * Name of the memento creator
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_createdBy)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1),
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", min = 1, max = -1)
+ })
+ @JsonProperty(Vocabulary.s_p_createdBy)
+ protected String createdBy;
+ /**
+ * Label of the memento
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_label)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_label)
+ protected String label;
+ /**
+ * First version of the Logistics Object
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_original)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", min = 1, max = -1),
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_original)
+ protected String original;
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public String getId() {
+ return id;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ public String getDescription() {
+ return description;
+ }
+
+ public void setTypes(Set types) {
+ this.types = types;
+ }
+
+ public Set getTypes() {
+ return types;
+ }
+
+ public void setProperties(Map> properties) {
+ this.properties = properties;
+ }
+
+ public Map> getProperties() {
+ return properties;
+ }
+
+ @Override
+ public String toString() {
+ return ((((("Memento {"+ name)+"<")+ id)+">")+"}");
+ }
+
+ public void setCreated(Date created) {
+ this.created = created;
+ }
+
+ public Date getCreated() {
+ return created;
+ }
+
+ public void setCreatedBy(String createdBy) {
+ this.createdBy = createdBy;
+ }
+
+ public String getCreatedBy() {
+ return createdBy;
+ }
+
+ public void setLabel(String label) {
+ this.label = label;
+ }
+
+ public String getLabel() {
+ return label;
+ }
+
+ public void setOriginal(String original) {
+ this.original = original;
+ }
+
+ public String getOriginal() {
+ return original;
+ }
+
+ public String getLanguage() {
+ return language;
+ }
+
+ public void setLanguage(String language) {
+ this.language = language;
+ }
+}
diff --git a/src/main/java/org/iata/api/model/MementoEntry.java b/src/main/java/org/iata/api/model/MementoEntry.java
new file mode 100755
index 0000000..55f8c4e
--- /dev/null
+++ b/src/main/java/org/iata/api/model/MementoEntry.java
@@ -0,0 +1,168 @@
+
+package org.iata.api.model;
+
+import java.io.Serializable;
+import java.util.Date;
+import java.util.Map;
+import java.util.Set;
+
+import org.iata.api.Vocabulary;
+
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+import cz.cvut.kbss.jopa.model.annotations.Id;
+import cz.cvut.kbss.jopa.model.annotations.OWLAnnotationProperty;
+import cz.cvut.kbss.jopa.model.annotations.OWLClass;
+import cz.cvut.kbss.jopa.model.annotations.OWLDataProperty;
+import cz.cvut.kbss.jopa.model.annotations.OWLObjectProperty;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraint;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraints;
+import cz.cvut.kbss.jopa.model.annotations.Properties;
+import cz.cvut.kbss.jopa.model.annotations.Types;
+import cz.cvut.kbss.jopa.vocabulary.DC;
+import cz.cvut.kbss.jopa.vocabulary.RDFS;
+import io.swagger.annotations.ApiModelProperty;
+
+
+/**
+ * Memento entry from the time map
+ *
+ * This class was generated by OWL2Java 0.16.4
+ *
+ */
+@OWLClass(iri = Vocabulary.s_c_MementoEntry)
+public class MementoEntry
+ implements Serializable
+{
+
+ @Id(generated = true)
+ @ApiModelProperty(readOnly = true)
+ protected String id;
+ @JsonIgnore
+ @OWLAnnotationProperty(iri = RDFS.LABEL)
+ protected String name;
+ @JsonIgnore
+ @OWLAnnotationProperty(iri = cz.cvut.kbss.jopa.vocabulary.DC.Elements.DESCRIPTION)
+ protected String description;
+ @Types
+ @JsonProperty("@type")
+ @ApiModelProperty(allowableValues = Vocabulary.s_c_MementoEntry)
+ protected Set types;
+ @Properties
+ @JsonIgnore
+ protected Map> properties;
+ @JsonProperty("language")
+ @OWLAnnotationProperty(iri = DC.Terms.LANGUAGE)
+ protected String language;
+
+ /**
+ * Link to the memento
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_memento)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, min = 1, max = -1),
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_memento)
+ protected Memento memento;
+ /**
+ * Creation date of the memento
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_datetime)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#dateTime", min = 1, max = -1),
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#dateTime", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_datetime)
+ protected Date datetime;
+ /**
+ * Non mandatory label of the memento
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_label_A)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_label_A)
+ protected String label;
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public String getId() {
+ return id;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ public String getDescription() {
+ return description;
+ }
+
+ public void setTypes(Set types) {
+ this.types = types;
+ }
+
+ public Set getTypes() {
+ return types;
+ }
+
+ public void setProperties(Map> properties) {
+ this.properties = properties;
+ }
+
+ public Map> getProperties() {
+ return properties;
+ }
+
+ @Override
+ public String toString() {
+ return ((((("MementoEntry {"+ name)+"<")+ id)+">")+"}");
+ }
+
+ public void setMemento(Memento memento) {
+ this.memento = memento;
+ }
+
+ public Memento getMemento() {
+ return memento;
+ }
+
+ public void setDatetime(Date datetime) {
+ this.datetime = datetime;
+ }
+
+ public Date getDatetime() {
+ return datetime;
+ }
+
+ public void setLabel(String label) {
+ this.label = label;
+ }
+
+ public String getLabel() {
+ return label;
+ }
+
+ public String getLanguage() {
+ return language;
+ }
+
+ public void setLanguage(String language) {
+ this.language = language;
+ }
+}
diff --git a/src/main/java/org/iata/api/model/MementoList.java b/src/main/java/org/iata/api/model/MementoList.java
new file mode 100755
index 0000000..ca2a3cd
--- /dev/null
+++ b/src/main/java/org/iata/api/model/MementoList.java
@@ -0,0 +1,128 @@
+
+package org.iata.api.model;
+
+import java.io.Serializable;
+import java.util.Map;
+import java.util.Set;
+
+import org.iata.api.Vocabulary;
+
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+import cz.cvut.kbss.jopa.model.annotations.Id;
+import cz.cvut.kbss.jopa.model.annotations.OWLAnnotationProperty;
+import cz.cvut.kbss.jopa.model.annotations.OWLClass;
+import cz.cvut.kbss.jopa.model.annotations.OWLObjectProperty;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraint;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraints;
+import cz.cvut.kbss.jopa.model.annotations.Properties;
+import cz.cvut.kbss.jopa.model.annotations.Types;
+import cz.cvut.kbss.jopa.vocabulary.DC;
+import cz.cvut.kbss.jopa.vocabulary.RDFS;
+import io.swagger.annotations.ApiModelProperty;
+
+
+/**
+ * Memento list model
+ *
+ * This class was generated by OWL2Java 0.16.4
+ *
+ */
+@OWLClass(iri = Vocabulary.s_c_MementoList)
+public class MementoList
+ implements Serializable
+{
+
+ @Id(generated = true)
+ @ApiModelProperty(readOnly = true)
+ protected String id;
+ @JsonIgnore
+ @OWLAnnotationProperty(iri = RDFS.LABEL)
+ protected String name;
+ @JsonIgnore
+ @OWLAnnotationProperty(iri = cz.cvut.kbss.jopa.vocabulary.DC.Elements.DESCRIPTION)
+ protected String description;
+ @Types
+ @ApiModelProperty(allowableValues = Vocabulary.s_c_MementoList)
+ @JsonProperty("@type")
+ protected Set types;
+ @Properties
+ @JsonIgnore
+ protected Map> properties;
+ @JsonProperty("language")
+ @OWLAnnotationProperty(iri = DC.Terms.LANGUAGE)
+ protected String language;
+
+ /**
+ * List of mementos of a Logistics Object
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_mementoEntry)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, min = 1, max = -1)
+ })
+ @JsonProperty(Vocabulary.s_p_mementoEntry)
+ protected Set mementoEntry;
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public String getId() {
+ return id;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ public String getDescription() {
+ return description;
+ }
+
+ public void setTypes(Set types) {
+ this.types = types;
+ }
+
+ public Set getTypes() {
+ return types;
+ }
+
+ public void setProperties(Map> properties) {
+ this.properties = properties;
+ }
+
+ public Map> getProperties() {
+ return properties;
+ }
+
+ @Override
+ public String toString() {
+ return ((((("MementoList {"+ name)+"<")+ id)+">")+"}");
+ }
+
+ public void setMementoEntry(Set mementoEntry) {
+ this.mementoEntry = mementoEntry;
+ }
+
+ public Set getMementoEntry() {
+ return mementoEntry;
+ }
+
+ public String getLanguage() {
+ return language;
+ }
+
+ public void setLanguage(String language) {
+ this.language = language;
+ }
+}
diff --git a/src/main/java/org/iata/api/model/Mementos.java b/src/main/java/org/iata/api/model/Mementos.java
new file mode 100755
index 0000000..0613763
--- /dev/null
+++ b/src/main/java/org/iata/api/model/Mementos.java
@@ -0,0 +1,168 @@
+
+package org.iata.api.model;
+
+import java.io.Serializable;
+import java.util.Map;
+import java.util.Set;
+
+import org.iata.api.Vocabulary;
+
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+import cz.cvut.kbss.jopa.model.annotations.Id;
+import cz.cvut.kbss.jopa.model.annotations.OWLAnnotationProperty;
+import cz.cvut.kbss.jopa.model.annotations.OWLClass;
+import cz.cvut.kbss.jopa.model.annotations.OWLDataProperty;
+import cz.cvut.kbss.jopa.model.annotations.OWLObjectProperty;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraint;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraints;
+import cz.cvut.kbss.jopa.model.annotations.Properties;
+import cz.cvut.kbss.jopa.model.annotations.Types;
+import cz.cvut.kbss.jopa.vocabulary.DC;
+import cz.cvut.kbss.jopa.vocabulary.RDFS;
+import io.swagger.annotations.ApiModelProperty;
+
+
+/**
+ * Memento list model
+ *
+ * This class was generated by OWL2Java 0.16.4
+ *
+ */
+@OWLClass(iri = Vocabulary.s_c_Mementos)
+public class Mementos
+ implements Serializable
+{
+
+ @Id(generated = true)
+ @ApiModelProperty(readOnly = true)
+ protected String id;
+ @JsonIgnore
+ @OWLAnnotationProperty(iri = RDFS.LABEL)
+ protected String name;
+ @JsonIgnore
+ @OWLAnnotationProperty(iri = cz.cvut.kbss.jopa.vocabulary.DC.Elements.DESCRIPTION)
+ protected String description;
+ @Types
+ @ApiModelProperty(allowableValues = Vocabulary.s_c_Mementos)
+ @JsonProperty("@type")
+ protected Set types;
+ @Properties
+ @JsonIgnore
+ protected Map> properties;
+ @JsonProperty("language")
+ @OWLAnnotationProperty(iri = DC.Terms.LANGUAGE)
+ protected String language;
+
+ /**
+ * List of mementos of a Logistics Object
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_list)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, min = 1, max = -1),
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_list)
+ protected MementoList list;
+ /**
+ * First memento of the Logistics Object
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_firstMemento)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1),
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", min = 1, max = -1)
+ })
+ @JsonProperty(Vocabulary.s_p_firstMemento)
+ protected String firstMemento;
+ /**
+ * Last memento of the Logistics Object
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_lastMemento)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", min = 1, max = -1),
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_lastMemento)
+ protected String lastMemento;
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public String getId() {
+ return id;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ public String getDescription() {
+ return description;
+ }
+
+ public void setTypes(Set types) {
+ this.types = types;
+ }
+
+ public Set getTypes() {
+ return types;
+ }
+
+ public void setProperties(Map> properties) {
+ this.properties = properties;
+ }
+
+ public Map> getProperties() {
+ return properties;
+ }
+
+ @Override
+ public String toString() {
+ return ((((("Mementos {"+ name)+"<")+ id)+">")+"}");
+ }
+
+ public void setList(MementoList list) {
+ this.list = list;
+ }
+
+ public MementoList getList() {
+ return list;
+ }
+
+ public void setFirstMemento(String firstMemento) {
+ this.firstMemento = firstMemento;
+ }
+
+ public String getFirstMemento() {
+ return firstMemento;
+ }
+
+ public void setLastMemento(String lastMemento) {
+ this.lastMemento = lastMemento;
+ }
+
+ public String getLastMemento() {
+ return lastMemento;
+ }
+
+ public String getLanguage() {
+ return language;
+ }
+
+ public void setLanguage(String language) {
+ this.language = language;
+ }
+}
diff --git a/src/main/java/org/iata/api/model/Notification.java b/src/main/java/org/iata/api/model/Notification.java
new file mode 100755
index 0000000..f80591e
--- /dev/null
+++ b/src/main/java/org/iata/api/model/Notification.java
@@ -0,0 +1,173 @@
+
+package org.iata.api.model;
+
+import java.io.Serializable;
+import java.util.Map;
+import java.util.Set;
+
+import org.iata.api.Vocabulary;
+import org.iata.cargo.model.LogisticsObject;
+import org.springframework.data.mongodb.core.mapping.Document;
+
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+import cz.cvut.kbss.jopa.model.annotations.Id;
+import cz.cvut.kbss.jopa.model.annotations.OWLAnnotationProperty;
+import cz.cvut.kbss.jopa.model.annotations.OWLClass;
+import cz.cvut.kbss.jopa.model.annotations.OWLDataProperty;
+import cz.cvut.kbss.jopa.model.annotations.OWLObjectProperty;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraint;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraints;
+import cz.cvut.kbss.jopa.model.annotations.Properties;
+import cz.cvut.kbss.jopa.model.annotations.Types;
+import cz.cvut.kbss.jopa.vocabulary.DC;
+import cz.cvut.kbss.jopa.vocabulary.RDFS;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+
+
+/**
+ * Notification sent by the publisher to the subscriber
+ *
+ * This class was generated by OWL2Java 0.16.4
+ *
+ */
+@OWLClass(iri = Vocabulary.s_c_Notification)
+@Document(collection = "notifications")
+@ApiModel
+public class Notification
+ implements Serializable
+{
+
+ @Id(generated = true)
+ @ApiModelProperty(readOnly = true)
+ protected String id;
+ @JsonIgnore
+ @OWLAnnotationProperty(iri = RDFS.LABEL)
+ protected String name;
+ @JsonIgnore
+ @OWLAnnotationProperty(iri = cz.cvut.kbss.jopa.vocabulary.DC.Elements.DESCRIPTION)
+ protected String description;
+ @Types
+ @ApiModelProperty(allowableValues = Vocabulary.s_c_Notification)
+ @JsonProperty("@type")
+ protected Set types;
+ @Properties
+ @JsonIgnore
+ protected Map> properties;
+ @JsonProperty("language")
+ @OWLAnnotationProperty(iri = DC.Terms.LANGUAGE)
+ protected String language;
+
+ /**
+ * Logistics Object for which the notification is sent
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_logisticsObject)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, min = 1, max = -1),
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_logisticsObject)
+ protected LogisticsObject logisticsObject;
+ /**
+ * OBJECT_CREATED or OBJECT_UPDATED
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_eventType)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1),
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", min = 1, max = -1)
+ })
+ @JsonProperty(Vocabulary.s_p_eventType)
+ protected String eventType;
+ /**
+ * Type of Logistics Object
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_topic)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1),
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", min = 1, max = -1)
+ })
+ @JsonProperty(Vocabulary.s_p_topic)
+ protected String topic;
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public String getId() {
+ return id;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ public String getDescription() {
+ return description;
+ }
+
+ public void setTypes(Set types) {
+ this.types = types;
+ }
+
+ public Set getTypes() {
+ return types;
+ }
+
+ public void setProperties(Map> properties) {
+ this.properties = properties;
+ }
+
+ public Map> getProperties() {
+ return properties;
+ }
+
+ @Override
+ public String toString() {
+ return ((((("Notification {"+ name)+"<")+ id)+">")+"}");
+ }
+
+ public void setLogisticsObject(LogisticsObject logisticsObject) {
+ this.logisticsObject = logisticsObject;
+ }
+
+ public LogisticsObject getLogisticsObject() {
+ return logisticsObject;
+ }
+
+ public void setEventType(String eventType) {
+ this.eventType = eventType;
+ }
+
+ public String getEventType() {
+ return eventType;
+ }
+
+ public void setTopic(String topic) {
+ this.topic = topic;
+ }
+
+ public String getTopic() {
+ return topic;
+ }
+
+ public String getLanguage() {
+ return language;
+ }
+
+ public void setLanguage(String language) {
+ this.language = language;
+ }
+}
diff --git a/src/main/java/org/iata/api/model/Operation.java b/src/main/java/org/iata/api/model/Operation.java
new file mode 100755
index 0000000..a98e4f6
--- /dev/null
+++ b/src/main/java/org/iata/api/model/Operation.java
@@ -0,0 +1,168 @@
+
+package org.iata.api.model;
+
+import java.io.Serializable;
+import java.util.Map;
+import java.util.Set;
+
+import org.iata.api.Vocabulary;
+
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+import cz.cvut.kbss.jopa.model.annotations.Id;
+import cz.cvut.kbss.jopa.model.annotations.OWLAnnotationProperty;
+import cz.cvut.kbss.jopa.model.annotations.OWLClass;
+import cz.cvut.kbss.jopa.model.annotations.OWLDataProperty;
+import cz.cvut.kbss.jopa.model.annotations.OWLObjectProperty;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraint;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraints;
+import cz.cvut.kbss.jopa.model.annotations.Properties;
+import cz.cvut.kbss.jopa.model.annotations.Types;
+import cz.cvut.kbss.jopa.vocabulary.DC;
+import cz.cvut.kbss.jopa.vocabulary.RDFS;
+import io.swagger.annotations.ApiModelProperty;
+
+
+/**
+ * Operation Request contained in the PATCH body
+ *
+ * This class was generated by OWL2Java 0.16.4
+ *
+ */
+@OWLClass(iri = Vocabulary.s_c_Operation)
+public class Operation
+ implements Serializable
+{
+
+ @Id(generated = true)
+ @ApiModelProperty(readOnly = true)
+ protected String id;
+ @JsonIgnore
+ @OWLAnnotationProperty(iri = RDFS.LABEL)
+ protected String name;
+ @JsonIgnore
+ @OWLAnnotationProperty(iri = cz.cvut.kbss.jopa.vocabulary.DC.Elements.DESCRIPTION)
+ protected String description;
+ @Types
+ @JsonProperty("@type")
+ @ApiModelProperty(allowableValues = Vocabulary.s_c_Operation)
+ protected Set types;
+ @Properties
+ @JsonIgnore
+ protected Map> properties;
+ @JsonProperty("language")
+ @OWLAnnotationProperty(iri = DC.Terms.LANGUAGE)
+ protected String language;
+
+ /**
+ * PATCH object to modify
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_o)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1),
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, min = 1, max = -1)
+ })
+ @JsonProperty(Vocabulary.s_p_o)
+ protected OperationObject o;
+ /**
+ * Operation objects must have exactly one op (operation) member; this value indicates which operation is to be performed. The value must be one of add or del; all other values result in an error
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_op)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1),
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", min = 1, max = -1)
+ })
+ @JsonProperty(Vocabulary.s_p_op)
+ protected String op;
+ /**
+ * Operations objects must have exactly one p, predicate, member. The value of this member must be an IRI
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_p)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1),
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", min = 1, max = -1)
+ })
+ @JsonProperty(Vocabulary.s_p_p)
+ protected String p;
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public String getId() {
+ return id;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ public String getDescription() {
+ return description;
+ }
+
+ public void setTypes(Set types) {
+ this.types = types;
+ }
+
+ public Set getTypes() {
+ return types;
+ }
+
+ public void setProperties(Map> properties) {
+ this.properties = properties;
+ }
+
+ public Map> getProperties() {
+ return properties;
+ }
+
+ @Override
+ public String toString() {
+ return ((((("Operation {"+ name)+"<")+ id)+">")+"}");
+ }
+
+ public void setO(OperationObject o) {
+ this.o = o;
+ }
+
+ public OperationObject getO() {
+ return o;
+ }
+
+ public void setOp(String op) {
+ this.op = op;
+ }
+
+ public String getOp() {
+ return op;
+ }
+
+ public void setP(String p) {
+ this.p = p;
+ }
+
+ public String getP() {
+ return p;
+ }
+
+ public String getLanguage() {
+ return language;
+ }
+
+ public void setLanguage(String language) {
+ this.language = language;
+ }
+}
diff --git a/src/main/java/org/iata/api/model/OperationObject.java b/src/main/java/org/iata/api/model/OperationObject.java
new file mode 100755
index 0000000..549c39a
--- /dev/null
+++ b/src/main/java/org/iata/api/model/OperationObject.java
@@ -0,0 +1,148 @@
+
+package org.iata.api.model;
+
+import java.io.Serializable;
+import java.util.Map;
+import java.util.Set;
+
+import org.iata.api.Vocabulary;
+
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+import cz.cvut.kbss.jopa.model.annotations.Id;
+import cz.cvut.kbss.jopa.model.annotations.OWLAnnotationProperty;
+import cz.cvut.kbss.jopa.model.annotations.OWLClass;
+import cz.cvut.kbss.jopa.model.annotations.OWLDataProperty;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraint;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraints;
+import cz.cvut.kbss.jopa.model.annotations.Properties;
+import cz.cvut.kbss.jopa.model.annotations.Types;
+import cz.cvut.kbss.jopa.vocabulary.DC;
+import cz.cvut.kbss.jopa.vocabulary.RDFS;
+import io.swagger.annotations.ApiModelProperty;
+
+
+/**
+ * Object to modify in the PATCH request
+ *
+ * This class was generated by OWL2Java 0.16.4
+ *
+ */
+@OWLClass(iri = Vocabulary.s_c_OperationObject)
+public class OperationObject
+ implements Serializable
+{
+
+ @Id(generated = true)
+ @ApiModelProperty(readOnly = true)
+ protected String id;
+ @JsonIgnore
+ @OWLAnnotationProperty(iri = RDFS.LABEL)
+ protected String name;
+ @JsonIgnore
+ @OWLAnnotationProperty(iri = cz.cvut.kbss.jopa.vocabulary.DC.Elements.DESCRIPTION)
+ protected String description;
+ @Types
+ @JsonProperty("@type")
+ @ApiModelProperty(allowableValues = Vocabulary.s_c_OperationObject)
+ protected Set types;
+ @Properties
+ @JsonIgnore
+ protected Map> properties;
+ @JsonProperty("language")
+ @OWLAnnotationProperty(iri = DC.Terms.LANGUAGE)
+ protected String language;
+
+ /**
+ * Data type of the field to update
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_datatype)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", min = 1, max = -1),
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_datatype)
+ protected String datatype;
+ /**
+ * Value to update
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_value)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1),
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", min = 1, max = -1)
+ })
+ @JsonProperty(Vocabulary.s_p_value)
+ protected String value;
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public String getId() {
+ return id;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ public String getDescription() {
+ return description;
+ }
+
+ public void setTypes(Set types) {
+ this.types = types;
+ }
+
+ public Set getTypes() {
+ return types;
+ }
+
+ public void setProperties(Map> properties) {
+ this.properties = properties;
+ }
+
+ public Map> getProperties() {
+ return properties;
+ }
+
+ @Override
+ public String toString() {
+ return ((((("OperationObject {"+ name)+"<")+ id)+">")+"}");
+ }
+
+ public void setDatatype(String datatype) {
+ this.datatype = datatype;
+ }
+
+ public String getDatatype() {
+ return datatype;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ public String getLanguage() {
+ return language;
+ }
+
+ public void setLanguage(String language) {
+ this.language = language;
+ }
+}
diff --git a/src/main/java/org/iata/api/model/PatchRequest.java b/src/main/java/org/iata/api/model/PatchRequest.java
new file mode 100755
index 0000000..56eaae3
--- /dev/null
+++ b/src/main/java/org/iata/api/model/PatchRequest.java
@@ -0,0 +1,204 @@
+
+package org.iata.api.model;
+
+import java.io.Serializable;
+import java.util.Map;
+import java.util.Set;
+
+import org.iata.api.Vocabulary;
+
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+import cz.cvut.kbss.jopa.model.annotations.Id;
+import cz.cvut.kbss.jopa.model.annotations.OWLAnnotationProperty;
+import cz.cvut.kbss.jopa.model.annotations.OWLClass;
+import cz.cvut.kbss.jopa.model.annotations.OWLDataProperty;
+import cz.cvut.kbss.jopa.model.annotations.OWLObjectProperty;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraint;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraints;
+import cz.cvut.kbss.jopa.model.annotations.Properties;
+import cz.cvut.kbss.jopa.model.annotations.Types;
+import cz.cvut.kbss.jopa.vocabulary.DC;
+import cz.cvut.kbss.jopa.vocabulary.RDFS;
+import io.swagger.annotations.ApiModelProperty;
+
+
+/**
+ * PATCH Request body containing updates on a Logistics Object
+ *
+ * This class was generated by OWL2Java 0.16.4
+ *
+ */
+@OWLClass(iri = Vocabulary.s_c_PatchRequest)
+public class PatchRequest
+ implements Serializable
+{
+
+ @Id(generated = true)
+ @ApiModelProperty(readOnly = true)
+ protected String id;
+ @JsonIgnore
+ @OWLAnnotationProperty(iri = RDFS.LABEL)
+ protected String name;
+ @JsonIgnore
+ @OWLAnnotationProperty(iri = cz.cvut.kbss.jopa.vocabulary.DC.Elements.DESCRIPTION)
+ protected String description;
+ @Types
+ @JsonProperty("@type")
+ @ApiModelProperty(allowableValues = Vocabulary.s_c_PatchRequest)
+ protected Set types;
+ @Properties
+ @JsonIgnore
+ protected Map> properties;
+ @JsonProperty("language")
+ @OWLAnnotationProperty(iri = DC.Terms.LANGUAGE)
+ protected String language;
+
+ /**
+ * Reference of the Logistics Object to which the change request is applied to
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_logisticsObjectRef_A)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, min = 1, max = -1),
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_logisticsObjectRef_A)
+ protected LogisticsObjectRef logisticsObjectRef;
+ /**
+ * List of operations to apply as PATCH on a Logistics Object
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_operations)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, min = 1, max = -1)
+ })
+ @JsonProperty(Vocabulary.s_p_operations)
+ protected Set operations;
+ /**
+ * Reason for the change (optional)
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_description)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_description)
+ protected String description1;
+ /**
+ * The company identifier of the entity that is requesting the change request
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_requestorCompanyIdentifier)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1),
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", min = 1, max = -1)
+ })
+ @JsonProperty(Vocabulary.s_p_requestorCompanyIdentifier)
+ protected String requestorCompanyIdentifier;
+ /**
+ * Revision number of the Logistics Object
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_revision)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", min = 1, max = -1),
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_revision)
+ protected String revision;
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public String getId() {
+ return id;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ public String getDescription() {
+ return description;
+ }
+
+ public void setTypes(Set types) {
+ this.types = types;
+ }
+
+ public Set getTypes() {
+ return types;
+ }
+
+ public void setProperties(Map> properties) {
+ this.properties = properties;
+ }
+
+ public Map> getProperties() {
+ return properties;
+ }
+
+ @Override
+ public String toString() {
+ return ((((("PatchRequest {"+ name)+"<")+ id)+">")+"}");
+ }
+
+ public void setLogisticsObjectRef(LogisticsObjectRef logisticsObjectRef) {
+ this.logisticsObjectRef = logisticsObjectRef;
+ }
+
+ public LogisticsObjectRef getLogisticsObjectRef() {
+ return logisticsObjectRef;
+ }
+
+ public void setOperations(Set operations) {
+ this.operations = operations;
+ }
+
+ public Set getOperations() {
+ return operations;
+ }
+
+ public void setDescription1(String description1) {
+ this.description1 = description1;
+ }
+
+ public String getDescription1() {
+ return description1;
+ }
+
+ public void setRequestorCompanyIdentifier(String requestorCompanyIdentifier) {
+ this.requestorCompanyIdentifier = requestorCompanyIdentifier;
+ }
+
+ public String getRequestorCompanyIdentifier() {
+ return requestorCompanyIdentifier;
+ }
+
+ public void setRevision(String revision) {
+ this.revision = revision;
+ }
+
+ public String getRevision() {
+ return revision;
+ }
+
+ public String getLanguage() {
+ return language;
+ }
+
+ public void setLanguage(String language) {
+ this.language = language;
+ }
+}
diff --git a/src/main/java/org/iata/api/model/Subscription.java b/src/main/java/org/iata/api/model/Subscription.java
new file mode 100755
index 0000000..9fbbefc
--- /dev/null
+++ b/src/main/java/org/iata/api/model/Subscription.java
@@ -0,0 +1,293 @@
+
+package org.iata.api.model;
+
+import java.io.Serializable;
+import java.util.Map;
+import java.util.Set;
+
+import org.iata.api.Vocabulary;
+import org.springframework.data.mongodb.core.mapping.Document;
+
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+import cz.cvut.kbss.jopa.model.annotations.Id;
+import cz.cvut.kbss.jopa.model.annotations.OWLAnnotationProperty;
+import cz.cvut.kbss.jopa.model.annotations.OWLClass;
+import cz.cvut.kbss.jopa.model.annotations.OWLDataProperty;
+import cz.cvut.kbss.jopa.model.annotations.OWLObjectProperty;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraint;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraints;
+import cz.cvut.kbss.jopa.model.annotations.Properties;
+import cz.cvut.kbss.jopa.model.annotations.Types;
+import cz.cvut.kbss.jopa.vocabulary.DC;
+import cz.cvut.kbss.jopa.vocabulary.RDFS;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+
+
+/**
+ * Subscription information sent to the publisher
+ *
+ * This class was generated by OWL2Java 0.16.4
+ *
+ */
+@OWLClass(iri = Vocabulary.s_c_Subscription)
+@Document(collection = "subscriptions")
+@ApiModel
+public class Subscription
+ implements Serializable
+{
+
+ @Id(generated = true)
+ @ApiModelProperty(readOnly = true)
+ protected String id;
+ @JsonIgnore
+ @OWLAnnotationProperty(iri = RDFS.LABEL)
+ protected String name;
+ @JsonIgnore
+ @OWLAnnotationProperty(iri = cz.cvut.kbss.jopa.vocabulary.DC.Elements.DESCRIPTION)
+ protected String description;
+ @Types
+ @JsonProperty("@type")
+ @ApiModelProperty(allowableValues = Vocabulary.s_c_Subscription)
+ protected Set types;
+ @Properties
+ @JsonIgnore
+ protected Map> properties;
+ @JsonProperty("language")
+ @OWLAnnotationProperty(iri = DC.Terms.LANGUAGE)
+ protected String language;
+
+ /**
+ * Non mandatory error details
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_errors_A_A)
+ @JsonProperty(Vocabulary.s_p_errors_A_A)
+ protected Set errors;
+ /**
+ * Duration of the period to cache the subscription information in seconds
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_cacheFor)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_cacheFor)
+ protected String cacheFor;
+ /**
+ * Callback URL of the Client Subscription API where the subscriber receives Logistics Objects
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_callbackUrl)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", min = 1, max = -1),
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_callbackUrl)
+ protected String callbackUrl;
+ /**
+ * Content types that the subscriber wants to receive in the notifications
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_contentTypes)
+ @JsonProperty(Vocabulary.s_p_contentTypes)
+ protected Set contentTypes;
+ /**
+ * The company identifier from the Internet of Logistics of my company.
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_myCompanyIdentifier)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", min = 1, max = -1),
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_myCompanyIdentifier)
+ protected String myCompanyIdentifier;
+ /**
+ * Either a secret or API Key that ensures that only companies with this subscription information can POST to the subscriber callback endpoint
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_secret)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_secret)
+ protected String secret;
+ /**
+ * Flag specifying if the publisher should send the whole logistics object or not in the notification object
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_sendLogisticsObjectBody)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#boolean", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_sendLogisticsObjectBody)
+ protected Boolean sendLogisticsObjectBody;
+ /**
+ * Flag specifying if the subscriber wants to receive updates for a Logistics Object
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_subscribeToStatusUpdates)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#boolean", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_subscribeToStatusUpdates)
+ protected Boolean subscribeToStatusUpdates;
+ /**
+ * Company Identifier of the company the subscriber wants to subscribe to (delegation scenario).
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_subscribedTo)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", min = 1, max = -1),
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_subscribedTo)
+ protected String subscribedTo;
+ /**
+ * The Logistics Object type to which the subscriber wants subscribe to
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_topic_A)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", min = 1, max = -1),
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_topic_A)
+ protected String topic;
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public String getId() {
+ return id;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ public String getDescription() {
+ return description;
+ }
+
+ public void setTypes(Set types) {
+ this.types = types;
+ }
+
+ public Set getTypes() {
+ return types;
+ }
+
+ public void setProperties(Map> properties) {
+ this.properties = properties;
+ }
+
+ public Map> getProperties() {
+ return properties;
+ }
+
+ @Override
+ public String toString() {
+ return ((((("Subscription {"+ name)+"<")+ id)+">")+"}");
+ }
+
+ public void setErrors(Set errors) {
+ this.errors = errors;
+ }
+
+ public Set getErrors() {
+ return errors;
+ }
+
+ public void setCacheFor(String cacheFor) {
+ this.cacheFor = cacheFor;
+ }
+
+ public String getCacheFor() {
+ return cacheFor;
+ }
+
+ public void setCallbackUrl(String callbackUrl) {
+ this.callbackUrl = callbackUrl;
+ }
+
+ public String getCallbackUrl() {
+ return callbackUrl;
+ }
+
+ public void setContentTypes(Set contentTypes) {
+ this.contentTypes = contentTypes;
+ }
+
+ public Set getContentTypes() {
+ return contentTypes;
+ }
+
+ public void setMyCompanyIdentifier(String myCompanyIdentifier) {
+ this.myCompanyIdentifier = myCompanyIdentifier;
+ }
+
+ public String getMyCompanyIdentifier() {
+ return myCompanyIdentifier;
+ }
+
+ public void setSecret(String secret) {
+ this.secret = secret;
+ }
+
+ public String getSecret() {
+ return secret;
+ }
+
+ public void setSendLogisticsObjectBody(Boolean sendLogisticsObjectBody) {
+ this.sendLogisticsObjectBody = sendLogisticsObjectBody;
+ }
+
+ public Boolean getSendLogisticsObjectBody() {
+ return sendLogisticsObjectBody;
+ }
+
+ public void setSubscribeToStatusUpdates(Boolean subscribeToStatusUpdates) {
+ this.subscribeToStatusUpdates = subscribeToStatusUpdates;
+ }
+
+ public Boolean getSubscribeToStatusUpdates() {
+ return subscribeToStatusUpdates;
+ }
+
+ public void setSubscribedTo(String subscribedTo) {
+ this.subscribedTo = subscribedTo;
+ }
+
+ public String getSubscribedTo() {
+ return subscribedTo;
+ }
+
+ public void setTopic(String topic) {
+ this.topic = topic;
+ }
+
+ public String getTopic() {
+ return topic;
+ }
+
+ public String getLanguage() {
+ return language;
+ }
+
+ public void setLanguage(String language) {
+ this.language = language;
+ }
+}
diff --git a/src/main/java/org/iata/api/model/Thing.java b/src/main/java/org/iata/api/model/Thing.java
new file mode 100755
index 0000000..ba68bc8
--- /dev/null
+++ b/src/main/java/org/iata/api/model/Thing.java
@@ -0,0 +1,104 @@
+
+package org.iata.api.model;
+
+import java.io.Serializable;
+import java.util.Map;
+import java.util.Set;
+
+import org.iata.api.Vocabulary;
+
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+import cz.cvut.kbss.jopa.model.annotations.Id;
+import cz.cvut.kbss.jopa.model.annotations.OWLAnnotationProperty;
+import cz.cvut.kbss.jopa.model.annotations.OWLClass;
+import cz.cvut.kbss.jopa.model.annotations.Properties;
+import cz.cvut.kbss.jopa.model.annotations.Types;
+import cz.cvut.kbss.jopa.vocabulary.DC;
+import cz.cvut.kbss.jopa.vocabulary.RDFS;
+import io.swagger.annotations.ApiModelProperty;
+
+
+/**
+ * This class was generated by OWL2Java 0.16.4
+ *
+ */
+@OWLClass(iri = Vocabulary.s_c_Thing)
+public class Thing
+ implements Serializable
+{
+
+ @Id(generated = true)
+ @ApiModelProperty(readOnly = true)
+ protected String id;
+ @JsonIgnore
+ @OWLAnnotationProperty(iri = RDFS.LABEL)
+ protected String name;
+ @JsonIgnore
+ @OWLAnnotationProperty(iri = cz.cvut.kbss.jopa.vocabulary.DC.Elements.DESCRIPTION)
+ protected String description;
+ @Types
+ @JsonProperty("@type")
+ @ApiModelProperty(allowableValues = Vocabulary.s_c_Thing)
+ protected Set types;
+ @Properties
+ @JsonIgnore
+ protected Map> properties;
+ @JsonProperty("language")
+ @OWLAnnotationProperty(iri = DC.Terms.LANGUAGE)
+ protected String language;
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public String getId() {
+ return id;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ public String getDescription() {
+ return description;
+ }
+
+ public void setTypes(Set types) {
+ this.types = types;
+ }
+
+ public Set getTypes() {
+ return types;
+ }
+
+ public void setProperties(Map> properties) {
+ this.properties = properties;
+ }
+
+ public Map> getProperties() {
+ return properties;
+ }
+
+ @Override
+ public String toString() {
+ return ((((("Thing {"+ name)+"<")+ id)+">")+"}");
+ }
+
+ public String getLanguage() {
+ return language;
+ }
+
+ public void setLanguage(String language) {
+ this.language = language;
+ }
+}
diff --git a/src/main/java/org/iata/api/model/Timemap.java b/src/main/java/org/iata/api/model/Timemap.java
new file mode 100755
index 0000000..a426b9b
--- /dev/null
+++ b/src/main/java/org/iata/api/model/Timemap.java
@@ -0,0 +1,171 @@
+
+package org.iata.api.model;
+
+import java.io.Serializable;
+import java.util.Map;
+import java.util.Set;
+
+import org.iata.api.Vocabulary;
+import org.springframework.data.mongodb.core.mapping.Document;
+
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+import cz.cvut.kbss.jopa.model.annotations.Id;
+import cz.cvut.kbss.jopa.model.annotations.OWLAnnotationProperty;
+import cz.cvut.kbss.jopa.model.annotations.OWLClass;
+import cz.cvut.kbss.jopa.model.annotations.OWLDataProperty;
+import cz.cvut.kbss.jopa.model.annotations.OWLObjectProperty;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraint;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraints;
+import cz.cvut.kbss.jopa.model.annotations.Properties;
+import cz.cvut.kbss.jopa.model.annotations.Types;
+import cz.cvut.kbss.jopa.vocabulary.DC;
+import cz.cvut.kbss.jopa.vocabulary.RDFS;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+
+
+/**
+ * Timemap of a Logistics Object containing mementos and timegate URI
+ *
+ * This class was generated by OWL2Java 0.16.4
+ *
+ */
+@OWLClass(iri = Vocabulary.s_c_Timemap)
+@Document(collection = "timemaps")
+@ApiModel
+public class Timemap
+ implements Serializable
+{
+
+ @Id(generated = true)
+ @ApiModelProperty(readOnly = true)
+ protected String id;
+ @JsonIgnore
+ @OWLAnnotationProperty(iri = RDFS.LABEL)
+ protected String name;
+ @JsonIgnore
+ @OWLAnnotationProperty(iri = cz.cvut.kbss.jopa.vocabulary.DC.Elements.DESCRIPTION)
+ protected String description;
+ @Types
+ @JsonProperty("@type")
+ @ApiModelProperty(allowableValues = Vocabulary.s_c_Timemap)
+ protected Set types;
+ @Properties
+ @JsonIgnore
+ protected Map> properties;
+ @JsonProperty("language")
+ @OWLAnnotationProperty(iri = DC.Terms.LANGUAGE)
+ protected String language;
+
+ /**
+ * List of mementos of a Logistics Object
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_mementos)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1),
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, min = 1, max = -1)
+ })
+ @JsonProperty(Vocabulary.s_p_mementos)
+ protected Mementos mementos;
+ /**
+ * Link to the initial version of the Logistics Object
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_original_A)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1),
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", min = 1, max = -1)
+ })
+ @JsonProperty(Vocabulary.s_p_original_A)
+ protected String original;
+ /**
+ * Link to the time gate of the Logistics Object, if applicable
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_timegate)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_timegate)
+ protected String timegate;
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public String getId() {
+ return id;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ public String getDescription() {
+ return description;
+ }
+
+ public void setTypes(Set types) {
+ this.types = types;
+ }
+
+ public Set getTypes() {
+ return types;
+ }
+
+ public void setProperties(Map> properties) {
+ this.properties = properties;
+ }
+
+ public Map> getProperties() {
+ return properties;
+ }
+
+ @Override
+ public String toString() {
+ return ((((("Timemap {"+ name)+"<")+ id)+">")+"}");
+ }
+
+ public void setMementos(Mementos mementos) {
+ this.mementos = mementos;
+ }
+
+ public Mementos getMementos() {
+ return mementos;
+ }
+
+ public void setOriginal(String original) {
+ this.original = original;
+ }
+
+ public String getOriginal() {
+ return original;
+ }
+
+ public void setTimegate(String timegate) {
+ this.timegate = timegate;
+ }
+
+ public String getTimegate() {
+ return timegate;
+ }
+
+ public String getLanguage() {
+ return language;
+ }
+
+ public void setLanguage(String language) {
+ this.language = language;
+ }
+}
diff --git a/src/main/java/org/iata/cargo/Vocabulary.java b/src/main/java/org/iata/cargo/Vocabulary.java
new file mode 100755
index 0000000..580363c
--- /dev/null
+++ b/src/main/java/org/iata/cargo/Vocabulary.java
@@ -0,0 +1,3398 @@
+
+package org.iata.cargo;
+
+import org.semanticweb.owlapi.model.IRI;
+
+
+/**
+ * This class was generated by OWL2Java 0.16.4
+ *
+ */
+public class Vocabulary {
+
+ public final static String ONTOLOGY_IRI_ = "https://onerecord.iata.org/";
+ public final static String ONTOLOGY_IRI_cargo_generated = "https://onerecord.iata.org/cargo-generated";
+ public final static String s_c_Thing = "http://www.w3.org/2002/07/owl#Thing";
+ public final static IRI c_Thing = IRI.create(s_c_Thing);
+ /**
+ * Address details
+ *
+ */
+ public final static String s_c_Address = "https://onerecord.iata.org/Address";
+ public final static IRI c_Address = IRI.create(s_c_Address);
+ /**
+ * Booking details - Deprecated, BookingOption should be used instead
+ *
+ */
+ public final static String s_c_Booking = "https://onerecord.iata.org/Booking";
+ public final static IRI c_Booking = IRI.create(s_c_Booking);
+ /**
+ * Booking details
+ *
+ */
+ public final static String s_c_BookingOption = "https://onerecord.iata.org/BookingOption";
+ public final static IRI c_BookingOption = IRI.create(s_c_BookingOption);
+ /**
+ * Request object, refers to the Quote request or Booking request
+ *
+ */
+ public final static String s_c_BookingOptionRequest = "https://onerecord.iata.org/BookingOptionRequest";
+ public final static IRI c_BookingOptionRequest = IRI.create(s_c_BookingOptionRequest);
+ /**
+ * Booking Segment refers to the arrival and location details of a Booking Option Request or a Booking Option (offer or actual booking)
+ *
+ */
+ public final static String s_c_BookingSegment = "https://onerecord.iata.org/BookingSegment";
+ public final static IRI c_BookingSegment = IRI.create(s_c_BookingSegment);
+ /**
+ * Previsouly called Schedule. This object refers to times used for the Booking Option Request (preferences part of the request) or the Booking Option (times sur as LAT where there is a commitment from the carrier)
+ *
+ */
+ public final static String s_c_BookingTimes = "https://onerecord.iata.org/BookingTimes";
+ public final static IRI c_BookingTimes = IRI.create(s_c_BookingTimes);
+ /**
+ * Company branches
+ *
+ */
+ public final static String s_c_Branch = "https://onerecord.iata.org/Branch";
+ public final static IRI c_Branch = IRI.create(s_c_Branch);
+ /**
+ * CO2 calculation methods
+ *
+ */
+ public final static String s_c_CO2CalcMethod = "https://onerecord.iata.org/CO2CalcMethod";
+ public final static IRI c_CO2CalcMethod = IRI.create(s_c_CO2CalcMethod);
+ /**
+ * CO2 Calculation
+ *
+ */
+ public final static String s_c_CO2Emissions = "https://onerecord.iata.org/CO2Emissions";
+ public final static IRI c_CO2Emissions = IRI.create(s_c_CO2Emissions);
+ /**
+ * Company details of carriers
+ *
+ */
+ public final static String s_c_Carrier = "https://onerecord.iata.org/Carrier";
+ public final static IRI c_Carrier = IRI.create(s_c_Carrier);
+ /**
+ * Carrier product details
+ *
+ */
+ public final static String s_c_CarrierProduct = "https://onerecord.iata.org/CarrierProduct";
+ public final static IRI c_CarrierProduct = IRI.create(s_c_CarrierProduct);
+ /**
+ * Product additional details
+ *
+ */
+ public final static String s_c_Characteristics = "https://onerecord.iata.org/Characteristics";
+ public final static IRI c_Characteristics = IRI.create(s_c_Characteristics);
+ /**
+ * Company details
+ *
+ */
+ public final static String s_c_Company = "https://onerecord.iata.org/Company";
+ public final static IRI c_Company = IRI.create(s_c_Company);
+ /**
+ * Company branches
+ *
+ */
+ public final static String s_c_CompanyBranch = "https://onerecord.iata.org/CompanyBranch";
+ public final static IRI c_CompanyBranch = IRI.create(s_c_CompanyBranch);
+ /**
+ * Contact details
+ *
+ */
+ public final static String s_c_Contact = "https://onerecord.iata.org/Contact";
+ public final static IRI c_Contact = IRI.create(s_c_Contact);
+ /**
+ * Other contact options e.g. Skype, Whatsapp, Viber, Fax etc
+ *
+ */
+ public final static String s_c_ContactOther = "https://onerecord.iata.org/ContactOther";
+ public final static IRI c_ContactOther = IRI.create(s_c_ContactOther);
+ /**
+ * Country details
+ *
+ */
+ public final static String s_c_Country = "https://onerecord.iata.org/Country";
+ public final static IRI c_Country = IRI.create(s_c_Country);
+ /**
+ * Customs information details
+ *
+ */
+ public final static String s_c_CustomsInfo = "https://onerecord.iata.org/CustomsInfo";
+ public final static IRI c_CustomsInfo = IRI.create(s_c_CustomsInfo);
+ /**
+ * Dangerous goods declaration
+ *
+ */
+ public final static String s_c_DgDeclaration = "https://onerecord.iata.org/DgDeclaration";
+ public final static IRI c_DgDeclaration = IRI.create(s_c_DgDeclaration);
+ /**
+ * Details of the radioactive products
+ *
+ */
+ public final static String s_c_DgProductRadioactive = "https://onerecord.iata.org/DgProductRadioactive";
+ public final static IRI c_DgProductRadioactive = IRI.create(s_c_DgProductRadioactive);
+ /**
+ * Details of the radioactive isotope contained in the product
+ *
+ */
+ public final static String s_c_DgRadioactiveIsotope = "https://onerecord.iata.org/DgRadioactiveIsotope";
+ public final static IRI c_DgRadioactiveIsotope = IRI.create(s_c_DgRadioactiveIsotope);
+ /**
+ * Dimension details
+ *
+ */
+ public final static String s_c_Dimensions = "https://onerecord.iata.org/Dimensions";
+ public final static IRI c_Dimensions = IRI.create(s_c_Dimensions);
+ /**
+ * Details of the pieces (Live animals) of the permit and specific information such as quantity measured and used to date quota
+ *
+ */
+ public final static String s_c_EpermitConsignment = "https://onerecord.iata.org/EpermitConsignment";
+ public final static IRI c_EpermitConsignment = IRI.create(s_c_EpermitConsignment);
+ /**
+ * Signature details of the Epermit for Live Animals
+ *
+ */
+ public final static String s_c_EpermitSignature = "https://onerecord.iata.org/EpermitSignature";
+ public final static IRI c_EpermitSignature = IRI.create(s_c_EpermitSignature);
+ /**
+ * Event details
+ *
+ */
+ public final static String s_c_Event = "https://onerecord.iata.org/Event";
+ public final static IRI c_Event = IRI.create(s_c_Event);
+ /**
+ * Subtype of Event
+ *
+ */
+ public final static String s_c_EventUld = "https://onerecord.iata.org/EventUld";
+ public final static IRI c_EventUld = IRI.create(s_c_EventUld);
+ /**
+ * Reference documents details
+ *
+ */
+ public final static String s_c_ExternalReference = "https://onerecord.iata.org/ExternalReference";
+ public final static IRI c_ExternalReference = IRI.create(s_c_ExternalReference);
+ /**
+ * Geolocation details - e.g. for drones, automated vehicles...
+ *
+ */
+ public final static String s_c_Geolocation = "https://onerecord.iata.org/Geolocation";
+ public final static IRI c_Geolocation = IRI.create(s_c_Geolocation);
+ /**
+ * Insurance details
+ *
+ */
+ public final static String s_c_Insurance = "https://onerecord.iata.org/Insurance";
+ public final static IRI c_Insurance = IRI.create(s_c_Insurance);
+ /**
+ * IoT Device details
+ *
+ */
+ public final static String s_c_IotDevice = "https://onerecord.iata.org/IotDevice";
+ public final static IRI c_IotDevice = IRI.create(s_c_IotDevice);
+ /**
+ * Item details
+ *
+ */
+ public final static String s_c_Item = "https://onerecord.iata.org/Item";
+ public final static IRI c_Item = IRI.create(s_c_Item);
+ /**
+ * Dangerous Goods subtype of Item
+ *
+ */
+ public final static String s_c_ItemDg = "https://onerecord.iata.org/ItemDg";
+ public final static IRI c_ItemDg = IRI.create(s_c_ItemDg);
+ /**
+ * Epermit for Live Animals details
+ *
+ */
+ public final static String s_c_LiveAnimalsEpermit = "https://onerecord.iata.org/LiveAnimalsEpermit";
+ public final static IRI c_LiveAnimalsEpermit = IRI.create(s_c_LiveAnimalsEpermit);
+ /**
+ * Loading location details
+ *
+ */
+ public final static String s_c_Location = "https://onerecord.iata.org/Location";
+ public final static IRI c_Location = IRI.create(s_c_Location);
+ /**
+ * Logistics Object prent class, containing all common properties for logistics objects.
+ *
+ */
+ public final static String s_c_LogisticsObject = "https://onerecord.iata.org/LogisticsObject";
+ public final static IRI c_LogisticsObject = IRI.create(s_c_LogisticsObject);
+ /**
+ * Measurements details for Sensors, either generic or geolocation measurements are recorded
+ *
+ */
+ public final static String s_c_Measurements = "https://onerecord.iata.org/Measurements";
+ public final static IRI c_Measurements = IRI.create(s_c_Measurements);
+ /**
+ * Measurements details for Geolocation sensors
+ *
+ */
+ public final static String s_c_MeasurementsGeoloc = "https://onerecord.iata.org/MeasurementsGeoloc";
+ public final static IRI c_MeasurementsGeoloc = IRI.create(s_c_MeasurementsGeoloc);
+ /**
+ * Measurements details for sensors that are not geolocation sensors
+ *
+ */
+ public final static String s_c_MeasurementsOther = "https://onerecord.iata.org/MeasurementsOther";
+ public final static IRI c_MeasurementsOther = IRI.create(s_c_MeasurementsOther);
+ /**
+ * Times refering to Transport Movements, used to describe specfic times such as Actual Departure time, etc.
+ *
+ */
+ public final static String s_c_MovementTimes = "https://onerecord.iata.org/MovementTimes";
+ public final static IRI c_MovementTimes = IRI.create(s_c_MovementTimes);
+ /**
+ * Other identifiers
+ *
+ */
+ public final static String s_c_OtherIdentifier = "https://onerecord.iata.org/OtherIdentifier";
+ public final static IRI c_OtherIdentifier = IRI.create(s_c_OtherIdentifier);
+ /**
+ * Company details
+ *
+ */
+ public final static String s_c_OtherParty = "https://onerecord.iata.org/OtherParty";
+ public final static IRI c_OtherParty = IRI.create(s_c_OtherParty);
+ /**
+ * Packaging details
+ *
+ */
+ public final static String s_c_PackagingType = "https://onerecord.iata.org/PackagingType";
+ public final static IRI c_PackagingType = IRI.create(s_c_PackagingType);
+ /**
+ * Refers to a Company and its role in a specific context, e.g Company A as shipper. Cargo-XML Code List 1.15 can be used as a reference with the addition of "Notify Party"
+ *
+ */
+ public final static String s_c_Party = "https://onerecord.iata.org/Party";
+ public final static IRI c_Party = IRI.create(s_c_Party);
+ /**
+ * Person details
+ *
+ */
+ public final static String s_c_Person = "https://onerecord.iata.org/Person";
+ public final static IRI c_Person = IRI.create(s_c_Person);
+ /**
+ * Individual piece or virtual grouping of pieces
+ *
+ */
+ public final static String s_c_Piece = "https://onerecord.iata.org/Piece";
+ public final static IRI c_Piece = IRI.create(s_c_Piece);
+ /**
+ * Dangerous Goods subtype of Piece
+ *
+ */
+ public final static String s_c_PieceDg = "https://onerecord.iata.org/PieceDg";
+ public final static IRI c_PieceDg = IRI.create(s_c_PieceDg);
+ /**
+ * LiveAnimals subclass of Piece
+ *
+ */
+ public final static String s_c_PieceLiveAnimals = "https://onerecord.iata.org/PieceLiveAnimals";
+ public final static IRI c_PieceLiveAnimals = IRI.create(s_c_PieceLiveAnimals);
+ /**
+ * Price associated to the offer/booking
+ *
+ */
+ public final static String s_c_Price = "https://onerecord.iata.org/Price";
+ public final static IRI c_Price = IRI.create(s_c_Price);
+ /**
+ * Product details
+ *
+ */
+ public final static String s_c_Product = "https://onerecord.iata.org/Product";
+ public final static IRI c_Product = IRI.create(s_c_Product);
+ /**
+ * Dangerous Goods subtype of Product
+ *
+ */
+ public final static String s_c_ProductDg = "https://onerecord.iata.org/ProductDg";
+ public final static IRI c_ProductDg = IRI.create(s_c_ProductDg);
+ /**
+ * Ranges details
+ *
+ */
+ public final static String s_c_Ranges = "https://onerecord.iata.org/Ranges";
+ public final static IRI c_Ranges = IRI.create(s_c_Ranges);
+ /**
+ * Ratings details
+ *
+ */
+ public final static String s_c_Ratings = "https://onerecord.iata.org/Ratings";
+ public final static IRI c_Ratings = IRI.create(s_c_Ratings);
+ /**
+ * Regulated Entity
+ *
+ */
+ public final static String s_c_RegulatedEntity = "https://onerecord.iata.org/RegulatedEntity";
+ public final static IRI c_RegulatedEntity = IRI.create(s_c_RegulatedEntity);
+ /**
+ * Request object, refers to the Quote request or Booking request
+ *
+ */
+ public final static String s_c_Request = "https://onerecord.iata.org/Request";
+ public final static IRI c_Request = IRI.create(s_c_Request);
+ /**
+ * Routing details
+ *
+ */
+ public final static String s_c_Routing = "https://onerecord.iata.org/Routing";
+ public final static IRI c_Routing = IRI.create(s_c_Routing);
+ /**
+ * Scheduling details
+ *
+ */
+ public final static String s_c_Schedule = "https://onerecord.iata.org/Schedule";
+ public final static IRI c_Schedule = IRI.create(s_c_Schedule);
+ /**
+ * Security declaration details
+ *
+ */
+ public final static String s_c_SecurityDeclaration = "https://onerecord.iata.org/SecurityDeclaration";
+ public final static IRI c_SecurityDeclaration = IRI.create(s_c_SecurityDeclaration);
+ /**
+ * Sensor details and measurements, linked to Connected Devices
+ *
+ */
+ public final static String s_c_Sensor = "https://onerecord.iata.org/Sensor";
+ public final static IRI c_Sensor = IRI.create(s_c_Sensor);
+ /**
+ * Sensor measurements details for Geolocation sensors (sensorType = "Geolocation")
+ *
+ */
+ public final static String s_c_SensorGeoloc = "https://onerecord.iata.org/SensorGeoloc";
+ public final static IRI c_SensorGeoloc = IRI.create(s_c_SensorGeoloc);
+ /**
+ * Sensor measurements details for sensors other than Geolocation sensors (sensorType != "Geolocation")
+ *
+ */
+ public final static String s_c_SensorOther = "https://onerecord.iata.org/SensorOther";
+ public final static IRI c_SensorOther = IRI.create(s_c_SensorOther);
+ /**
+ * Service request details
+ *
+ */
+ public final static String s_c_ServiceRequest = "https://onerecord.iata.org/ServiceRequest";
+ public final static IRI c_ServiceRequest = IRI.create(s_c_ServiceRequest);
+ /**
+ * Shipment details
+ *
+ */
+ public final static String s_c_Shipment = "https://onerecord.iata.org/Shipment";
+ public final static IRI c_Shipment = IRI.create(s_c_Shipment);
+ /**
+ * Special handling details
+ *
+ */
+ public final static String s_c_SpecialHandling = "https://onerecord.iata.org/SpecialHandling";
+ public final static IRI c_SpecialHandling = IRI.create(s_c_SpecialHandling);
+ /**
+ * Transport means details
+ *
+ */
+ public final static String s_c_TransportMeans = "https://onerecord.iata.org/TransportMeans";
+ public final static IRI c_TransportMeans = IRI.create(s_c_TransportMeans);
+ /**
+ * Transport movement details, replaces the TransportSegment in v1.1 and above
+ *
+ */
+ public final static String s_c_TransportMovement = "https://onerecord.iata.org/TransportMovement";
+ public final static IRI c_TransportMovement = IRI.create(s_c_TransportMovement);
+ /**
+ * Transport segment details
+ *
+ */
+ public final static String s_c_TransportSegment = "https://onerecord.iata.org/TransportSegment";
+ public final static IRI c_TransportSegment = IRI.create(s_c_TransportSegment);
+ /**
+ * Unit Load Device details
+ *
+ */
+ public final static String s_c_ULD = "https://onerecord.iata.org/ULD";
+ public final static IRI c_ULD = IRI.create(s_c_ULD);
+ /**
+ * Volumetric weight details
+ *
+ */
+ public final static String s_c_Value = "https://onerecord.iata.org/Value";
+ public final static IRI c_Value = IRI.create(s_c_Value);
+ /**
+ * Unit of measurement details
+ *
+ */
+ public final static String s_c_VolumetricWeight = "https://onerecord.iata.org/VolumetricWeight";
+ public final static IRI c_VolumetricWeight = IRI.create(s_c_VolumetricWeight);
+ /**
+ * Waybill details
+ *
+ */
+ public final static String s_c_Waybill = "https://onerecord.iata.org/Waybill";
+ public final static IRI c_Waybill = IRI.create(s_c_Waybill);
+ public final static String s_p_topObjectProperty = "http://www.w3.org/2002/07/owl#topObjectProperty";
+ public final static IRI p_topObjectProperty = IRI.create(s_p_topObjectProperty);
+ /**
+ * Country details
+ *
+ */
+ public final static String s_p_country = "https://onerecord.iata.org/Address#country";
+ public final static IRI p_country = IRI.create(s_p_country);
+ /**
+ * Carrier details
+ *
+ */
+ public final static String s_p_carrier = "https://onerecord.iata.org/Booking#carrier";
+ public final static IRI p_carrier = IRI.create(s_p_carrier);
+ /**
+ * Reference to the Carrier products included in the offer
+ *
+ */
+ public final static String s_p_carrierProductInfo = "https://onerecord.iata.org/Booking#carrierProductInfo";
+ public final static IRI p_carrierProductInfo = IRI.create(s_p_carrierProductInfo);
+ /**
+ * Consignee details
+ *
+ */
+ public final static String s_p_consignee = "https://onerecord.iata.org/Booking#consignee";
+ public final static IRI p_consignee = IRI.create(s_p_consignee);
+ /**
+ * Freight Forwarder details
+ *
+ */
+ public final static String s_p_freightForwarder = "https://onerecord.iata.org/Booking#freightForwarder";
+ public final static IRI p_freightForwarder = IRI.create(s_p_freightForwarder);
+ /**
+ * Other parties to be notified of the booking evolution
+ *
+ */
+ public final static String s_p_notifyParty = "https://onerecord.iata.org/Booking#notifyParty";
+ public final static IRI p_notifyParty = IRI.create(s_p_notifyParty);
+ /**
+ * Price of the Booking (if different from the offer)
+ *
+ */
+ public final static String s_p_price = "https://onerecord.iata.org/Booking#price";
+ public final static IRI p_price = IRI.create(s_p_price);
+ /**
+ * Reference to the Request
+ *
+ */
+ public final static String s_p_requestRef = "https://onerecord.iata.org/Booking#requestRef";
+ public final static IRI p_requestRef = IRI.create(s_p_requestRef);
+ /**
+ * Routing details of the offer, to be compared with routing preferences of the quote request
+ *
+ */
+ public final static String s_p_routing = "https://onerecord.iata.org/Booking#routing";
+ public final static IRI p_routing = IRI.create(s_p_routing);
+ /**
+ * Details of the shipement that is to be shipped
+ *
+ */
+ public final static String s_p_shipmentDetails = "https://onerecord.iata.org/Booking#shipmentDetails";
+ public final static IRI p_shipmentDetails = IRI.create(s_p_shipmentDetails);
+ /**
+ * Shipper information
+ *
+ */
+ public final static String s_p_shipper = "https://onerecord.iata.org/Booking#shipper";
+ public final static IRI p_shipper = IRI.create(s_p_shipper);
+ /**
+ * Transport segment linked to the offer, including the Departure and Arrival locations
+ *
+ */
+ public final static String s_p_transportMovement = "https://onerecord.iata.org/Booking#transportMovement";
+ public final static IRI p_transportMovement = IRI.create(s_p_transportMovement);
+ /**
+ * House or Master Waybill unique identifier
+ *
+ */
+ public final static String s_p_waybillNumber = "https://onerecord.iata.org/Booking#waybillNumber";
+ public final static IRI p_waybillNumber = IRI.create(s_p_waybillNumber);
+ /**
+ * Booking Segment of the Booking Option
+ *
+ */
+ public final static String s_p_bookingSegment = "https://onerecord.iata.org/BookingOption#bookingSegment";
+ public final static IRI p_bookingSegment = IRI.create(s_p_bookingSegment);
+ /**
+ * booking times details of the Booking Option (proposed or actual)
+ *
+ */
+ public final static String s_p_bookingTimes = "https://onerecord.iata.org/BookingOption#bookingTimes";
+ public final static IRI p_bookingTimes = IRI.create(s_p_bookingTimes);
+ /**
+ * Carrier details
+ *
+ */
+ public final static String s_p_carrier_A = "https://onerecord.iata.org/BookingOption#carrier";
+ public final static IRI p_carrier_A = IRI.create(s_p_carrier_A);
+ /**
+ * Reference to the Carrier products included in the offer
+ *
+ */
+ public final static String s_p_carrierProductInfo_A = "https://onerecord.iata.org/BookingOption#carrierProductInfo";
+ public final static IRI p_carrierProductInfo_A = IRI.create(s_p_carrierProductInfo_A);
+ /**
+ * Consignee details
+ *
+ */
+ public final static String s_p_consignee_A = "https://onerecord.iata.org/BookingOption#consignee";
+ public final static IRI p_consignee_A = IRI.create(s_p_consignee_A);
+ /**
+ * Freight forwarder details
+ *
+ */
+ public final static String s_p_freightForwarder_A = "https://onerecord.iata.org/BookingOption#freightForwarder";
+ public final static IRI p_freightForwarder_A = IRI.create(s_p_freightForwarder_A);
+ /**
+ * Other parties to be notified of the booking evolution
+ *
+ */
+ public final static String s_p_notifyParty_A = "https://onerecord.iata.org/BookingOption#notifyParty";
+ public final static IRI p_notifyParty_A = IRI.create(s_p_notifyParty_A);
+ /**
+ * Parties involved in the Booking Option (e.g. shipper, forwarder, ...)
+ *
+ */
+ public final static String s_p_parties = "https://onerecord.iata.org/BookingOption#parties";
+ public final static IRI p_parties = IRI.create(s_p_parties);
+ /**
+ * Price of the Booking (if different from the offer)
+ *
+ */
+ public final static String s_p_price_A = "https://onerecord.iata.org/BookingOption#price";
+ public final static IRI p_price_A = IRI.create(s_p_price_A);
+ /**
+ * Reference to the Booking option request
+ *
+ */
+ public final static String s_p_requestRef_A = "https://onerecord.iata.org/BookingOption#requestRef";
+ public final static IRI p_requestRef_A = IRI.create(s_p_requestRef_A);
+ /**
+ * Routing details of the offer, to be compared with routing preferences of the quote request
+ *
+ */
+ public final static String s_p_routing_A = "https://onerecord.iata.org/BookingOption#routing";
+ public final static IRI p_routing_A = IRI.create(s_p_routing_A);
+ /**
+ * Schedule details of the Booking Option (proposed or actual)
+ *
+ */
+ public final static String s_p_schedule = "https://onerecord.iata.org/BookingOption#schedule";
+ public final static IRI p_schedule = IRI.create(s_p_schedule);
+ /**
+ * Details of the shipement that is to be shipped
+ *
+ */
+ public final static String s_p_shipmentDetails_A = "https://onerecord.iata.org/BookingOption#shipmentDetails";
+ public final static IRI p_shipmentDetails_A = IRI.create(s_p_shipmentDetails_A);
+ /**
+ * Shipper details
+ *
+ */
+ public final static String s_p_shipper_A = "https://onerecord.iata.org/BookingOption#shipper";
+ public final static IRI p_shipper_A = IRI.create(s_p_shipper_A);
+ /**
+ * Transport segment linked to the offer, including the Departure and Arrival locations
+ *
+ */
+ public final static String s_p_transportMovement_A = "https://onerecord.iata.org/BookingOption#transportMovement";
+ public final static IRI p_transportMovement_A = IRI.create(s_p_transportMovement_A);
+ /**
+ * House or Master Waybill unique identifier
+ *
+ */
+ public final static String s_p_waybillNumber_A = "https://onerecord.iata.org/BookingOption#waybillNumber";
+ public final static IRI p_waybillNumber_A = IRI.create(s_p_waybillNumber_A);
+ /**
+ * The Booking Segment linked to the Booking Optio Request
+ *
+ */
+ public final static String s_p_bookingSegment_A = "https://onerecord.iata.org/BookingOptionRequest#bookingSegment";
+ public final static IRI p_bookingSegment_A = IRI.create(s_p_bookingSegment_A);
+ /**
+ * Parties involved if known
+ *
+ */
+ public final static String s_p_parties_A = "https://onerecord.iata.org/BookingOptionRequest#parties";
+ public final static IRI p_parties_A = IRI.create(s_p_parties_A);
+ /**
+ * Ratings preferences of the request
+ *
+ */
+ public final static String s_p_ratingsPreference = "https://onerecord.iata.org/BookingOptionRequest#ratingsPreference";
+ public final static IRI p_ratingsPreference = IRI.create(s_p_ratingsPreference);
+ /**
+ * Routing details that are part of the request, these details will be used to determine if the offer is a perfect match
+ *
+ */
+ public final static String s_p_routingPreferences = "https://onerecord.iata.org/BookingOptionRequest#routingPreferences";
+ public final static IRI p_routingPreferences = IRI.create(s_p_routingPreferences);
+ /**
+ * Schedule preferences of the request
+ *
+ */
+ public final static String s_p_schedulePreferences = "https://onerecord.iata.org/BookingOptionRequest#schedulePreferences";
+ public final static IRI p_schedulePreferences = IRI.create(s_p_schedulePreferences);
+ /**
+ * Details of the shipement that is to be shipped
+ *
+ */
+ public final static String s_p_shipmentDetails_A_A = "https://onerecord.iata.org/BookingOptionRequest#shipmentDetails";
+ public final static IRI p_shipmentDetails_A_A = IRI.create(s_p_shipmentDetails_A_A);
+ /**
+ * Schedule preferences of the request
+ *
+ */
+ public final static String s_p_timePreferences = "https://onerecord.iata.org/BookingOptionRequest#timePreferences";
+ public final static IRI p_timePreferences = IRI.create(s_p_timePreferences);
+ /**
+ * Transport segment linked to the request, including the Departure and Arrival locations requested
+ *
+ */
+ public final static String s_p_transportMovement_A_A = "https://onerecord.iata.org/BookingOptionRequest#transportMovement";
+ public final static IRI p_transportMovement_A_A = IRI.create(s_p_transportMovement_A_A);
+ /**
+ * Unit preferences of the request (e.g. kg or cm)
+ *
+ */
+ public final static String s_p_unitsPreference = "https://onerecord.iata.org/BookingOptionRequest#unitsPreference";
+ public final static IRI p_unitsPreference = IRI.create(s_p_unitsPreference);
+ /**
+ * The arrival location of the Booking Segment
+ *
+ */
+ public final static String s_p_arrivalLocation = "https://onerecord.iata.org/BookingSegment#arrivalLocation";
+ public final static IRI p_arrivalLocation = IRI.create(s_p_arrivalLocation);
+ /**
+ * The Booking Option linked to the Booking Segment
+ *
+ */
+ public final static String s_p_bookingOptions = "https://onerecord.iata.org/BookingSegment#bookingOptions";
+ public final static IRI p_bookingOptions = IRI.create(s_p_bookingOptions);
+ /**
+ * The departure location of the Booking Segment
+ *
+ */
+ public final static String s_p_departureLocation = "https://onerecord.iata.org/BookingSegment#departureLocation";
+ public final static IRI p_departureLocation = IRI.create(s_p_departureLocation);
+ /**
+ * The BookingOptionRequest linked to the Booking Segment
+ *
+ */
+ public final static String s_p_requests = "https://onerecord.iata.org/BookingSegment#requests";
+ public final static IRI p_requests = IRI.create(s_p_requests);
+ /**
+ * Reference to the BookingOption where the booking times are used
+ *
+ */
+ public final static String s_p_bookingOption = "https://onerecord.iata.org/BookingTimes#bookingOption";
+ public final static IRI p_bookingOption = IRI.create(s_p_bookingOption);
+ /**
+ * Reference to the BookingOptionRequest where the booking times are used
+ *
+ */
+ public final static String s_p_bookingOptionRequest = "https://onerecord.iata.org/BookingTimes#bookingOptionRequest";
+ public final static IRI p_bookingOptionRequest = IRI.create(s_p_bookingOptionRequest);
+ /**
+ * Refers to the mother company of the branch
+ *
+ */
+ public final static String s_p_company = "https://onerecord.iata.org/Branch#company";
+ public final static IRI p_company = IRI.create(s_p_company);
+ /**
+ * Contact person details
+ *
+ */
+ public final static String s_p_contactPerson = "https://onerecord.iata.org/Branch#contactPerson";
+ public final static IRI p_contactPerson = IRI.create(s_p_contactPerson);
+ /**
+ * Location and address details
+ *
+ */
+ public final static String s_p_location = "https://onerecord.iata.org/Branch#location";
+ public final static IRI p_location = IRI.create(s_p_location);
+ /**
+ * Other identifiers (e.g. LEI (Legal Entity Identifier), TIN (Trader Identification Number), PIMA address, Account number, VAT/Tax id, Legal Registration id, DUNS number, etc)
+ *
+ */
+ public final static String s_p_otherIdentifier = "https://onerecord.iata.org/Branch#otherIdentifier";
+ public final static IRI p_otherIdentifier = IRI.create(s_p_otherIdentifier);
+ /**
+ * CO2 emissions calculated
+ *
+ */
+ public final static String s_p_calculatedEmissions = "https://onerecord.iata.org/CO2Emissions#calculatedEmissions";
+ public final static IRI p_calculatedEmissions = IRI.create(s_p_calculatedEmissions);
+ /**
+ * Transport Movement linked to the CO2 Emissions object
+ *
+ */
+ public final static String s_p_transportMovement_A_A_A = "https://onerecord.iata.org/CO2Emissions#transportMovement";
+ public final static IRI p_transportMovement_A_A_A = IRI.create(s_p_transportMovement_A_A_A);
+ /**
+ * Reference to the BookingOption where the carrier product is used
+ *
+ */
+ public final static String s_p_bookingOption_A = "https://onerecord.iata.org/CarrierProduct#bookingOption";
+ public final static IRI p_bookingOption_A = IRI.create(s_p_bookingOption_A);
+ /**
+ * Reference to the product
+ *
+ */
+ public final static String s_p_product = "https://onerecord.iata.org/Characteristics#product";
+ public final static IRI p_product = IRI.create(s_p_product);
+ /**
+ * Company branches
+ *
+ */
+ public final static String s_p_branch = "https://onerecord.iata.org/Company#branch";
+ public final static IRI p_branch = IRI.create(s_p_branch);
+ /**
+ * Refers to the mother company of the branch
+ *
+ */
+ public final static String s_p_company_A = "https://onerecord.iata.org/CompanyBranch#company";
+ public final static IRI p_company_A = IRI.create(s_p_company_A);
+ /**
+ * Contact person details
+ *
+ */
+ public final static String s_p_contactPersons = "https://onerecord.iata.org/CompanyBranch#contactPersons";
+ public final static IRI p_contactPersons = IRI.create(s_p_contactPersons);
+ /**
+ * Location and address details
+ *
+ */
+ public final static String s_p_location_A = "https://onerecord.iata.org/CompanyBranch#location";
+ public final static IRI p_location_A = IRI.create(s_p_location_A);
+ /**
+ * Other identifiers (e.g. LEI (Legal Entity Identifier), TIN (Trader Identification Number), PIMA address, Account number, VAT/Tax id, Legal Registration id, DUNS number, etc)
+ *
+ */
+ public final static String s_p_otherIdentifiers = "https://onerecord.iata.org/CompanyBranch#otherIdentifiers";
+ public final static IRI p_otherIdentifiers = IRI.create(s_p_otherIdentifiers);
+ /**
+ * Other contact options e.g. Skype, Whatsapp, Viber, Fax etc
+ *
+ */
+ public final static String s_p_other = "https://onerecord.iata.org/Contact#other";
+ public final static IRI p_other = IRI.create(s_p_other);
+ /**
+ * Piece on which the Customs Info is applicable
+ *
+ */
+ public final static String s_p_piece = "https://onerecord.iata.org/CustomsInfo#piece";
+ public final static IRI p_piece = IRI.create(s_p_piece);
+ /**
+ * DgRadioactiveIsotope.
+ *
+ */
+ public final static String s_p_isotopes = "https://onerecord.iata.org/DgProductRadioactive#isotopes";
+ public final static IRI p_isotopes = IRI.create(s_p_isotopes);
+ /**
+ * Height
+ *
+ */
+ public final static String s_p_height = "https://onerecord.iata.org/Dimensions#height";
+ public final static IRI p_height = IRI.create(s_p_height);
+ /**
+ * Length
+ *
+ */
+ public final static String s_p_length = "https://onerecord.iata.org/Dimensions#length";
+ public final static IRI p_length = IRI.create(s_p_length);
+ /**
+ * Volume
+ *
+ */
+ public final static String s_p_volume = "https://onerecord.iata.org/Dimensions#volume";
+ public final static IRI p_volume = IRI.create(s_p_volume);
+ /**
+ * Width
+ *
+ */
+ public final static String s_p_width = "https://onerecord.iata.org/Dimensions#width";
+ public final static IRI p_width = IRI.create(s_p_width);
+ /**
+ * Reference to te pieces (Live Animals) of the permit
+ *
+ */
+ public final static String s_p_consignmentItems = "https://onerecord.iata.org/EpermitConsignment#consignmentItems";
+ public final static IRI p_consignmentItems = IRI.create(s_p_consignmentItems);
+ /**
+ * Quatity measured by the examining authority (box 14)
+ *
+ */
+ public final static String s_p_examiningQuantity = "https://onerecord.iata.org/EpermitConsignment#examiningQuantity";
+ public final static IRI p_examiningQuantity = IRI.create(s_p_examiningQuantity);
+ /**
+ * Signatory company name
+ *
+ */
+ public final static String s_p_signatoryCompany = "https://onerecord.iata.org/EpermitSignature#signatoryCompany";
+ public final static IRI p_signatoryCompany = IRI.create(s_p_signatoryCompany);
+ /**
+ * Refers to the URI of the linked object(s)
+ *
+ */
+ public final static String s_p_linkedObject = "https://onerecord.iata.org/Event#linkedObject";
+ public final static IRI p_linkedObject = IRI.create(s_p_linkedObject);
+ /**
+ * Location of event
+ *
+ */
+ public final static String s_p_location_A_A = "https://onerecord.iata.org/Event#location";
+ public final static IRI p_location_A_A = IRI.create(s_p_location_A_A);
+ /**
+ * Party performing the event
+ *
+ */
+ public final static String s_p_performedBy = "https://onerecord.iata.org/Event#performedBy";
+ public final static IRI p_performedBy = IRI.create(s_p_performedBy);
+ public final static String s_p_performedByPerson = "https://onerecord.iata.org/Event#performedByPerson";
+ public final static IRI p_performedByPerson = IRI.create(s_p_performedByPerson);
+ /**
+ * Document originator details and contacts
+ *
+ */
+ public final static String s_p_documentOriginator = "https://onerecord.iata.org/ExternalReference#documentOriginator";
+ public final static IRI p_documentOriginator = IRI.create(s_p_documentOriginator);
+ /**
+ * Location of the document, e.g. location where the document was emitted
+ *
+ */
+ public final static String s_p_location_A_A_A = "https://onerecord.iata.org/ExternalReference#location";
+ public final static IRI p_location_A_A_A = IRI.create(s_p_location_A_A_A);
+ /**
+ * Elevation from sea level - Change of data type to Value as of ontology v1.1
+ *
+ */
+ public final static String s_p_elevation = "https://onerecord.iata.org/Geolocation#elevation";
+ public final static IRI p_elevation = IRI.create(s_p_elevation);
+ /**
+ * Party covering the insurance
+ *
+ */
+ public final static String s_p_coveringParty = "https://onerecord.iata.org/Insurance#coveringParty";
+ public final static IRI p_coveringParty = IRI.create(s_p_coveringParty);
+ /**
+ * Insured amount - amount covered by the insurance policy
+ *
+ */
+ public final static String s_p_insuranceAmount = "https://onerecord.iata.org/Insurance#insuranceAmount";
+ public final static IRI p_insuranceAmount = IRI.create(s_p_insuranceAmount);
+ /**
+ * Reference to the shipment insured
+ *
+ */
+ public final static String s_p_insuranceShipment = "https://onerecord.iata.org/Insurance#insuranceShipment";
+ public final static IRI p_insuranceShipment = IRI.create(s_p_insuranceShipment);
+ /**
+ * Manufacturer of the device
+ *
+ */
+ public final static String s_p_deviceManufacturer = "https://onerecord.iata.org/IotDevice#deviceManufacturer";
+ public final static IRI p_deviceManufacturer = IRI.create(s_p_deviceManufacturer);
+ /**
+ * Reference to the sensors linked to the device
+ *
+ */
+ public final static String s_p_sensors = "https://onerecord.iata.org/IotDevice#sensors";
+ public final static IRI p_sensors = IRI.create(s_p_sensors);
+ /**
+ * Dimensions of the item
+ *
+ */
+ public final static String s_p_dimensions = "https://onerecord.iata.org/Item#dimensions";
+ public final static IRI p_dimensions = IRI.create(s_p_dimensions);
+ /**
+ * URI of the PIECE that contains the Item
+ *
+ */
+ public final static String s_p_isInPiece = "https://onerecord.iata.org/Item#isInPiece";
+ public final static IRI p_isInPiece = IRI.create(s_p_isInPiece);
+ /**
+ * Other identifier details
+ *
+ */
+ public final static String s_p_otherIdentifiers_A = "https://onerecord.iata.org/Item#otherIdentifiers";
+ public final static IRI p_otherIdentifiers_A = IRI.create(s_p_otherIdentifiers_A);
+ /**
+ * URI of the product
+ *
+ */
+ public final static String s_p_product_A = "https://onerecord.iata.org/Item#product";
+ public final static IRI p_product_A = IRI.create(s_p_product_A);
+ /**
+ * Production country details
+ *
+ */
+ public final static String s_p_productionCountry = "https://onerecord.iata.org/Item#productionCountry";
+ public final static IRI p_productionCountry = IRI.create(s_p_productionCountry);
+ /**
+ * Quantity of the item when applicable, witth associated units of measure
+ *
+ */
+ public final static String s_p_quantity = "https://onerecord.iata.org/Item#quantity";
+ public final static IRI p_quantity = IRI.create(s_p_quantity);
+ /**
+ * Item target country
+ *
+ */
+ public final static String s_p_targetCountry = "https://onerecord.iata.org/Item#targetCountry";
+ public final static IRI p_targetCountry = IRI.create(s_p_targetCountry);
+ /**
+ * Product price per unit in the base
+ *
+ */
+ public final static String s_p_unitPrice = "https://onerecord.iata.org/Item#unitPrice";
+ public final static IRI p_unitPrice = IRI.create(s_p_unitPrice);
+ /**
+ * Weight of the item
+ *
+ */
+ public final static String s_p_weight = "https://onerecord.iata.org/Item#weight";
+ public final static IRI p_weight = IRI.create(s_p_weight);
+ /**
+ * Contains the Emergency contact name (e.g. the name of the agency) and phone number (min required)
+ *
+ */
+ public final static String s_p_emergencyContact = "https://onerecord.iata.org/ItemDg#emergencyContact";
+ public final static IRI p_emergencyContact = IRI.create(s_p_emergencyContact);
+ /**
+ * The total net weight of dangerous goods transported of this line item. For air transport the value must be the volume or mass in each package.
+ *
+ */
+ public final static String s_p_netWeightMeasure = "https://onerecord.iata.org/ItemDg#netWeightMeasure";
+ public final static IRI p_netWeightMeasure = IRI.create(s_p_netWeightMeasure);
+ /**
+ * Consignee company details, including complete name and address (box 3)
+ *
+ */
+ public final static String s_p_consignee_A_A = "https://onerecord.iata.org/LiveAnimalsEpermit#consignee";
+ public final static IRI p_consignee_A_A = IRI.create(s_p_consignee_A_A);
+ /**
+ * Reference to the pieces and properties linked to the Permit (box 7 to 12)
+ *
+ */
+ public final static String s_p_consignments = "https://onerecord.iata.org/LiveAnimalsEpermit#consignments";
+ public final static IRI p_consignments = IRI.create(s_p_consignments);
+ /**
+ * List of all the signatures of the Epermit (applicant box 4, issuing authority box 6, issuer box 13 and examining authority box 14)
+ *
+ */
+ public final static String s_p_signatures = "https://onerecord.iata.org/LiveAnimalsEpermit#signatures";
+ public final static IRI p_signatures = IRI.create(s_p_signatures);
+ /**
+ * Address details
+ *
+ */
+ public final static String s_p_address = "https://onerecord.iata.org/Location#address";
+ public final static IRI p_address = IRI.create(s_p_address);
+ /**
+ * Geolocation details
+ *
+ */
+ public final static String s_p_geolocation = "https://onerecord.iata.org/Location#geolocation";
+ public final static IRI p_geolocation = IRI.create(s_p_geolocation);
+ /**
+ * Events object
+ *
+ */
+ public final static String s_p_events = "https://onerecord.iata.org/LogisticsObject#events";
+ public final static IRI p_events = IRI.create(s_p_events);
+ /**
+ * Allows to link Logistic Objects with IoT Devices
+ *
+ */
+ public final static String s_p_iotDevices = "https://onerecord.iata.org/LogisticsObject#iotDevices";
+ public final static IRI p_iotDevices = IRI.create(s_p_iotDevices);
+ /**
+ * Geolocation measurements details
+ *
+ */
+ public final static String s_p_geolocationMeasurement = "https://onerecord.iata.org/MeasurementsGeoloc#geolocationMeasurement";
+ public final static IRI p_geolocationMeasurement = IRI.create(s_p_geolocationMeasurement);
+ /**
+ * Value for measurements other than Geolocation, includes value and unit of measure as described in the Interactive Cargo RP
+ *
+ */
+ public final static String s_p_genericMeasurement = "https://onerecord.iata.org/MeasurementsOther#genericMeasurement";
+ public final static IRI p_genericMeasurement = IRI.create(s_p_genericMeasurement);
+ /**
+ * Company details
+ *
+ */
+ public final static String s_p_companyDetails = "https://onerecord.iata.org/OtherParty#companyDetails";
+ public final static IRI p_companyDetails = IRI.create(s_p_companyDetails);
+ /**
+ * Piece on which the Packaging type is applicable
+ *
+ */
+ public final static String s_p_piece_A = "https://onerecord.iata.org/PackagingType#piece";
+ public final static IRI p_piece_A = IRI.create(s_p_piece_A);
+ /**
+ * Reference to the Company
+ *
+ */
+ public final static String s_p_partyDetails = "https://onerecord.iata.org/Party#partyDetails";
+ public final static IRI p_partyDetails = IRI.create(s_p_partyDetails);
+ /**
+ * Refers to the Branch the person is associated with
+ *
+ */
+ public final static String s_p_associatedBranch = "https://onerecord.iata.org/Person#associatedBranch";
+ public final static IRI p_associatedBranch = IRI.create(s_p_associatedBranch);
+ /**
+ * Contact details
+ *
+ */
+ public final static String s_p_contact = "https://onerecord.iata.org/Person#contact";
+ public final static IRI p_contact = IRI.create(s_p_contact);
+ /**
+ * Linked documents to the person, e.g. driver's license, ID, etc.
+ *
+ */
+ public final static String s_p_documents = "https://onerecord.iata.org/Person#documents";
+ public final static IRI p_documents = IRI.create(s_p_documents);
+ /**
+ * Reference to the item(s) contained in the piece
+ *
+ */
+ public final static String s_p_containedItems = "https://onerecord.iata.org/Piece#containedItems";
+ public final static IRI p_containedItems = IRI.create(s_p_containedItems);
+ /**
+ * Details of contained piece(s)
+ *
+ */
+ public final static String s_p_containedPieces = "https://onerecord.iata.org/Piece#containedPieces";
+ public final static IRI p_containedPieces = IRI.create(s_p_containedPieces);
+ /**
+ * Customs details
+ *
+ */
+ public final static String s_p_customsInfo = "https://onerecord.iata.org/Piece#customsInfo";
+ public final static IRI p_customsInfo = IRI.create(s_p_customsInfo);
+ /**
+ * Dimensions details
+ *
+ */
+ public final static String s_p_dimensions_A = "https://onerecord.iata.org/Piece#dimensions";
+ public final static IRI p_dimensions_A = IRI.create(s_p_dimensions_A);
+ /**
+ * Reference documents details
+ *
+ */
+ public final static String s_p_externalReferences = "https://onerecord.iata.org/Piece#externalReferences";
+ public final static IRI p_externalReferences = IRI.create(s_p_externalReferences);
+ /**
+ * Weight details
+ *
+ */
+ public final static String s_p_grossWeight = "https://onerecord.iata.org/Piece#grossWeight";
+ public final static IRI p_grossWeight = IRI.create(s_p_grossWeight);
+ /**
+ * Other piece identification ( e.g. Shipping Marks, Seal)
+ *
+ */
+ public final static String s_p_otherIdentifiers_A_A = "https://onerecord.iata.org/Piece#otherIdentifiers";
+ public final static IRI p_otherIdentifiers_A_A = IRI.create(s_p_otherIdentifiers_A_A);
+ /**
+ * Other party company details - e.g. the party to be notified
+ *
+ */
+ public final static String s_p_otherParty = "https://onerecord.iata.org/Piece#otherParty";
+ public final static IRI p_otherParty = IRI.create(s_p_otherParty);
+ /**
+ * Packaging details
+ *
+ */
+ public final static String s_p_packagingType = "https://onerecord.iata.org/Piece#packagingType";
+ public final static IRI p_packagingType = IRI.create(s_p_packagingType);
+ /**
+ * Other party company details - e.g. the party to be notified
+ *
+ */
+ public final static String s_p_parties_A_A = "https://onerecord.iata.org/Piece#parties";
+ public final static IRI p_parties_A_A = IRI.create(s_p_parties_A_A);
+ /**
+ * Product of the piece, mandatory when there are no items
+ *
+ */
+ public final static String s_p_product_A_A = "https://onerecord.iata.org/Piece#product";
+ public final static IRI p_product_A_A = IRI.create(s_p_product_A_A);
+ /**
+ * Goods production country, mandatory when there are no Items
+ *
+ */
+ public final static String s_p_productionCountry_A = "https://onerecord.iata.org/Piece#productionCountry";
+ public final static IRI p_productionCountry_A = IRI.create(s_p_productionCountry_A);
+ /**
+ * Security details of the piece
+ *
+ */
+ public final static String s_p_securityDeclaration = "https://onerecord.iata.org/Piece#securityDeclaration";
+ public final static IRI p_securityDeclaration = IRI.create(s_p_securityDeclaration);
+ /**
+ * Security details
+ *
+ */
+ public final static String s_p_securityStatus = "https://onerecord.iata.org/Piece#securityStatus";
+ public final static IRI p_securityStatus = IRI.create(s_p_securityStatus);
+ /**
+ * Security requests
+ *
+ */
+ public final static String s_p_serviceRequest = "https://onerecord.iata.org/Piece#serviceRequest";
+ public final static IRI p_serviceRequest = IRI.create(s_p_serviceRequest);
+ /**
+ * Shipment on which the piece is assigned to
+ *
+ */
+ public final static String s_p_shipment = "https://onerecord.iata.org/Piece#shipment";
+ public final static IRI p_shipment = IRI.create(s_p_shipment);
+ /**
+ * Shipper company details - e.g. the party shipping the piece
+ *
+ */
+ public final static String s_p_shipper_A_A = "https://onerecord.iata.org/Piece#shipper";
+ public final static IRI p_shipper_A_A = IRI.create(s_p_shipper_A_A);
+ /**
+ * Special Handling details
+ *
+ */
+ public final static String s_p_specialHandling = "https://onerecord.iata.org/Piece#specialHandling";
+ public final static IRI p_specialHandling = IRI.create(s_p_specialHandling);
+ /**
+ * Transport Movements on which the piece is transported
+ *
+ */
+ public final static String s_p_transportMovements = "https://onerecord.iata.org/Piece#transportMovements";
+ public final static IRI p_transportMovements = IRI.create(s_p_transportMovements);
+ /**
+ * Segment related to the transport status
+ *
+ */
+ public final static String s_p_transportSegments = "https://onerecord.iata.org/Piece#transportSegments";
+ public final static IRI p_transportSegments = IRI.create(s_p_transportSegments);
+ /**
+ * ULD on which the (virtual) piece has been loaded into - URIs of the ULD
+ *
+ */
+ public final static String s_p_uldReference = "https://onerecord.iata.org/Piece#uldReference";
+ public final static IRI p_uldReference = IRI.create(s_p_uldReference);
+ /**
+ * Volumetric weight details
+ *
+ */
+ public final static String s_p_volumetricWeight = "https://onerecord.iata.org/Piece#volumetricWeight";
+ public final static IRI p_volumetricWeight = IRI.create(s_p_volumetricWeight);
+ /**
+ * Reference to the Dangerous Goods declaration
+ *
+ */
+ public final static String s_p_dgDeclaration = "https://onerecord.iata.org/PieceDg#dgDeclaration";
+ public final static IRI p_dgDeclaration = IRI.create(s_p_dgDeclaration);
+ /**
+ * Reference to the permits associated with the Live Animals
+ *
+ */
+ public final static String s_p_associatedEpermit = "https://onerecord.iata.org/PieceLiveAnimals#associatedEpermit";
+ public final static IRI p_associatedEpermit = IRI.create(s_p_associatedEpermit);
+ /**
+ * Country of last re-export (box 12a)
+ *
+ */
+ public final static String s_p_exportTradeCountry = "https://onerecord.iata.org/PieceLiveAnimals#exportTradeCountry";
+ public final static IRI p_exportTradeCountry = IRI.create(s_p_exportTradeCountry);
+ /**
+ * country of origin (box 12)
+ *
+ */
+ public final static String s_p_originTradeCountry = "https://onerecord.iata.org/PieceLiveAnimals#originTradeCountry";
+ public final static IRI p_originTradeCountry = IRI.create(s_p_originTradeCountry);
+ /**
+ * Reference to the Booking or Offer
+ *
+ */
+ public final static String s_p_bookingOption_A_A = "https://onerecord.iata.org/Price#bookingOption";
+ public final static IRI p_bookingOption_A_A = IRI.create(s_p_bookingOption_A_A);
+ /**
+ * Reference to the Booking or Offer
+ *
+ */
+ public final static String s_p_bookingRef = "https://onerecord.iata.org/Price#bookingRef";
+ public final static IRI p_bookingRef = IRI.create(s_p_bookingRef);
+ /**
+ * Rating used for pricing
+ *
+ */
+ public final static String s_p_ratings = "https://onerecord.iata.org/Price#ratings";
+ public final static IRI p_ratings = IRI.create(s_p_ratings);
+ /**
+ * Charateristics of the product
+ *
+ */
+ public final static String s_p_characteristics = "https://onerecord.iata.org/Product#characteristics";
+ public final static IRI p_characteristics = IRI.create(s_p_characteristics);
+ /**
+ * Reference to the Items in which the product can be found.
+ *
+ */
+ public final static String s_p_isInItems = "https://onerecord.iata.org/Product#isInItems";
+ public final static IRI p_isInItems = IRI.create(s_p_isInItems);
+ /**
+ * Reference to the pieces where the product can be found. This needs to be filled in case there is no Item
+ *
+ */
+ public final static String s_p_isInPieces = "https://onerecord.iata.org/Product#isInPieces";
+ public final static IRI p_isInPieces = IRI.create(s_p_isInPieces);
+ /**
+ * Manufacturing company details and contacts
+ *
+ */
+ public final static String s_p_manufacturer = "https://onerecord.iata.org/Product#manufacturer";
+ public final static IRI p_manufacturer = IRI.create(s_p_manufacturer);
+ /**
+ * Other product identifier (e.g. Bar code, UPC, EAN, Amazon)
+ *
+ */
+ public final static String s_p_otherIdentifier_A = "https://onerecord.iata.org/Product#otherIdentifier";
+ public final static IRI p_otherIdentifier_A = IRI.create(s_p_otherIdentifier_A);
+ /**
+ * Dg Radioactive Material
+ *
+ */
+ public final static String s_p_dgRadioactiveMaterial = "https://onerecord.iata.org/ProductDg#dgRadioactiveMaterial";
+ public final static IRI p_dgRadioactiveMaterial = IRI.create(s_p_dgRadioactiveMaterial);
+ /**
+ * Reference to the ranges
+ *
+ */
+ public final static String s_p_ranges = "https://onerecord.iata.org/Ratings#ranges";
+ public final static IRI p_ranges = IRI.create(s_p_ranges);
+ /**
+ * Branch/Company
+ *
+ */
+ public final static String s_p_entity = "https://onerecord.iata.org/RegulatedEntity#entity";
+ public final static IRI p_entity = IRI.create(s_p_entity);
+ /**
+ * Regulated entity identifier (e.g. Regulated Agent Identifier) is mandatory
+ *
+ */
+ public final static String s_p_regulatedEntityIdentifier = "https://onerecord.iata.org/RegulatedEntity#regulatedEntityIdentifier";
+ public final static IRI p_regulatedEntityIdentifier = IRI.create(s_p_regulatedEntityIdentifier);
+ /**
+ * Parties involved if known
+ *
+ */
+ public final static String s_p_parties_A_A_A = "https://onerecord.iata.org/Request#parties";
+ public final static IRI p_parties_A_A_A = IRI.create(s_p_parties_A_A_A);
+ /**
+ * Ratings preferences of the request
+ *
+ */
+ public final static String s_p_ratingsPreference_A = "https://onerecord.iata.org/Request#ratingsPreference";
+ public final static IRI p_ratingsPreference_A = IRI.create(s_p_ratingsPreference_A);
+ /**
+ * Details of the shipement that is to be shipped
+ *
+ */
+ public final static String s_p_shipmentDetails_A_A_A = "https://onerecord.iata.org/Request#shipmentDetails";
+ public final static IRI p_shipmentDetails_A_A_A = IRI.create(s_p_shipmentDetails_A_A_A);
+ /**
+ * Transport segment linked to the request, including the Departure and Arrival locations requested
+ *
+ */
+ public final static String s_p_transportMovement_A_A_A_A = "https://onerecord.iata.org/Request#transportMovement";
+ public final static IRI p_transportMovement_A_A_A_A = IRI.create(s_p_transportMovement_A_A_A_A);
+ /**
+ * Unit preferences of the request (e.g. kg or cm)
+ *
+ */
+ public final static String s_p_unitsPreference_A = "https://onerecord.iata.org/Request#unitsPreference";
+ public final static IRI p_unitsPreference_A = IRI.create(s_p_unitsPreference_A);
+ /**
+ * Reference to the BookingOption where the Routing is used
+ *
+ */
+ public final static String s_p_bookingOption_A_A_A = "https://onerecord.iata.org/Routing#bookingOption";
+ public final static IRI p_bookingOption_A_A_A = IRI.create(s_p_bookingOption_A_A_A);
+ /**
+ * Name of person (or employee ID) who issued the security status
+ *
+ */
+ public final static String s_p_issuedBy = "https://onerecord.iata.org/SecurityDeclaration#issuedBy";
+ public final static IRI p_issuedBy = IRI.create(s_p_issuedBy);
+ /**
+ * Any other regulated entity that accepts custody of the cargo and accepts the security status originally issued
+ *
+ */
+ public final static String s_p_otherRegulatedEntity = "https://onerecord.iata.org/SecurityDeclaration#otherRegulatedEntity";
+ public final static IRI p_otherRegulatedEntity = IRI.create(s_p_otherRegulatedEntity);
+ /**
+ * Piece linked to the Security Declaration
+ *
+ */
+ public final static String s_p_piece_A_A = "https://onerecord.iata.org/SecurityDeclaration#piece";
+ public final static IRI p_piece_A_A = IRI.create(s_p_piece_A_A);
+ /**
+ * Regulated entity that tendered the consignment
+ *
+ */
+ public final static String s_p_receivedFrom = "https://onerecord.iata.org/SecurityDeclaration#receivedFrom";
+ public final static IRI p_receivedFrom = IRI.create(s_p_receivedFrom);
+ /**
+ * Regulated entity issuing the Security Declaration
+ *
+ */
+ public final static String s_p_regulatedEntityIssuer = "https://onerecord.iata.org/SecurityDeclaration#regulatedEntityIssuer";
+ public final static IRI p_regulatedEntityIssuer = IRI.create(s_p_regulatedEntityIssuer);
+ /**
+ * Reference to the IoT Device to which the sensor is linked
+ *
+ */
+ public final static String s_p_iotDevice = "https://onerecord.iata.org/Sensor#iotDevice";
+ public final static IRI p_iotDevice = IRI.create(s_p_iotDevice);
+ /**
+ * Reference to the measurements recorded by the geolocation sensor
+ *
+ */
+ public final static String s_p_val = "https://onerecord.iata.org/SensorGeoloc#val";
+ public final static IRI p_val = IRI.create(s_p_val);
+ /**
+ * Reference to the measurements recorded by the sensor
+ *
+ */
+ public final static String s_p_val_A = "https://onerecord.iata.org/SensorOther#val";
+ public final static IRI p_val_A = IRI.create(s_p_val_A);
+ /**
+ * Details of contained piece(s)
+ *
+ */
+ public final static String s_p_containedPiece = "https://onerecord.iata.org/Shipment#containedPiece";
+ public final static IRI p_containedPiece = IRI.create(s_p_containedPiece);
+ /**
+ * Name and UN/LOCODE code of the point or port of departure, shipment or destination, as required under the applicable delivery term
+ *
+ */
+ public final static String s_p_deliveryLocation = "https://onerecord.iata.org/Shipment#deliveryLocation";
+ public final static IRI p_deliveryLocation = IRI.create(s_p_deliveryLocation);
+ /**
+ * Dimensions details
+ *
+ */
+ public final static String s_p_dimensions_A_A = "https://onerecord.iata.org/Shipment#dimensions";
+ public final static IRI p_dimensions_A_A = IRI.create(s_p_dimensions_A_A);
+ /**
+ * Reference document details
+ *
+ */
+ public final static String s_p_externalReferences_A = "https://onerecord.iata.org/Shipment#externalReferences";
+ public final static IRI p_externalReferences_A = IRI.create(s_p_externalReferences_A);
+ /**
+ * Reference to the freight forwarder
+ *
+ */
+ public final static String s_p_freightForwarder_A_A = "https://onerecord.iata.org/Shipment#freightForwarder";
+ public final static IRI p_freightForwarder_A_A = IRI.create(s_p_freightForwarder_A_A);
+ /**
+ * Insurance details
+ *
+ */
+ public final static String s_p_insurance = "https://onerecord.iata.org/Shipment#insurance";
+ public final static IRI p_insurance = IRI.create(s_p_insurance);
+ /**
+ * Parties details
+ *
+ */
+ public final static String s_p_parties_A_A_A_A = "https://onerecord.iata.org/Shipment#parties";
+ public final static IRI p_parties_A_A_A_A = IRI.create(s_p_parties_A_A_A_A);
+ /**
+ * Reference to the shipper
+ *
+ */
+ public final static String s_p_shipper_A_A_A = "https://onerecord.iata.org/Shipment#shipper";
+ public final static IRI p_shipper_A_A_A = IRI.create(s_p_shipper_A_A_A);
+ /**
+ * Weight details
+ *
+ */
+ public final static String s_p_totalGrossWeight = "https://onerecord.iata.org/Shipment#totalGrossWeight";
+ public final static IRI p_totalGrossWeight = IRI.create(s_p_totalGrossWeight);
+ /**
+ * Volumetric weight details
+ *
+ */
+ public final static String s_p_volumetricWeight_A = "https://onerecord.iata.org/Shipment#volumetricWeight";
+ public final static IRI p_volumetricWeight_A = IRI.create(s_p_volumetricWeight_A);
+ /**
+ * Waybill unique identifier (AWB or HWB)
+ *
+ */
+ public final static String s_p_waybillNumber_A_A = "https://onerecord.iata.org/Shipment#waybillNumber";
+ public final static IRI p_waybillNumber_A_A = IRI.create(s_p_waybillNumber_A_A);
+ /**
+ * Company operating the transport means
+ *
+ */
+ public final static String s_p_transportCompany = "https://onerecord.iata.org/TransportMeans#transportCompany";
+ public final static IRI p_transportCompany = IRI.create(s_p_transportCompany);
+ /**
+ * Transport Movement on which the Transport Means is used
+ *
+ */
+ public final static String s_p_transportMovement_A_A_A_A_A = "https://onerecord.iata.org/TransportMeans#transportMovement";
+ public final static IRI p_transportMovement_A_A_A_A_A = IRI.create(s_p_transportMovement_A_A_A_A_A);
+ /**
+ * Associated transport segment
+ *
+ */
+ public final static String s_p_transportSegment = "https://onerecord.iata.org/TransportMeans#transportSegment";
+ public final static IRI p_transportSegment = IRI.create(s_p_transportSegment);
+ /**
+ * Required for some CO2 calculations
+ *
+ */
+ public final static String s_p_typicalCO2Coefficient = "https://onerecord.iata.org/TransportMeans#typicalCO2Coefficient";
+ public final static IRI p_typicalCO2Coefficient = IRI.create(s_p_typicalCO2Coefficient);
+ /**
+ * Typical fuel comsumption (e.g. 20 000L / 1 000nm)
+ *
+ */
+ public final static String s_p_typicalFuelConsumption = "https://onerecord.iata.org/TransportMeans#typicalFuelConsumption";
+ public final static IRI p_typicalFuelConsumption = IRI.create(s_p_typicalFuelConsumption);
+ /**
+ * Arrival location details
+ *
+ */
+ public final static String s_p_arrivalLocation_A = "https://onerecord.iata.org/TransportMovement#arrivalLocation";
+ public final static IRI p_arrivalLocation_A = IRI.create(s_p_arrivalLocation_A);
+ /**
+ * Method of calculation of the CO2 emissions
+ *
+ */
+ public final static String s_p_co2CalculationMethod = "https://onerecord.iata.org/TransportMovement#co2CalculationMethod";
+ public final static IRI p_co2CalculationMethod = IRI.create(s_p_co2CalculationMethod);
+ /**
+ * Amount of CO2 emitted (e.g. 34 kg/km)
+ *
+ */
+ public final static String s_p_co2Emissions = "https://onerecord.iata.org/TransportMovement#co2Emissions";
+ public final static IRI p_co2Emissions = IRI.create(s_p_co2Emissions);
+ /**
+ * Departure location details
+ *
+ */
+ public final static String s_p_departureLocation_A = "https://onerecord.iata.org/TransportMovement#departureLocation";
+ public final static IRI p_departureLocation_A = IRI.create(s_p_departureLocation_A);
+ /**
+ * Distance calculated if distance measured is not available
+ *
+ */
+ public final static String s_p_distanceCalculated = "https://onerecord.iata.org/TransportMovement#distanceCalculated";
+ public final static IRI p_distanceCalculated = IRI.create(s_p_distanceCalculated);
+ /**
+ * Distance measured
+ *
+ */
+ public final static String s_p_distanceMeasured = "https://onerecord.iata.org/TransportMovement#distanceMeasured";
+ public final static IRI p_distanceMeasured = IRI.create(s_p_distanceMeasured);
+ /**
+ * Reference to document or logistics object (URI)
+ *
+ */
+ public final static String s_p_externalReferences_A_A = "https://onerecord.iata.org/TransportMovement#externalReferences";
+ public final static IRI p_externalReferences_A_A = IRI.create(s_p_externalReferences_A_A);
+ /**
+ * calculated fuel consumption, if measured not available
+ *
+ */
+ public final static String s_p_fuelAmountCalculated = "https://onerecord.iata.org/TransportMovement#fuelAmountCalculated";
+ public final static IRI p_fuelAmountCalculated = IRI.create(s_p_fuelAmountCalculated);
+ /**
+ * actual measured fuel consumption
+ *
+ */
+ public final static String s_p_fuelAmountMeasured = "https://onerecord.iata.org/TransportMovement#fuelAmountMeasured";
+ public final static IRI p_fuelAmountMeasured = IRI.create(s_p_fuelAmountMeasured);
+ /**
+ * Actual payload for the transport
+ *
+ */
+ public final static String s_p_payload = "https://onerecord.iata.org/TransportMovement#payload";
+ public final static IRI p_payload = IRI.create(s_p_payload);
+ /**
+ * Transport means details
+ *
+ */
+ public final static String s_p_transportMeans = "https://onerecord.iata.org/TransportMovement#transportMeans";
+ public final static IRI p_transportMeans = IRI.create(s_p_transportMeans);
+ /**
+ * Name of the person operating the transport means (e.g. aircraft captain, truck driver)
+ *
+ */
+ public final static String s_p_transportMeansOperators = "https://onerecord.iata.org/TransportMovement#transportMeansOperators";
+ public final static IRI p_transportMeansOperators = IRI.create(s_p_transportMeansOperators);
+ /**
+ * Pieces assigned to the transport segment
+ *
+ */
+ public final static String s_p_transportedPieces = "https://onerecord.iata.org/TransportMovement#transportedPieces";
+ public final static IRI p_transportedPieces = IRI.create(s_p_transportedPieces);
+ /**
+ * ULDs assigned to the transport segment
+ *
+ */
+ public final static String s_p_transportedUlds = "https://onerecord.iata.org/TransportMovement#transportedUlds";
+ public final static IRI p_transportedUlds = IRI.create(s_p_transportedUlds);
+ /**
+ * Reference documents details
+ *
+ */
+ public final static String s_p_externalReference = "https://onerecord.iata.org/ULD#externalReference";
+ public final static IRI p_externalReference = IRI.create(s_p_externalReference);
+ /**
+ * Tare weight of the empty ULD
+ *
+ */
+ public final static String s_p_tareWeight = "https://onerecord.iata.org/ULD#tareWeight";
+ public final static IRI p_tareWeight = IRI.create(s_p_tareWeight);
+ /**
+ * Transport Movements on which the ULD are transported
+ *
+ */
+ public final static String s_p_transportMovements_A = "https://onerecord.iata.org/ULD#transportMovements";
+ public final static IRI p_transportMovements_A = IRI.create(s_p_transportMovements_A);
+ /**
+ * Segment related to the ULD movement
+ *
+ */
+ public final static String s_p_transportSegments_A = "https://onerecord.iata.org/ULD#transportSegments";
+ public final static IRI p_transportSegments_A = IRI.create(s_p_transportSegments_A);
+ /**
+ * Details of contained (virtual) piece(s)
+ *
+ */
+ public final static String s_p_upid = "https://onerecord.iata.org/ULD#upid";
+ public final static IRI p_upid = IRI.create(s_p_upid);
+ /**
+ * Chargeable weight
+ *
+ */
+ public final static String s_p_chargeableWeight = "https://onerecord.iata.org/VolumetricWeight#chargeableWeight";
+ public final static IRI p_chargeableWeight = IRI.create(s_p_chargeableWeight);
+ /**
+ * Volume to weight conversion factor
+ *
+ */
+ public final static String s_p_conversionFactor = "https://onerecord.iata.org/VolumetricWeight#conversionFactor";
+ public final static IRI p_conversionFactor = IRI.create(s_p_conversionFactor);
+ /**
+ * Refers to the Booking option
+ *
+ */
+ public final static String s_p_booking = "https://onerecord.iata.org/Waybill#booking";
+ public final static IRI p_booking = IRI.create(s_p_booking);
+ /**
+ * Refers to the Booking
+ *
+ */
+ public final static String s_p_bookingRef_A = "https://onerecord.iata.org/Waybill#bookingRef";
+ public final static IRI p_bookingRef_A = IRI.create(s_p_bookingRef_A);
+ /**
+ * Refers to the Waybill(s) contained
+ *
+ */
+ public final static String s_p_containedWaybills = "https://onerecord.iata.org/Waybill#containedWaybills";
+ public final static IRI p_containedWaybills = IRI.create(s_p_containedWaybills);
+ public final static String s_p_topDataProperty = "http://www.w3.org/2002/07/owl#topDataProperty";
+ public final static IRI p_topDataProperty = IRI.create(s_p_topDataProperty);
+ /**
+ * Address identifier using special coding systems e.g. US CBP FIRMS code
+ *
+ */
+ public final static String s_p_addressCode = "https://onerecord.iata.org/Address#addressCode";
+ public final static IRI p_addressCode = IRI.create(s_p_addressCode);
+ /**
+ * Type of address code e.g. US CBP FIRMS
+ *
+ */
+ public final static String s_p_addressCodeType = "https://onerecord.iata.org/Address#addressCodeType";
+ public final static IRI p_addressCodeType = IRI.create(s_p_addressCodeType);
+ /**
+ * UN/LOCODE city code (5 letter) or IATA city code (3 letter)
+ *
+ */
+ public final static String s_p_cityCode = "https://onerecord.iata.org/Address#cityCode";
+ public final static IRI p_cityCode = IRI.create(s_p_cityCode);
+ /**
+ * If no CityCode provided, full name of the city
+ *
+ */
+ public final static String s_p_cityName = "https://onerecord.iata.org/Address#cityName";
+ public final static IRI p_cityName = IRI.create(s_p_cityName);
+ /**
+ * Post Office box number / code
+ *
+ */
+ public final static String s_p_poBox = "https://onerecord.iata.org/Address#poBox";
+ public final static IRI p_poBox = IRI.create(s_p_poBox);
+ /**
+ * Postal / ZIP code
+ *
+ */
+ public final static String s_p_postalCode = "https://onerecord.iata.org/Address#postalCode";
+ public final static IRI p_postalCode = IRI.create(s_p_postalCode);
+ /**
+ * Region/ State / Department. Refer ISO 3166-2
+ *
+ */
+ public final static String s_p_regionCode = "https://onerecord.iata.org/Address#regionCode";
+ public final static IRI p_regionCode = IRI.create(s_p_regionCode);
+ /**
+ * If no StateCode provided, full name of the region / state / province / canton
+ *
+ */
+ public final static String s_p_regionName = "https://onerecord.iata.org/Address#regionName";
+ public final static IRI p_regionName = IRI.create(s_p_regionName);
+ /**
+ * Street address including street name, street number, building number, apartment etc
+ *
+ */
+ public final static String s_p_street = "https://onerecord.iata.org/Address#street";
+ public final static IRI p_street = IRI.create(s_p_street);
+ /**
+ * Status of the Booking with regards to the step in the Quote and Book process: Quoted, Booked
+ *
+ */
+ public final static String s_p_bookingStatus = "https://onerecord.iata.org/Booking#bookingStatus";
+ public final static IRI p_bookingStatus = IRI.create(s_p_bookingStatus);
+ /**
+ * Latest Acceptance time as per CargoIQ definition
+ *
+ */
+ public final static String s_p_latestAcceptanceTime = "https://onerecord.iata.org/Booking#latestAcceptanceTime";
+ public final static IRI p_latestAcceptanceTime = IRI.create(s_p_latestAcceptanceTime);
+ /**
+ * Indicates if the offer is a perfect match to the quote request (boolean)
+ *
+ */
+ public final static String s_p_requestMatchInd = "https://onerecord.iata.org/Booking#requestMatchInd";
+ public final static IRI p_requestMatchInd = IRI.create(s_p_requestMatchInd);
+ /**
+ * Indicate the secruty state of the shipment, screened or not
+ *
+ */
+ public final static String s_p_shipmentSecurityStatus = "https://onerecord.iata.org/Booking#shipmentSecurityStatus";
+ public final static IRI p_shipmentSecurityStatus = IRI.create(s_p_shipmentSecurityStatus);
+ /**
+ * Time of availability of the shipment as per CargoIQ definition
+ *
+ */
+ public final static String s_p_timeOfAvailability = "https://onerecord.iata.org/Booking#timeOfAvailability";
+ public final static IRI p_timeOfAvailability = IRI.create(s_p_timeOfAvailability);
+ /**
+ * Total transit time as per CargoIQ definition
+ *
+ */
+ public final static String s_p_totalTransitTime = "https://onerecord.iata.org/Booking#totalTransitTime";
+ public final static IRI p_totalTransitTime = IRI.create(s_p_totalTransitTime);
+ /**
+ * Status of the Booking with regards to the step in the Quote and Book process: Quoted, Booked
+ *
+ */
+ public final static String s_p_bookingStatus_A = "https://onerecord.iata.org/BookingOption#bookingStatus";
+ public final static IRI p_bookingStatus_A = IRI.create(s_p_bookingStatus_A);
+ /**
+ * Starting datetime of availability of the booking option
+ *
+ */
+ public final static String s_p_offerValidFrom = "https://onerecord.iata.org/BookingOption#offerValidFrom";
+ public final static IRI p_offerValidFrom = IRI.create(s_p_offerValidFrom);
+ /**
+ * Ending datetime of availability of the booking option
+ *
+ */
+ public final static String s_p_offerValidTo = "https://onerecord.iata.org/BookingOption#offerValidTo";
+ public final static IRI p_offerValidTo = IRI.create(s_p_offerValidTo);
+ /**
+ * Indicates if the offer is a perfect match to the quote request (boolean)
+ *
+ */
+ public final static String s_p_requestMatchInd_A = "https://onerecord.iata.org/BookingOption#requestMatchInd";
+ public final static IRI p_requestMatchInd_A = IRI.create(s_p_requestMatchInd_A);
+ /**
+ * Indicate the secruty state of the shipment, screened or not
+ *
+ */
+ public final static String s_p_shipmentSecurityStatus_A = "https://onerecord.iata.org/BookingOption#shipmentSecurityStatus";
+ public final static IRI p_shipmentSecurityStatus_A = IRI.create(s_p_shipmentSecurityStatus_A);
+ /**
+ * Reference to the Allotment as per the contracts between forwarders and carriers
+ *
+ */
+ public final static String s_p_allotment = "https://onerecord.iata.org/BookingOptionRequest#allotment";
+ public final static IRI p_allotment = IRI.create(s_p_allotment);
+ /**
+ * Expected commodity for quote request purposes only. To be defined by MCD
+ *
+ */
+ public final static String s_p_expectedCommodities = "https://onerecord.iata.org/BookingOptionRequest#expectedCommodities";
+ public final static IRI p_expectedCommodities = IRI.create(s_p_expectedCommodities);
+ /**
+ * Identification of the request type: Quote or Booking
+ *
+ */
+ public final static String s_p_requestType = "https://onerecord.iata.org/BookingOptionRequest#requestType";
+ public final static IRI p_requestType = IRI.create(s_p_requestType);
+ /**
+ * Requested handling information for quote request purposes only
+ *
+ */
+ public final static String s_p_requestedHandling = "https://onerecord.iata.org/BookingOptionRequest#requestedHandling";
+ public final static IRI p_requestedHandling = IRI.create(s_p_requestedHandling);
+ /**
+ * Indicate the security state of the shipment, screened or not
+ *
+ */
+ public final static String s_p_shipmentSecurityStatus_A_A = "https://onerecord.iata.org/BookingOptionRequest#shipmentSecurityStatus";
+ public final static IRI p_shipmentSecurityStatus_A_A = IRI.create(s_p_shipmentSecurityStatus_A_A);
+ /**
+ * When part of the Request it refers to the preferred Transport ID from the customer. When part of the BookingOption (offer or actual booking) it refers to the expected Transport ID or flight
+ *
+ */
+ public final static String s_p_preferredTransportId = "https://onerecord.iata.org/BookingSegment#preferredTransportId";
+ public final static IRI p_preferredTransportId = IRI.create(s_p_preferredTransportId);
+ /**
+ * Earliest acceptance date time (requested or proposed)
+ *
+ */
+ public final static String s_p_earliestAcceptanceTime = "https://onerecord.iata.org/BookingTimes#earliestAcceptanceTime";
+ public final static IRI p_earliestAcceptanceTime = IRI.create(s_p_earliestAcceptanceTime);
+ /**
+ * Latest Acceptance time as per CargoIQ definition (requested, proposed or actual)
+ *
+ */
+ public final static String s_p_latestAcceptanceTime_A = "https://onerecord.iata.org/BookingTimes#latestAcceptanceTime";
+ public final static IRI p_latestAcceptanceTime_A = IRI.create(s_p_latestAcceptanceTime_A);
+ /**
+ * Time of availability of the shipment as per CargoIQ definition
+ *
+ */
+ public final static String s_p_timeOfAvailability_A = "https://onerecord.iata.org/BookingTimes#timeOfAvailability";
+ public final static IRI p_timeOfAvailability_A = IRI.create(s_p_timeOfAvailability_A);
+ /**
+ * Total transit time as per CargoIQ definition, expressed as a duration
+ *
+ */
+ public final static String s_p_totalTransitTime_A = "https://onerecord.iata.org/BookingTimes#totalTransitTime";
+ public final static IRI p_totalTransitTime_A = IRI.create(s_p_totalTransitTime_A);
+ /**
+ * Company branch name
+ *
+ */
+ public final static String s_p_branchName = "https://onerecord.iata.org/Branch#branchName";
+ public final static IRI p_branchName = IRI.create(s_p_branchName);
+ /**
+ * IATA CASS cargo agent 4 digit branch number / location identifier
+ *
+ */
+ public final static String s_p_iataCargoAgentLocationIdentifier = "https://onerecord.iata.org/Branch#iataCargoAgentLocationIdentifier";
+ public final static IRI p_iataCargoAgentLocationIdentifier = IRI.create(s_p_iataCargoAgentLocationIdentifier);
+ /**
+ * Name of the CO2 calculation method
+ *
+ */
+ public final static String s_p_methodName = "https://onerecord.iata.org/CO2CalcMethod#methodName";
+ public final static IRI p_methodName = IRI.create(s_p_methodName);
+ /**
+ * Version of the CO2 calculation method
+ *
+ */
+ public final static String s_p_methodVersion = "https://onerecord.iata.org/CO2CalcMethod#methodVersion";
+ public final static IRI p_methodVersion = IRI.create(s_p_methodVersion);
+ /**
+ * Name of the CO2 calculation method
+ *
+ */
+ public final static String s_p_methodName_A = "https://onerecord.iata.org/CO2Emissions#methodName";
+ public final static IRI p_methodName_A = IRI.create(s_p_methodName_A);
+ /**
+ * Version used for the calculation
+ *
+ */
+ public final static String s_p_methodVersion_A = "https://onerecord.iata.org/CO2Emissions#methodVersion";
+ public final static IRI p_methodVersion_A = IRI.create(s_p_methodVersion_A);
+ /**
+ * IATA two-character airline code
+ *
+ */
+ public final static String s_p_airlineCode = "https://onerecord.iata.org/Carrier#airlineCode";
+ public final static IRI p_airlineCode = IRI.create(s_p_airlineCode);
+ /**
+ * IATA three-numeric airline prefix number
+ *
+ */
+ public final static String s_p_airlinePrefix = "https://onerecord.iata.org/Carrier#airlinePrefix";
+ public final static IRI p_airlinePrefix = IRI.create(s_p_airlinePrefix);
+ /**
+ * Official carrier name
+ *
+ */
+ public final static String s_p_carrierName = "https://onerecord.iata.org/Carrier#carrierName";
+ public final static IRI p_carrierName = IRI.create(s_p_carrierName);
+ /**
+ * Carrier short name if any
+ *
+ */
+ public final static String s_p_carrierShortName = "https://onerecord.iata.org/Carrier#carrierShortName";
+ public final static IRI p_carrierShortName = IRI.create(s_p_carrierShortName);
+ /**
+ * Carrier's product code
+ *
+ */
+ public final static String s_p_productCode = "https://onerecord.iata.org/CarrierProduct#productCode";
+ public final static IRI p_productCode = IRI.create(s_p_productCode);
+ /**
+ * Carrier's product description
+ *
+ */
+ public final static String s_p_productDescription = "https://onerecord.iata.org/CarrierProduct#productDescription";
+ public final static IRI p_productDescription = IRI.create(s_p_productDescription);
+ /**
+ * Product characteristics code - e.g. CLR - Color
+ *
+ */
+ public final static String s_p_characteristicsType = "https://onerecord.iata.org/Characteristics#characteristicsType";
+ public final static IRI p_characteristicsType = IRI.create(s_p_characteristicsType);
+ /**
+ * Product characteristics value / attribute - e.g. Blue...
+ *
+ */
+ public final static String s_p_value = "https://onerecord.iata.org/Characteristics#value";
+ public final static IRI p_value = IRI.create(s_p_value);
+ /**
+ * IATA two-character airline code
+ *
+ */
+ public final static String s_p_airlineCode_A = "https://onerecord.iata.org/Company#airlineCode";
+ public final static IRI p_airlineCode_A = IRI.create(s_p_airlineCode_A);
+ /**
+ * IATA three-numeric airline prefix number
+ *
+ */
+ public final static String s_p_airlinePrefix_A = "https://onerecord.iata.org/Company#airlinePrefix";
+ public final static IRI p_airlinePrefix_A = IRI.create(s_p_airlinePrefix_A);
+ /**
+ * Name of company or organization
+ *
+ */
+ public final static String s_p_companyName = "https://onerecord.iata.org/Company#companyName";
+ public final static IRI p_companyName = IRI.create(s_p_companyName);
+ /**
+ * IATA accredited cargo agent 7 digit number
+ *
+ */
+ public final static String s_p_iataCargoAgentCode = "https://onerecord.iata.org/Company#iataCargoAgentCode";
+ public final static IRI p_iataCargoAgentCode = IRI.create(s_p_iataCargoAgentCode);
+ /**
+ * Company branch name
+ *
+ */
+ public final static String s_p_branchName_A = "https://onerecord.iata.org/CompanyBranch#branchName";
+ public final static IRI p_branchName_A = IRI.create(s_p_branchName_A);
+ /**
+ * IATA CASS cargo agent 4 digit branch number / location identifier
+ *
+ */
+ public final static String s_p_iataCargoAgentLocationIdentifier_A = "https://onerecord.iata.org/CompanyBranch#iataCargoAgentLocationIdentifier";
+ public final static IRI p_iataCargoAgentLocationIdentifier_A = IRI.create(s_p_iataCargoAgentLocationIdentifier_A);
+ /**
+ * Type of the contact details, e.g. Phone number, Mail address
+ *
+ */
+ public final static String s_p_contactType = "https://onerecord.iata.org/Contact#contactType";
+ public final static IRI p_contactType = IRI.create(s_p_contactType);
+ /**
+ * Value of the contact detail, e.g. phone number
+ *
+ */
+ public final static String s_p_contactValue = "https://onerecord.iata.org/Contact#contactValue";
+ public final static IRI p_contactValue = IRI.create(s_p_contactValue);
+ /**
+ * E-mail address
+ *
+ */
+ public final static String s_p_emailAddress = "https://onerecord.iata.org/Contact#emailAddress";
+ public final static IRI p_emailAddress = IRI.create(s_p_emailAddress);
+ /**
+ * Phone number
+ *
+ */
+ public final static String s_p_phoneNumber = "https://onerecord.iata.org/Contact#phoneNumber";
+ public final static IRI p_phoneNumber = IRI.create(s_p_phoneNumber);
+ /**
+ * Contact details e.g. Skype ID
+ *
+ */
+ public final static String s_p_detail = "https://onerecord.iata.org/ContactOther#detail";
+ public final static IRI p_detail = IRI.create(s_p_detail);
+ /**
+ * Contact type - e.g. Skype
+ *
+ */
+ public final static String s_p_otherType = "https://onerecord.iata.org/ContactOther#otherType";
+ public final static IRI p_otherType = IRI.create(s_p_otherType);
+ /**
+ * Country ISO code. Refer ISO 3166-2
+ *
+ */
+ public final static String s_p_countryCode = "https://onerecord.iata.org/Country#countryCode";
+ public final static IRI p_countryCode = IRI.create(s_p_countryCode);
+ /**
+ * Full country name
+ *
+ */
+ public final static String s_p_countryName = "https://onerecord.iata.org/Country#countryName";
+ public final static IRI p_countryName = IRI.create(s_p_countryName);
+ /**
+ * Customs content code. Refer CXML Code List 1.100, e.g. IST - Security Textual StatementNumber, M - Movement Reference Number
+ *
+ */
+ public final static String s_p_customsInfoContentCode = "https://onerecord.iata.org/CustomsInfo#customsInfoContentCode";
+ public final static IRI p_customsInfoContentCode = IRI.create(s_p_customsInfoContentCode);
+ /**
+ * Customs country code.
+ *
+ */
+ public final static String s_p_customsInfoCountryCode = "https://onerecord.iata.org/CustomsInfo#customsInfoCountryCode";
+ public final static IRI p_customsInfoCountryCode = IRI.create(s_p_customsInfoCountryCode);
+ /**
+ * Free text for customs remarks
+ *
+ */
+ public final static String s_p_customsInfoNote = "https://onerecord.iata.org/CustomsInfo#customsInfoNote";
+ public final static IRI p_customsInfoNote = IRI.create(s_p_customsInfoNote);
+ /**
+ * Customs subject code. Refer CXML Code List 1.19, e.g. IMP for import, EXP for export, AGT for Agent, ISS for The Regulated Agent Issuing the Security Status for rdf:type Consignment etc. At least one of the three elements (Country Code, Information Identifier or Customs, Security and Regulatory Control Information Identifier) must be completed
+ *
+ */
+ public final static String s_p_customsInfoSubjectCode = "https://onerecord.iata.org/CustomsInfo#customsInfoSubjectCode";
+ public final static IRI p_customsInfoSubjectCode = IRI.create(s_p_customsInfoSubjectCode);
+ /**
+ * Information for customs submission
+ *
+ */
+ public final static String s_p_customsInformation = "https://onerecord.iata.org/CustomsInfo#customsInformation";
+ public final static IRI p_customsInformation = IRI.create(s_p_customsInformation);
+ /**
+ * Contains the Special Handling Code related to the prescribed limitation. Hardcoded to PASSENGER AND CARGO AIRCRAFT or CARGO AIRCRAFT ONLY. This field is mandatory for air (Air)
+ *
+ */
+ public final static String s_p_aircraftLimitationInformation = "https://onerecord.iata.org/DgDeclaration#aircraftLimitationInformation";
+ public final static IRI p_aircraftLimitationInformation = IRI.create(s_p_aircraftLimitationInformation);
+ /**
+ * Contains the warning message complying with the regulations text note. This field is mandatory for air (Air)
+ *
+ */
+ public final static String s_p_complianceDeclarationText = "https://onerecord.iata.org/DgDeclaration#complianceDeclarationText";
+ public final static IRI p_complianceDeclarationText = IRI.create(s_p_complianceDeclarationText);
+ /**
+ * Indicates an exclusive use shipment
+ *
+ */
+ public final static String s_p_exclusiveUseIndicator = "https://onerecord.iata.org/DgDeclaration#exclusiveUseIndicator";
+ public final static IRI p_exclusiveUseIndicator = IRI.create(s_p_exclusiveUseIndicator);
+ /**
+ * Free text. This may include items such as Control temperature for substances stabilized by temperature control, name and telephone number of a responsible person for infectious substances.
+ *
+ */
+ public final static String s_p_handlingInformation = "https://onerecord.iata.org/DgDeclaration#handlingInformation";
+ public final static IRI p_handlingInformation = IRI.create(s_p_handlingInformation);
+ /**
+ * Contains the shipper's declaration to comply with the regulations text note. Free text . This field is mandatory for air (Air)
+ *
+ */
+ public final static String s_p_shipperDeclarationText = "https://onerecord.iata.org/DgDeclaration#shipperDeclarationText";
+ public final static IRI p_shipperDeclarationText = IRI.create(s_p_shipperDeclarationText);
+ /**
+ * The category of the package or all packed in one. Complete text to be transmitted: I-White, II-Yellow, III-Yellow instead of I, II, III
+ *
+ */
+ public final static String s_p_dgRaTypeCode = "https://onerecord.iata.org/DgProductRadioactive#dgRaTypeCode";
+ public final static IRI p_dgRaTypeCode = IRI.create(s_p_dgRaTypeCode);
+ /**
+ * Indicates if Fissile is excepted
+ *
+ */
+ public final static String s_p_fissileExceptionIndicator = "https://onerecord.iata.org/DgProductRadioactive#fissileExceptionIndicator";
+ public final static IRI p_fissileExceptionIndicator = IRI.create(s_p_fissileExceptionIndicator);
+ /**
+ * Fissile exception reference, mandatory if Fissile Exception Indicator is true.
+ *
+ */
+ public final static String s_p_fissileExceptionReference = "https://onerecord.iata.org/DgProductRadioactive#fissileExceptionReference";
+ public final static IRI p_fissileExceptionReference = IRI.create(s_p_fissileExceptionReference);
+ /**
+ * Radioactive Transport-Index value of the package or all packed in one. Conditionally mandator and applies to categories II-Yellow and III-Yellow only; field only contains the value, if printed, TI must be added as a prefix to the value to be printed in the Packing Instructions column
+ *
+ */
+ public final static String s_p_transportIndexNumeric = "https://onerecord.iata.org/DgProductRadioactive#transportIndexNumeric";
+ public final static IRI p_transportIndexNumeric = IRI.create(s_p_transportIndexNumeric);
+ /**
+ * Numeric expression of the activity of a radioactive Item
+ *
+ */
+ public final static String s_p_activityLevelMeasure = "https://onerecord.iata.org/DgRadioactiveIsotope#activityLevelMeasure";
+ public final static IRI p_activityLevelMeasure = IRI.create(s_p_activityLevelMeasure);
+ /**
+ * Applies to fissile material only, other than fissile excepted. A numeric value expressed to one decimal place preceded by the letters CSI.
+ *
+ */
+ public final static String s_p_criticalitySafetyIndexNumeric = "https://onerecord.iata.org/DgRadioactiveIsotope#criticalitySafetyIndexNumeric";
+ public final static IRI p_criticalitySafetyIndexNumeric = IRI.create(s_p_criticalitySafetyIndexNumeric);
+ /**
+ * Id of each radionuclide or for mixtures of radionuclides.
+ *
+ */
+ public final static String s_p_isotopeId = "https://onerecord.iata.org/DgRadioactiveIsotope#isotopeId";
+ public final static IRI p_isotopeId = IRI.create(s_p_isotopeId);
+ /**
+ * The name or symbol of each radionuclide or for mixtures of radionuclides, an appropriate general description, or a list of the most restrictive radionuclides.
+ *
+ */
+ public final static String s_p_isotopeName = "https://onerecord.iata.org/DgRadioactiveIsotope#isotopeName";
+ public final static IRI p_isotopeName = IRI.create(s_p_isotopeName);
+ /**
+ * A notation that the material is low dispersible radioactive material.
+ *
+ */
+ public final static String s_p_lowDispersibleIndicator = "https://onerecord.iata.org/DgRadioactiveIsotope#lowDispersibleIndicator";
+ public final static IRI p_lowDispersibleIndicator = IRI.create(s_p_lowDispersibleIndicator);
+ /**
+ * A description of the physical and chemical form of the material.
+ *
+ */
+ public final static String s_p_physicalChemicalForm = "https://onerecord.iata.org/DgRadioactiveIsotope#physicalChemicalForm";
+ public final static IRI p_physicalChemicalForm = IRI.create(s_p_physicalChemicalForm);
+ /**
+ * A notation that the material is special form
+ *
+ */
+ public final static String s_p_specialFormIndicator = "https://onerecord.iata.org/DgRadioactiveIsotope#specialFormIndicator";
+ public final static IRI p_specialFormIndicator = IRI.create(s_p_specialFormIndicator);
+ /**
+ * total number of specimens exported in the current calendar year and the current annuela quota for the species concerned (box 11a)
+ *
+ */
+ public final static String s_p_usedToDateQuotaQuantity = "https://onerecord.iata.org/EpermitConsignment#usedToDateQuotaQuantity";
+ public final static IRI p_usedToDateQuotaQuantity = IRI.create(s_p_usedToDateQuotaQuantity);
+ /**
+ * Security Stamp ID
+ *
+ */
+ public final static String s_p_securityStampId = "https://onerecord.iata.org/EpermitSignature#securityStampId";
+ public final static IRI p_securityStampId = IRI.create(s_p_securityStampId);
+ /**
+ * Role of the signatory with regards to the ePermit: Applicant, Permit issuer, Issuing Authority or Examining authority
+ *
+ */
+ public final static String s_p_signatoryRole = "https://onerecord.iata.org/EpermitSignature#signatoryRole";
+ public final static IRI p_signatoryRole = IRI.create(s_p_signatoryRole);
+ /**
+ * Date and time of the signature
+ *
+ */
+ public final static String s_p_signatureDate = "https://onerecord.iata.org/EpermitSignature#signatureDate";
+ public final static IRI p_signatureDate = IRI.create(s_p_signatureDate);
+ /**
+ * Signatory signature authentication text
+ *
+ */
+ public final static String s_p_signatureStatement = "https://onerecord.iata.org/EpermitSignature#signatureStatement";
+ public final static IRI p_signatureStatement = IRI.create(s_p_signatureStatement);
+ /**
+ * Code specifying a type of government action such asinspection, detention, fumigation, security.
+ *
+ */
+ public final static String s_p_signatureTypeCode = "https://onerecord.iata.org/EpermitSignature#signatureTypeCode";
+ public final static IRI p_signatureTypeCode = IRI.create(s_p_signatureTypeCode);
+ /**
+ * Date and time of the event
+ *
+ */
+ public final static String s_p_dateTime = "https://onerecord.iata.org/Event#dateTime";
+ public final static IRI p_dateTime = IRI.create(s_p_dateTime);
+ /**
+ * Movement or milestone code. Refer CXML Code List 1.18, e.g. DEP, ARR, FOH, RCS
+ *
+ */
+ public final static String s_p_eventCode = "https://onerecord.iata.org/Event#eventCode";
+ public final static IRI p_eventCode = IRI.create(s_p_eventCode);
+ /**
+ * If no EventCode provided, event name - e.g. Security clearance
+ *
+ */
+ public final static String s_p_eventName = "https://onerecord.iata.org/Event#eventName";
+ public final static IRI p_eventName = IRI.create(s_p_eventName);
+ /**
+ * Indicates type of event e.g. Scheduled, Estimated, Actual
+ *
+ */
+ public final static String s_p_eventTypeIndicator = "https://onerecord.iata.org/Event#eventTypeIndicator";
+ public final static IRI p_eventTypeIndicator = IRI.create(s_p_eventTypeIndicator);
+ /**
+ * Position of the shipment in the aircraft - e.g. lower or main deck
+ *
+ */
+ public final static String s_p_loadingPosition = "https://onerecord.iata.org/EventUld#loadingPosition";
+ public final static IRI p_loadingPosition = IRI.create(s_p_loadingPosition);
+ /**
+ * Checksum of the document to validate its integrity
+ *
+ */
+ public final static String s_p_documentChecksum = "https://onerecord.iata.org/ExternalReference#documentChecksum";
+ public final static IRI p_documentChecksum = IRI.create(s_p_documentChecksum);
+ /**
+ * Unique document identifier
+ *
+ */
+ public final static String s_p_documentId = "https://onerecord.iata.org/ExternalReference#documentId";
+ public final static IRI p_documentId = IRI.create(s_p_documentId);
+ /**
+ * Link to the document, e.g. URL of the file where it is hosted
+ *
+ */
+ public final static String s_p_documentLink = "https://onerecord.iata.org/ExternalReference#documentLink";
+ public final static IRI p_documentLink = IRI.create(s_p_documentLink);
+ /**
+ * If no DocumentType provided, name of the referenced document
+ *
+ */
+ public final static String s_p_documentName = "https://onerecord.iata.org/ExternalReference#documentName";
+ public final static IRI p_documentName = IRI.create(s_p_documentName);
+ /**
+ * Type of the referenced document . Refer UNEDIFACT 1001 e.g. 740 - Air Waybill
+ *
+ */
+ public final static String s_p_documentType = "https://onerecord.iata.org/ExternalReference#documentType";
+ public final static IRI p_documentType = IRI.create(s_p_documentType);
+ /**
+ * Document version number
+ *
+ */
+ public final static String s_p_documentVersion = "https://onerecord.iata.org/ExternalReference#documentVersion";
+ public final static IRI p_documentVersion = IRI.create(s_p_documentVersion);
+ /**
+ * Document expiry date
+ *
+ */
+ public final static String s_p_expiryDate = "https://onerecord.iata.org/ExternalReference#expiryDate";
+ public final static IRI p_expiryDate = IRI.create(s_p_expiryDate);
+ /**
+ * Document validity start date
+ *
+ */
+ public final static String s_p_validFrom = "https://onerecord.iata.org/ExternalReference#validFrom";
+ public final static IRI p_validFrom = IRI.create(s_p_validFrom);
+ /**
+ * re of the Geolocation coordinates, standard is Degree
+ *
+ */
+ public final static String s_p_geolocationUnit = "https://onerecord.iata.org/Geolocation#geolocationUnit";
+ public final static IRI p_geolocationUnit = IRI.create(s_p_geolocationUnit);
+ /**
+ * Location latitude - Change of data type to string as of version 1.2
+ *
+ */
+ public final static String s_p_latitude = "https://onerecord.iata.org/Geolocation#latitude";
+ public final static IRI p_latitude = IRI.create(s_p_latitude);
+ /**
+ * Location longitude - Change of data type to string as of version 1.2
+ *
+ */
+ public final static String s_p_longitude = "https://onerecord.iata.org/Geolocation#longitude";
+ public final static IRI p_longitude = IRI.create(s_p_longitude);
+ /**
+ * Reference of the Logistic Object to which the Connected Device is linked (URI)
+ *
+ */
+ public final static String s_p_associatedObject = "https://onerecord.iata.org/IotDevice#associatedObject";
+ public final static IRI p_associatedObject = IRI.create(s_p_associatedObject);
+ /**
+ * Natural language description of the device. It can describe how and where the device is attached.
+ *
+ */
+ public final static String s_p_deviceDescription = "https://onerecord.iata.org/IotDevice#deviceDescription";
+ public final static IRI p_deviceDescription = IRI.create(s_p_deviceDescription);
+ /**
+ * Commercial denomination of the device
+ *
+ */
+ public final static String s_p_deviceModel = "https://onerecord.iata.org/IotDevice#deviceModel";
+ public final static IRI p_deviceModel = IRI.create(s_p_deviceModel);
+ /**
+ * Name of the device defined by the device's owner
+ *
+ */
+ public final static String s_p_deviceName = "https://onerecord.iata.org/IotDevice#deviceName";
+ public final static IRI p_deviceName = IRI.create(s_p_deviceName);
+ /**
+ * Serial number that allows to uniquely identify the device
+ *
+ */
+ public final static String s_p_deviceSerialNumber = "https://onerecord.iata.org/IotDevice#deviceSerialNumber";
+ public final static IRI p_deviceSerialNumber = IRI.create(s_p_deviceSerialNumber);
+ /**
+ * Production batch number / reference
+ *
+ */
+ public final static String s_p_batchNumber = "https://onerecord.iata.org/Item#batchNumber";
+ public final static IRI p_batchNumber = IRI.create(s_p_batchNumber);
+ /**
+ * Production lot number / reference
+ *
+ */
+ public final static String s_p_lotNumber = "https://onerecord.iata.org/Item#lotNumber";
+ public final static IRI p_lotNumber = IRI.create(s_p_lotNumber);
+ /**
+ * Product expiry date - e.g. for perishables goods or goods with programmed obsolescence
+ *
+ */
+ public final static String s_p_productExpiryDate = "https://onerecord.iata.org/Item#productExpiryDate";
+ public final static IRI p_productExpiryDate = IRI.create(s_p_productExpiryDate);
+ /**
+ * Production date
+ *
+ */
+ public final static String s_p_productionDate = "https://onerecord.iata.org/Item#productionDate";
+ public final static IRI p_productionDate = IRI.create(s_p_productionDate);
+ /**
+ * Product quantity for unit price - e.g. 12 (eggs for one USD 1)
+ *
+ */
+ public final static String s_p_quantityForUnitPrice = "https://onerecord.iata.org/Item#quantityForUnitPrice";
+ public final static IRI p_quantityForUnitPrice = IRI.create(s_p_quantityForUnitPrice);
+ /**
+ * Reportable quantities, To and from the USA only
+ *
+ */
+ public final static String s_p_reportableQuantity = "https://onerecord.iata.org/ItemDg#reportableQuantity";
+ public final static IRI p_reportableQuantity = IRI.create(s_p_reportableQuantity);
+ /**
+ * Additional information that may be added in addition to the proper shipping name to more fully describe the goods or to identify a particular condition
+ *
+ */
+ public final static String s_p_supplementaryInfoPrefix = "https://onerecord.iata.org/ItemDg#supplementaryInfoPrefix";
+ public final static IRI p_supplementaryInfoPrefix = IRI.create(s_p_supplementaryInfoPrefix);
+ /**
+ * Additional information that may be added in addition to the proper shipping to more fully describe the goods or to identify a particular condition
+ *
+ */
+ public final static String s_p_supplementaryInfoSuffix = "https://onerecord.iata.org/ItemDg#supplementaryInfoSuffix";
+ public final static IRI p_supplementaryInfoSuffix = IRI.create(s_p_supplementaryInfoSuffix);
+ /**
+ * Indicates if the permit is a copy (true) or an original (false) (box 1)
+ *
+ */
+ public final static String s_p_permitCopyIndicator = "https://onerecord.iata.org/LiveAnimalsEpermit#permitCopyIndicator";
+ public final static IRI p_permitCopyIndicator = IRI.create(s_p_permitCopyIndicator);
+ /**
+ * The original number is a unique number allocated to each document by the relevant Management Authority. (box 1)
+ *
+ */
+ public final static String s_p_permitNumber = "https://onerecord.iata.org/LiveAnimalsEpermit#permitNumber";
+ public final static IRI p_permitNumber = IRI.create(s_p_permitNumber);
+ /**
+ * Code specifying the document name. (box 1)
+ *
+ */
+ public final static String s_p_permitTypeCode = "https://onerecord.iata.org/LiveAnimalsEpermit#permitTypeCode";
+ public final static IRI p_permitTypeCode = IRI.create(s_p_permitTypeCode);
+ /**
+ * Description if TypeCode is Other (box 1)
+ *
+ */
+ public final static String s_p_permitTypeOther = "https://onerecord.iata.org/LiveAnimalsEpermit#permitTypeOther";
+ public final static IRI p_permitTypeOther = IRI.create(s_p_permitTypeOther);
+ /**
+ * Permit Valid from (box 2)
+ *
+ */
+ public final static String s_p_permitValidFrom = "https://onerecord.iata.org/LiveAnimalsEpermit#permitValidFrom";
+ public final static IRI p_permitValidFrom = IRI.create(s_p_permitValidFrom);
+ /**
+ * Permit Valid until (box 2)
+ *
+ */
+ public final static String s_p_permitValidUntil = "https://onerecord.iata.org/LiveAnimalsEpermit#permitValidUntil";
+ public final static IRI p_permitValidUntil = IRI.create(s_p_permitValidUntil);
+ /**
+ * Special conditions (box 5)
+ *
+ */
+ public final static String s_p_specialConditions = "https://onerecord.iata.org/LiveAnimalsEpermit#specialConditions";
+ public final static IRI p_specialConditions = IRI.create(s_p_specialConditions);
+ /**
+ * Code indicating the purpose of the transaction (box 5a)
+ *
+ */
+ public final static String s_p_transactionPurposeCode = "https://onerecord.iata.org/LiveAnimalsEpermit#transactionPurposeCode";
+ public final static IRI p_transactionPurposeCode = IRI.create(s_p_transactionPurposeCode);
+ /**
+ * Purpose of the transaction in free text (box 5a)
+ *
+ */
+ public final static String s_p_transactionPurposeText = "https://onerecord.iata.org/LiveAnimalsEpermit#transactionPurposeText";
+ public final static IRI p_transactionPurposeText = IRI.create(s_p_transactionPurposeText);
+ /**
+ * Reference to the Air Waybill or other transport contract document (box 15)
+ *
+ */
+ public final static String s_p_transportContractId = "https://onerecord.iata.org/LiveAnimalsEpermit#transportContractId";
+ public final static IRI p_transportContractId = IRI.create(s_p_transportContractId);
+ /**
+ * Code specifying the transport document name (box 15)
+ *
+ */
+ public final static String s_p_transportContractTypeCode = "https://onerecord.iata.org/LiveAnimalsEpermit#transportContractTypeCode";
+ public final static IRI p_transportContractTypeCode = IRI.create(s_p_transportContractTypeCode);
+ /**
+ * Location code of airport, freight terminal, seaport, rail station. UN/LOCODE city code (5 letter) or IATA airport code (3 letter)
+ *
+ */
+ public final static String s_p_code = "https://onerecord.iata.org/Location#code";
+ public final static IRI p_code = IRI.create(s_p_code);
+ /**
+ * Full name of the location
+ *
+ */
+ public final static String s_p_locationName = "https://onerecord.iata.org/Location#locationName";
+ public final static IRI p_locationName = IRI.create(s_p_locationName);
+ /**
+ * Location type - e.g. Airport, Freight terminal, Rail station, Seaport, etc
+ *
+ */
+ public final static String s_p_locationType = "https://onerecord.iata.org/Location#locationType";
+ public final static IRI p_locationType = IRI.create(s_p_locationType);
+ /**
+ * Company identifier from the Internet of Logistics of the entity that hosts the Logistics Object.
+ *
+ */
+ public final static String s_p_companyIdentifier = "https://onerecord.iata.org/LogisticsObject#companyIdentifier";
+ public final static IRI p_companyIdentifier = IRI.create(s_p_companyIdentifier);
+ /**
+ * Timestamp for the measurement
+ *
+ */
+ public final static String s_p_measurementTimestamp = "https://onerecord.iata.org/Measurements#measurementTimestamp";
+ public final static IRI p_measurementTimestamp = IRI.create(s_p_measurementTimestamp);
+ /**
+ * Direction to indicate if it's Inbound or Outbound
+ *
+ */
+ public final static String s_p_direction = "https://onerecord.iata.org/MovementTimes#direction";
+ public final static IRI p_direction = IRI.create(s_p_direction);
+ /**
+ * The milestone list still needs to be defined, it includes elements from CXML Code List 1.92 but is not limited to those values, e.g. block-on and block-off times might be added as a comparison to wheels off and touchdown.
+ *
+ */
+ public final static String s_p_movementMilestone = "https://onerecord.iata.org/MovementTimes#movementMilestone";
+ public final static IRI p_movementMilestone = IRI.create(s_p_movementMilestone);
+ /**
+ * Timestamp (date and time) of the movement time. If the movement time is recorded asynchronously, the timestamp should reflect the actual time, not when the data was created.
+ *
+ */
+ public final static String s_p_movementTimestamp = "https://onerecord.iata.org/MovementTimes#movementTimestamp";
+ public final static IRI p_movementTimestamp = IRI.create(s_p_movementTimestamp);
+ /**
+ * The type of time can be Actual, Estimated ot Scheduled
+ *
+ */
+ public final static String s_p_timeType = "https://onerecord.iata.org/MovementTimes#timeType";
+ public final static IRI p_timeType = IRI.create(s_p_timeType);
+ /**
+ * Item identifier
+ *
+ */
+ public final static String s_p_identifier = "https://onerecord.iata.org/OtherIdentifier#identifier";
+ public final static IRI p_identifier = IRI.create(s_p_identifier);
+ /**
+ * Identifier type or description
+ *
+ */
+ public final static String s_p_otherIdentifierType = "https://onerecord.iata.org/OtherIdentifier#otherIdentifierType";
+ public final static IRI p_otherIdentifierType = IRI.create(s_p_otherIdentifierType);
+ /**
+ * Specifies the code of an additional party if required. Standard codes from UN/EDIFACT 3035 Party function code qualifier can be used.
+ *
+ */
+ public final static String s_p_partyTypeCode = "https://onerecord.iata.org/OtherParty#partyTypeCode";
+ public final static IRI p_partyTypeCode = IRI.create(s_p_partyTypeCode);
+ /**
+ * Role of other party - e.g. Notify party, Nominated agent, Customs broker, Manufacturer, Importer, Payer, Payee, ShipTo, ShipFrom, BillTo, BillFrom, RemitTo, RemitFrom
+ *
+ */
+ public final static String s_p_roleName = "https://onerecord.iata.org/OtherParty#roleName";
+ public final static IRI p_roleName = IRI.create(s_p_roleName);
+ /**
+ * Free Text. Describes the package type.
+ *
+ */
+ public final static String s_p_packagingTypeDescription = "https://onerecord.iata.org/PackagingType#packagingTypeDescription";
+ public final static IRI p_packagingTypeDescription = IRI.create(s_p_packagingTypeDescription);
+ /**
+ * Packaging type identifier as per UNECE Rec 21 Annex V and VI e.g. 1A - Drum, steel - Packaging material code. Identifies the Logistic Unit package type. UN Recommendation on Transport of Dangerous Goods, Model Regulations
+ *
+ */
+ public final static String s_p_typeCode = "https://onerecord.iata.org/PackagingType#typeCode";
+ public final static IRI p_typeCode = IRI.create(s_p_typeCode);
+ /**
+ * Role fo the Company in the context. Can refer to Code List 1.36 in the CXML Toolkit
+ *
+ */
+ public final static String s_p_partyRole = "https://onerecord.iata.org/Party#partyRole";
+ public final static IRI p_partyRole = IRI.create(s_p_partyRole);
+ /**
+ * Contact type - e.g. Emergency contact, Customs contact, Customer contact
+ *
+ */
+ public final static String s_p_contactType_A = "https://onerecord.iata.org/Person#contactType";
+ public final static IRI p_contactType_A = IRI.create(s_p_contactType_A);
+ /**
+ * Department / Division / Unit
+ *
+ */
+ public final static String s_p_department = "https://onerecord.iata.org/Person#department";
+ public final static IRI p_department = IRI.create(s_p_department);
+ /**
+ * Employee ID
+ *
+ */
+ public final static String s_p_employeeId = "https://onerecord.iata.org/Person#employeeId";
+ public final static IRI p_employeeId = IRI.create(s_p_employeeId);
+ /**
+ * First name / given name
+ *
+ */
+ public final static String s_p_firstName = "https://onerecord.iata.org/Person#firstName";
+ public final static IRI p_firstName = IRI.create(s_p_firstName);
+ /**
+ * Job title / position
+ *
+ */
+ public final static String s_p_jobTitle = "https://onerecord.iata.org/Person#jobTitle";
+ public final static IRI p_jobTitle = IRI.create(s_p_jobTitle);
+ /**
+ * Last name / family name / surname
+ *
+ */
+ public final static String s_p_lastName = "https://onerecord.iata.org/Person#lastName";
+ public final static IRI p_lastName = IRI.create(s_p_lastName);
+ /**
+ * Middle name/ other name
+ *
+ */
+ public final static String s_p_middleName = "https://onerecord.iata.org/Person#middleName";
+ public final static IRI p_middleName = IRI.create(s_p_middleName);
+ /**
+ * Salutation
+ *
+ */
+ public final static String s_p_salutation = "https://onerecord.iata.org/Person#salutation";
+ public final static IRI p_salutation = IRI.create(s_p_salutation);
+ /**
+ * Coload indicator for the pieces (boolean)
+ *
+ */
+ public final static String s_p_coload = "https://onerecord.iata.org/Piece#coload";
+ public final static IRI p_coload = IRI.create(s_p_coload);
+ /**
+ * The value of a shipment declared for carriage purposes , NVD if no value declared
+ *
+ */
+ public final static String s_p_declaredValueForCarriage = "https://onerecord.iata.org/Piece#declaredValueForCarriage";
+ public final static IRI p_declaredValueForCarriage = IRI.create(s_p_declaredValueForCarriage);
+ /**
+ * The value of a shipment declared for customs purposes , NVD if no value declared
+ *
+ */
+ public final static String s_p_declaredValueForCustoms = "https://onerecord.iata.org/Piece#declaredValueForCustoms";
+ public final static IRI p_declaredValueForCustoms = IRI.create(s_p_declaredValueForCustoms);
+ /**
+ * General goods description
+ *
+ */
+ public final static String s_p_goodsDescription = "https://onerecord.iata.org/Piece#goodsDescription";
+ public final static IRI p_goodsDescription = IRI.create(s_p_goodsDescription);
+ /**
+ * Specify how the piece will be delivered (bulk or ULD)
+ *
+ */
+ public final static String s_p_loadType = "https://onerecord.iata.org/Piece#loadType";
+ public final static IRI p_loadType = IRI.create(s_p_loadType);
+ /**
+ * Reference identifying how the package is marked. Field is hardcode to "SSCC-18", "UPC" or "Other"
+ *
+ */
+ public final static String s_p_packageMarkCoded = "https://onerecord.iata.org/Piece#packageMarkCoded";
+ public final static IRI p_packageMarkCoded = IRI.create(s_p_packageMarkCoded);
+ /**
+ * SSCC-18 code for the value of the package mark, company or bar code, free text, pallet code, etc.
+ *
+ */
+ public final static String s_p_packagedeIdentifier = "https://onerecord.iata.org/Piece#packagedeIdentifier";
+ public final static IRI p_packagedeIdentifier = IRI.create(s_p_packagedeIdentifier);
+ /**
+ * Shipping marks
+ *
+ */
+ public final static String s_p_shippingMarks = "https://onerecord.iata.org/Piece#shippingMarks";
+ public final static IRI p_shippingMarks = IRI.create(s_p_shippingMarks);
+ /**
+ * Shipper's Load And Count ( total contained piece count as provided by shipper)
+ *
+ */
+ public final static String s_p_slac = "https://onerecord.iata.org/Piece#slac";
+ public final static IRI p_slac = IRI.create(s_p_slac);
+ /**
+ * Stackable indicator for the pieces (boolean)
+ *
+ */
+ public final static String s_p_stackable = "https://onerecord.iata.org/Piece#stackable";
+ public final static IRI p_stackable = IRI.create(s_p_stackable);
+ /**
+ * Turnable indicator for the pieces (boolean)
+ *
+ */
+ public final static String s_p_turnable = "https://onerecord.iata.org/Piece#turnable";
+ public final static IRI p_turnable = IRI.create(s_p_turnable);
+ /**
+ * Unique Piece Identifier (UPID) of the piece. Refer IATA Recommended Practice 1689
+ *
+ */
+ public final static String s_p_upid_A = "https://onerecord.iata.org/Piece#upid";
+ public final static IRI p_upid_A = IRI.create(s_p_upid_A);
+ /**
+ * A statement identifying that the dangerous goods listed above are all contained in the same outer packaging. Takes the form All packed in one aaaa (description of packaging type) x nn (number of packages). Applies to air transport only. (Air)
+ *
+ */
+ public final static String s_p_allPackedInOneIndicator = "https://onerecord.iata.org/PieceDg#allPackedInOneIndicator";
+ public final static IRI p_allPackedInOneIndicator = IRI.create(s_p_allPackedInOneIndicator);
+ /**
+ * Applies to fissile material only, other than fissile excepted. A numeric value expressed to one decimal place preceded by the letters CSI.
+ *
+ */
+ public final static String s_p_overpackCriticalitySafetyIndexNumeric = "https://onerecord.iata.org/PieceDg#overpackCriticalitySafetyIndexNumeric";
+ public final static IRI p_overpackCriticalitySafetyIndexNumeric = IRI.create(s_p_overpackCriticalitySafetyIndexNumeric);
+ /**
+ * Overpack indicator
+ *
+ */
+ public final static String s_p_overpackIndicator = "https://onerecord.iata.org/PieceDg#overpackIndicator";
+ public final static IRI p_overpackIndicator = IRI.create(s_p_overpackIndicator);
+ /**
+ * A single number assigned to a package, overpack or freight container to provide control over radiation exposure.
+ *
+ */
+ public final static String s_p_overpackT1 = "https://onerecord.iata.org/PieceDg#overpackT1";
+ public final static IRI p_overpackT1 = IRI.create(s_p_overpackT1);
+ /**
+ * Identifies the Logistic Unit package type. UN Recommendation on Transport of Dangerous Goods, Model Regulations
+ *
+ */
+ public final static String s_p_overpackTypeCode = "https://onerecord.iata.org/PieceDg#overpackTypeCode";
+ public final static IRI p_overpackTypeCode = IRI.create(s_p_overpackTypeCode);
+ /**
+ * Most instances of all packed in one will require the addition of the Q value which 1. Applies to air transport only. (Air)
+ *
+ */
+ public final static String s_p_qValueNumeric = "https://onerecord.iata.org/PieceDg#qValueNumeric";
+ public final static IRI p_qValueNumeric = IRI.create(s_p_qValueNumeric);
+ /**
+ * Defined in Resolution Conf. 13.6 and is required for pre-Convention specimens (box 12b)
+ *
+ */
+ public final static String s_p_acquisitionDatetime = "https://onerecord.iata.org/PieceLiveAnimals#acquisitionDatetime";
+ public final static IRI p_acquisitionDatetime = IRI.create(s_p_acquisitionDatetime);
+ /**
+ * total number of specimens exported in the current calendar year and the current annuela quota for the species concerned (box 11a)
+ *
+ */
+ public final static String s_p_annualQuotaQuantity = "https://onerecord.iata.org/PieceLiveAnimals#annualQuotaQuantity";
+ public final static IRI p_annualQuotaQuantity = IRI.create(s_p_annualQuotaQuantity);
+ /**
+ * Operations code ID. Refers to the number of the registered captive-breeding or artifical propagation operation (box 12b)
+ *
+ */
+ public final static String s_p_categoryCode = "https://onerecord.iata.org/PieceLiveAnimals#categoryCode";
+ public final static IRI p_categoryCode = IRI.create(s_p_categoryCode);
+ /**
+ * Appendix number of the convention (I, II or III) (box 10)
+ *
+ */
+ public final static String s_p_goodsTypeCode = "https://onerecord.iata.org/PieceLiveAnimals#goodsTypeCode";
+ public final static IRI p_goodsTypeCode = IRI.create(s_p_goodsTypeCode);
+ /**
+ * Appendix number of the convention (I, II or III) (box 10)
+ *
+ */
+ public final static String s_p_goodsTypeExtensionCode = "https://onerecord.iata.org/PieceLiveAnimals#goodsTypeExtensionCode";
+ public final static IRI p_goodsTypeExtensionCode = IRI.create(s_p_goodsTypeExtensionCode);
+ /**
+ * Issuing date for Origin reference permit or re-export reference Certificate (box 12)
+ *
+ */
+ public final static String s_p_originReferencePermitDatetime = "https://onerecord.iata.org/PieceLiveAnimals#originReferencePermitDatetime";
+ public final static IRI p_originReferencePermitDatetime = IRI.create(s_p_originReferencePermitDatetime);
+ /**
+ * identifier of Origin reference permit or re-export reference Certificate (box 12/12a)
+ *
+ */
+ public final static String s_p_originReferencePermitId = "https://onerecord.iata.org/PieceLiveAnimals#originReferencePermitId";
+ public final static IRI p_originReferencePermitId = IRI.create(s_p_originReferencePermitId);
+ /**
+ * Document type code of origin reference permit or re-export reference Certificate (box 12/12a)
+ *
+ */
+ public final static String s_p_originReferencePermitTypeCode = "https://onerecord.iata.org/PieceLiveAnimals#originReferencePermitTypeCode";
+ public final static IRI p_originReferencePermitTypeCode = IRI.create(s_p_originReferencePermitTypeCode);
+ /**
+ * Quantity including units (box 11)
+ *
+ */
+ public final static String s_p_quantityAnimals = "https://onerecord.iata.org/PieceLiveAnimals#quantityAnimals";
+ public final static IRI p_quantityAnimals = IRI.create(s_p_quantityAnimals);
+ /**
+ * Species common name (box 8)
+ *
+ */
+ public final static String s_p_speciesCommonName = "https://onerecord.iata.org/PieceLiveAnimals#speciesCommonName";
+ public final static IRI p_speciesCommonName = IRI.create(s_p_speciesCommonName);
+ /**
+ * Species scientific name (box 7)
+ *
+ */
+ public final static String s_p_speciesScientificName = "https://onerecord.iata.org/PieceLiveAnimals#speciesScientificName";
+ public final static IRI p_speciesScientificName = IRI.create(s_p_speciesScientificName);
+ /**
+ * Description of specimens, including age and sex if LA (box 9)
+ *
+ */
+ public final static String s_p_specimenDescription = "https://onerecord.iata.org/PieceLiveAnimals#specimenDescription";
+ public final static IRI p_specimenDescription = IRI.create(s_p_specimenDescription);
+ /**
+ * Description of specimens, CITES type code (box 9)
+ *
+ */
+ public final static String s_p_specimenTypeCode = "https://onerecord.iata.org/PieceLiveAnimals#specimenTypeCode";
+ public final static IRI p_specimenTypeCode = IRI.create(s_p_specimenTypeCode);
+ /**
+ * Charge code for carrier, eg. CA, CB, etc
+ *
+ */
+ public final static String s_p_carrierChargeCode = "https://onerecord.iata.org/Price#carrierChargeCode";
+ public final static IRI p_carrierChargeCode = IRI.create(s_p_carrierChargeCode);
+ /**
+ * Total price
+ *
+ */
+ public final static String s_p_grandTotal = "https://onerecord.iata.org/Price#grandTotal";
+ public final static IRI p_grandTotal = IRI.create(s_p_grandTotal);
+ /**
+ * Terms of validity
+ *
+ */
+ public final static String s_p_validTo = "https://onerecord.iata.org/Price#validTo";
+ public final static IRI p_validTo = IRI.create(s_p_validTo);
+ /**
+ * Indicates the specific commodity on which the rate class code is applied
+ *
+ */
+ public final static String s_p_commodityItemNumber = "https://onerecord.iata.org/Product#commodityItemNumber";
+ public final static IRI p_commodityItemNumber = IRI.create(s_p_commodityItemNumber);
+ /**
+ * Reference identifying the type of standard code to be used for the Commodity Classification (Brussels Tariff Nomenclature, EU Harmonized System Code, UN Standard International Trade Classification). Mandatory if the commodity code is more than 6 digits
+ *
+ */
+ public final static String s_p_hsCode = "https://onerecord.iata.org/Product#hsCode";
+ public final static IRI p_hsCode = IRI.create(s_p_hsCode);
+ /**
+ * Commodity description
+ *
+ */
+ public final static String s_p_hsCommodityDescription = "https://onerecord.iata.org/Product#hsCommodityDescription";
+ public final static IRI p_hsCommodityDescription = IRI.create(s_p_hsCommodityDescription);
+ /**
+ * If no Code provided, name of commodity
+ *
+ */
+ public final static String s_p_hsCommodityName = "https://onerecord.iata.org/Product#hsCommodityName";
+ public final static IRI p_hsCommodityName = IRI.create(s_p_hsCommodityName);
+ /**
+ * Issuer of the Commodity Code - e.g. Brussels Tariff Nomenclature, EU Harmonized System Code, UN Standard International Trade, etc.
+ *
+ */
+ public final static String s_p_hsType = "https://onerecord.iata.org/Product#hsType";
+ public final static IRI p_hsType = IRI.create(s_p_hsType);
+ /**
+ * Product description
+ *
+ */
+ public final static String s_p_productDescription_A = "https://onerecord.iata.org/Product#productDescription";
+ public final static IRI p_productDescription_A = IRI.create(s_p_productDescription_A);
+ /**
+ * Manufacturer's unique product identifier
+ *
+ */
+ public final static String s_p_productIdentifier = "https://onerecord.iata.org/Product#productIdentifier";
+ public final static IRI p_productIdentifier = IRI.create(s_p_productIdentifier);
+ /**
+ * Identifies the subsidiary hazard class / division identification containing a numeric field separated by a decimal. There may be 0, 1 or 2 subsidiary risk classes or divisions. If there is more than one, each should be separated by a comma. The subsidiary risk must be shown in parentheses.
+ *
+ */
+ public final static String s_p_additionalHazardClassificationId = "https://onerecord.iata.org/ProductDg#additionalHazardClassificationId";
+ public final static IRI p_additionalHazardClassificationId = IRI.create(s_p_additionalHazardClassificationId);
+ /**
+ * Contains additional information relating to an approval, permission or other specific detail applicable to the commodity (e.g. Dangerous Goods in excepted quantities)
+ *
+ */
+ public final static String s_p_authorizationInformation = "https://onerecord.iata.org/ProductDg#authorizationInformation";
+ public final static IRI p_authorizationInformation = IRI.create(s_p_authorizationInformation);
+ /**
+ * Specifies the reference to the group which identifies the kind of substances and articles that are deemed to be compatible. Mandatory field in case of transport of explosive articles or substances
+ *
+ */
+ public final static String s_p_explosiveCompatibilityGroupCode = "https://onerecord.iata.org/ProductDg#explosiveCompatibilityGroupCode";
+ public final static IRI p_explosiveCompatibilityGroupCode = IRI.create(s_p_explosiveCompatibilityGroupCode);
+ /**
+ * Identifies the hazard class / division identification containing a numeric field separated by a decimal
+ *
+ */
+ public final static String s_p_hazardClassificationId = "https://onerecord.iata.org/ProductDg#hazardClassificationId";
+ public final static IRI p_hazardClassificationId = IRI.create(s_p_hazardClassificationId);
+ /**
+ * Packing group, If used must reference I, II or III
+ *
+ */
+ public final static String s_p_packagingDangerLevelCode = "https://onerecord.iata.org/ProductDg#packagingDangerLevelCode";
+ public final static IRI p_packagingDangerLevelCode = IRI.create(s_p_packagingDangerLevelCode);
+ /**
+ * The packing instruction number applicable to the UN number / proper shipping name entry. A three-numeric value which may be preceded by the letter Y. Mandatory field for air transport (Air)
+ *
+ */
+ public final static String s_p_packingInstructionNumber = "https://onerecord.iata.org/ProductDg#packingInstructionNumber";
+ public final static IRI p_packingInstructionNumber = IRI.create(s_p_packingInstructionNumber);
+ /**
+ * The name used to describe the particular article or substance as shown in the UN Model Regulations Dangerous Goods List
+ *
+ */
+ public final static String s_p_properShippingName = "https://onerecord.iata.org/ProductDg#properShippingName";
+ public final static IRI p_properShippingName = IRI.create(s_p_properShippingName);
+ /**
+ * For Air Mode: Special Provision may show a single, double or triple digit number preceded by the letter A, against appropriate entries in the List of Dangerous Goods
+ *
+ */
+ public final static String s_p_specialProvisionId = "https://onerecord.iata.org/ProductDg#specialProvisionId";
+ public final static IRI p_specialProvisionId = IRI.create(s_p_specialProvisionId);
+ /**
+ * This is additional chemical name(s) required for some proper shipping names. When added the technical must be shown in parentheses immediately following the proper shipping name.
+ *
+ */
+ public final static String s_p_technicalName = "https://onerecord.iata.org/ProductDg#technicalName";
+ public final static IRI p_technicalName = IRI.create(s_p_technicalName);
+ /**
+ * Reference identifying the United Nations Dangerous Goods serial number assigned within the UN to substances and articles contained in a list of the dangerous goods most commonly carried. e.g. 1189 - Ethylene glycol monomethyl ether acetate
+ *
+ */
+ public final static String s_p_unNumber = "https://onerecord.iata.org/ProductDg#unNumber";
+ public final static IRI p_unNumber = IRI.create(s_p_unNumber);
+ /**
+ * Amount
+ *
+ */
+ public final static String s_p_amount = "https://onerecord.iata.org/Ranges#amount";
+ public final static IRI p_amount = IRI.create(s_p_amount);
+ /**
+ * Maximum quantity
+ *
+ */
+ public final static String s_p_maximumQuantity = "https://onerecord.iata.org/Ranges#maximumQuantity";
+ public final static IRI p_maximumQuantity = IRI.create(s_p_maximumQuantity);
+ /**
+ * Minimum quantity
+ *
+ */
+ public final static String s_p_minimumQuantity = "https://onerecord.iata.org/Ranges#minimumQuantity";
+ public final static IRI p_minimumQuantity = IRI.create(s_p_minimumQuantity);
+ /**
+ * Rate class code e.g. Q
+ *
+ */
+ public final static String s_p_rateClassCode = "https://onerecord.iata.org/Ranges#rateClassCode";
+ public final static IRI p_rateClassCode = IRI.create(s_p_rateClassCode);
+ /**
+ * rating type - list uldRatingType
+ *
+ */
+ public final static String s_p_ratingType = "https://onerecord.iata.org/Ranges#ratingType";
+ public final static IRI p_ratingType = IRI.create(s_p_ratingType);
+ /**
+ * Specific commodity rates linked to commodity
+ *
+ */
+ public final static String s_p_scr = "https://onerecord.iata.org/Ranges#scr";
+ public final static IRI p_scr = IRI.create(s_p_scr);
+ /**
+ * Specific commodity code linked to commodity
+ *
+ */
+ public final static String s_p_unitBasis = "https://onerecord.iata.org/Ranges#unitBasis";
+ public final static IRI p_unitBasis = IRI.create(s_p_unitBasis);
+ /**
+ * Code of the charge e.g. MY, SC, etc.
+ *
+ */
+ public final static String s_p_chargeCode = "https://onerecord.iata.org/Ratings#chargeCode";
+ public final static IRI p_chargeCode = IRI.create(s_p_chargeCode);
+ /**
+ * Description of the charge e.g. Airfreight, fuel, etc.
+ *
+ */
+ public final static String s_p_chargeDescription = "https://onerecord.iata.org/Ratings#chargeDescription";
+ public final static IRI p_chargeDescription = IRI.create(s_p_chargeDescription);
+ /**
+ * Indicates if charge is prepaid or collect (S, P)
+ *
+ */
+ public final static String s_p_chargePaymentType = "https://onerecord.iata.org/Ratings#chargePaymentType";
+ public final static IRI p_chargePaymentType = IRI.create(s_p_chargePaymentType);
+ /**
+ * Type of charge e.g. Freight, Surcharges, etc.
+ *
+ */
+ public final static String s_p_chargeType = "https://onerecord.iata.org/Ratings#chargeType";
+ public final static IRI p_chargeType = IRI.create(s_p_chargeType);
+ /**
+ * Specification of the price e.g. Street, Group, Spot, etc.
+ *
+ */
+ public final static String s_p_priceSpecification = "https://onerecord.iata.org/Ratings#priceSpecification";
+ public final static IRI p_priceSpecification = IRI.create(s_p_priceSpecification);
+ /**
+ * Reference of price specifications
+ *
+ */
+ public final static String s_p_priceSpecificationRef = "https://onerecord.iata.org/Ratings#priceSpecificationRef";
+ public final static IRI p_priceSpecificationRef = IRI.create(s_p_priceSpecificationRef);
+ /**
+ * IATA 3-letter code of the rate combination point
+ *
+ */
+ public final static String s_p_rcp = "https://onerecord.iata.org/Ratings#rcp";
+ public final static IRI p_rcp = IRI.create(s_p_rcp);
+ /**
+ * Subtotal of the charge
+ *
+ */
+ public final static String s_p_subTotal = "https://onerecord.iata.org/Ratings#subTotal";
+ public final static IRI p_subTotal = IRI.create(s_p_subTotal);
+ /**
+ * Expiry date 4 digits month/year
+ *
+ */
+ public final static String s_p_expiryDate_A = "https://onerecord.iata.org/RegulatedEntity#expiryDate";
+ public final static IRI p_expiryDate_A = IRI.create(s_p_expiryDate_A);
+ /**
+ * Party type - e.g. RA - Regulated Agent, KC - Known Consignor, AO - Aircraft Operator, RC - Regulated Carrier
+ *
+ */
+ public final static String s_p_regulatedEntityCategory = "https://onerecord.iata.org/RegulatedEntity#regulatedEntityCategory";
+ public final static IRI p_regulatedEntityCategory = IRI.create(s_p_regulatedEntityCategory);
+ /**
+ * Reference to the Allotment as per the contracts between forwarders and carriers
+ *
+ */
+ public final static String s_p_allotment_A = "https://onerecord.iata.org/Request#allotment";
+ public final static IRI p_allotment_A = IRI.create(s_p_allotment_A);
+ /**
+ * Identification of the request type: Quote or Booking
+ *
+ */
+ public final static String s_p_requestType_A = "https://onerecord.iata.org/Request#requestType";
+ public final static IRI p_requestType_A = IRI.create(s_p_requestType_A);
+ /**
+ * Indicate the security state of the shipment, screened or not
+ *
+ */
+ public final static String s_p_shipmentSecurityStatus_A_A_A = "https://onerecord.iata.org/Request#shipmentSecurityStatus";
+ public final static IRI p_shipmentSecurityStatus_A_A_A = IRI.create(s_p_shipmentSecurityStatus_A_A_A);
+ /**
+ * Aircraft possibility code
+ *
+ */
+ public final static String s_p_aircraftPossibilityCode = "https://onerecord.iata.org/Routing#aircraftPossibilityCode";
+ public final static IRI p_aircraftPossibilityCode = IRI.create(s_p_aircraftPossibilityCode);
+ /**
+ * Latest Arrival date time (requested or proposed)
+ *
+ */
+ public final static String s_p_latestArrivalDateTime = "https://onerecord.iata.org/Routing#latestArrivalDateTime";
+ public final static IRI p_latestArrivalDateTime = IRI.create(s_p_latestArrivalDateTime);
+ /**
+ * Maximum number of connections of the transport movement (requested or proposed)
+ *
+ */
+ public final static String s_p_maxConnections = "https://onerecord.iata.org/Routing#maxConnections";
+ public final static IRI p_maxConnections = IRI.create(s_p_maxConnections);
+ /**
+ * Indicates interlining (requested or proposed)
+ *
+ */
+ public final static String s_p_onlineInd = "https://onerecord.iata.org/Routing#onlineInd";
+ public final static IRI p_onlineInd = IRI.create(s_p_onlineInd);
+ /**
+ * Indicates if RFS (Road Feeder Services) is included (requested or proposed)
+ *
+ */
+ public final static String s_p_rfsInd = "https://onerecord.iata.org/Routing#rfsInd";
+ public final static IRI p_rfsInd = IRI.create(s_p_rfsInd);
+ /**
+ * arliest acceptance date time (requested or proposed)
+ *
+ */
+ public final static String s_p_earliestAcceptanceTime_A = "https://onerecord.iata.org/Schedule#earliestAcceptanceTime";
+ public final static IRI p_earliestAcceptanceTime_A = IRI.create(s_p_earliestAcceptanceTime_A);
+ /**
+ * Latest Acceptance time as per CargoIQ definition (requested, proposed or actual)
+ *
+ */
+ public final static String s_p_latestAcceptanceTime_A_A = "https://onerecord.iata.org/Schedule#latestAcceptanceTime";
+ public final static IRI p_latestAcceptanceTime_A_A = IRI.create(s_p_latestAcceptanceTime_A_A);
+ /**
+ * Time of availability of the shipment as per CargoIQ definition
+ *
+ */
+ public final static String s_p_timeOfAvailability_A_A = "https://onerecord.iata.org/Schedule#timeOfAvailability";
+ public final static IRI p_timeOfAvailability_A_A = IRI.create(s_p_timeOfAvailability_A_A);
+ /**
+ * Total transit time as per CargoIQ definition
+ *
+ */
+ public final static String s_p_totalTransitTime_A_A = "https://onerecord.iata.org/Schedule#totalTransitTime";
+ public final static IRI p_totalTransitTime_A_A = IRI.create(s_p_totalTransitTime_A_A);
+ /**
+ * Any additional information that may be required by an ICAO Member State
+ *
+ */
+ public final static String s_p_additionalSecurityInformation = "https://onerecord.iata.org/SecurityDeclaration#additionalSecurityInformation";
+ public final static IRI p_additionalSecurityInformation = IRI.create(s_p_additionalSecurityInformation);
+ /**
+ * Exemption code - e.g. BIOM- Bio-Medical Samples
+ *
+ */
+ public final static String s_p_groundsForExemption = "https://onerecord.iata.org/SecurityDeclaration#groundsForExemption";
+ public final static IRI p_groundsForExemption = IRI.create(s_p_groundsForExemption);
+ /**
+ * Date and time when the security status was issued
+ *
+ */
+ public final static String s_p_issuedOn = "https://onerecord.iata.org/SecurityDeclaration#issuedOn";
+ public final static IRI p_issuedOn = IRI.create(s_p_issuedOn);
+ /**
+ * Other methods used to secure the cargo
+ *
+ */
+ public final static String s_p_otherScreeningMethods = "https://onerecord.iata.org/SecurityDeclaration#otherScreeningMethods";
+ public final static IRI p_otherScreeningMethods = IRI.create(s_p_otherScreeningMethods);
+ /**
+ * Screening methods which have been used to secure the cargo - e.g. EDS- Explosive Detection System
+ *
+ */
+ public final static String s_p_screeningMethod = "https://onerecord.iata.org/SecurityDeclaration#screeningMethod";
+ public final static IRI p_screeningMethod = IRI.create(s_p_screeningMethod);
+ /**
+ * Security status indicator (CXML 1.103) - e.g. SPX- Cargo Secure for Passenger and All-Cargo Aircraft
+ *
+ */
+ public final static String s_p_securityStatus_A = "https://onerecord.iata.org/SecurityDeclaration#securityStatus";
+ public final static IRI p_securityStatus_A = IRI.create(s_p_securityStatus_A);
+ /**
+ * Natural language description of the sensor
+ *
+ */
+ public final static String s_p_sensorDescription = "https://onerecord.iata.org/Sensor#sensorDescription";
+ public final static IRI p_sensorDescription = IRI.create(s_p_sensorDescription);
+ /**
+ * Name of the sensor defined by the sensor's manufacturer
+ *
+ */
+ public final static String s_p_sensorName = "https://onerecord.iata.org/Sensor#sensorName";
+ public final static IRI p_sensorName = IRI.create(s_p_sensorName);
+ /**
+ * Serial number that allows to uniquely identify the sensor
+ *
+ */
+ public final static String s_p_sensorSerialNumber = "https://onerecord.iata.org/Sensor#sensorSerialNumber";
+ public final static IRI p_sensorSerialNumber = IRI.create(s_p_sensorSerialNumber);
+ /**
+ * Type of sensor as described in Interactive Cargo RP
+ *
+ */
+ public final static String s_p_sensorType = "https://onerecord.iata.org/Sensor#sensorType";
+ public final static IRI p_sensorType = IRI.create(s_p_sensorType);
+ /**
+ * Service request code
+ *
+ */
+ public final static String s_p_code_A = "https://onerecord.iata.org/ServiceRequest#code";
+ public final static IRI p_code_A = IRI.create(s_p_code_A);
+ /**
+ * Service request description
+ *
+ */
+ public final static String s_p_serviceRequestDescription = "https://onerecord.iata.org/ServiceRequest#serviceRequestDescription";
+ public final static IRI p_serviceRequestDescription = IRI.create(s_p_serviceRequestDescription);
+ /**
+ * Service request statement text
+ *
+ */
+ public final static String s_p_statementText = "https://onerecord.iata.org/ServiceRequest#statementText";
+ public final static IRI p_statementText = IRI.create(s_p_statementText);
+ /**
+ * Service request statement type - e.g. Dangerous Goods, Lithium Ion Battery, Live Animal Certificate
+ *
+ */
+ public final static String s_p_statementType = "https://onerecord.iata.org/ServiceRequest#statementType";
+ public final static IRI p_statementType = IRI.create(s_p_statementType);
+ /**
+ * he date at which the delivery is supposed to happen. Format is YYYYMMDD.
+ *
+ */
+ public final static String s_p_deliveryDate = "https://onerecord.iata.org/Shipment#deliveryDate";
+ public final static IRI p_deliveryDate = IRI.create(s_p_deliveryDate);
+ /**
+ * General goods description
+ *
+ */
+ public final static String s_p_goodsDescription_A = "https://onerecord.iata.org/Shipment#goodsDescription";
+ public final static IRI p_goodsDescription_A = IRI.create(s_p_goodsDescription_A);
+ /**
+ * Standard codes as defined by UNCEFACT and ICC that correspond to international rules for the interpretation of the most commonly used trade terms in different countries. UNECE recommendation n. 5 Incoterms 2000.
+ *
+ */
+ public final static String s_p_incoterms = "https://onerecord.iata.org/Shipment#incoterms";
+ public final static IRI p_incoterms = IRI.create(s_p_incoterms);
+ /**
+ * payment of Other Charges will be made at origin (prepaid) or at destination (collect)
+ *
+ */
+ public final static String s_p_otherChargesIndicator = "https://onerecord.iata.org/Shipment#otherChargesIndicator";
+ public final static IRI p_otherChargesIndicator = IRI.create(s_p_otherChargesIndicator);
+ /**
+ * Total Piece Count
+ *
+ */
+ public final static String s_p_totalPieceCount = "https://onerecord.iata.org/Shipment#totalPieceCount";
+ public final static IRI p_totalPieceCount = IRI.create(s_p_totalPieceCount);
+ /**
+ * Total SLAC of all piece groups
+ *
+ */
+ public final static String s_p_totalSLAC = "https://onerecord.iata.org/Shipment#totalSLAC";
+ public final static IRI p_totalSLAC = IRI.create(s_p_totalSLAC);
+ /**
+ * payment for the Weight/Valuation will be made at origin (prepaid) or at destination (collect)
+ *
+ */
+ public final static String s_p_weightValuationIndicator = "https://onerecord.iata.org/Shipment#weightValuationIndicator";
+ public final static IRI p_weightValuationIndicator = IRI.create(s_p_weightValuationIndicator);
+ /**
+ * Special handling code following IATA standards. Refer CXML1.16, e.g. PEP - Fruits and Vegetables
+ *
+ */
+ public final static String s_p_code_A_A = "https://onerecord.iata.org/SpecialHandling#code";
+ public final static IRI p_code_A_A = IRI.create(s_p_code_A_A);
+ /**
+ * Special handling text
+ *
+ */
+ public final static String s_p_handlingText = "https://onerecord.iata.org/SpecialHandling#handlingText";
+ public final static IRI p_handlingText = IRI.create(s_p_handlingText);
+ /**
+ * Model or make of the vehicle (e.g. A330-300)
+ *
+ */
+ public final static String s_p_vehicleModel = "https://onerecord.iata.org/TransportMeans#vehicleModel";
+ public final static IRI p_vehicleModel = IRI.create(s_p_vehicleModel);
+ /**
+ * Vehicle identification - e.g. aircraft registration number
+ *
+ */
+ public final static String s_p_vehicleRegistration = "https://onerecord.iata.org/TransportMeans#vehicleRegistration";
+ public final static IRI p_vehicleRegistration = IRI.create(s_p_vehicleRegistration);
+ /**
+ * Size of the vehicle - free text
+ *
+ */
+ public final static String s_p_vehicleSize = "https://onerecord.iata.org/TransportMeans#vehicleSize";
+ public final static IRI p_vehicleSize = IRI.create(s_p_vehicleSize);
+ /**
+ * Vehicle or container type. Refer UNECE28, e.g. 4.00.0 - Aircraft, type unknown
+ *
+ */
+ public final static String s_p_vehicleType = "https://onerecord.iata.org/TransportMeans#vehicleType";
+ public final static IRI p_vehicleType = IRI.create(s_p_vehicleType);
+ /**
+ * Arrival date and time. Actual or planned depends on the movementType property
+ *
+ * Included in MovementTimes in v1.1
+ *
+ */
+ public final static String s_p_arrivalDate = "https://onerecord.iata.org/TransportMovement#arrivalDate";
+ public final static IRI p_arrivalDate = IRI.create(s_p_arrivalDate);
+ /**
+ * Departure date and time. Actual or planned depends on the movementType property
+ *
+ * Included in MovementTimes in v1.1
+ *
+ */
+ public final static String s_p_departureDate = "https://onerecord.iata.org/TransportMovement#departureDate";
+ public final static IRI p_departureDate = IRI.create(s_p_departureDate);
+ /**
+ * e.g. Kerosene, Diesel, SAF, Electricity [renewable], Electricity [non-renewable]
+ *
+ */
+ public final static String s_p_fuelType = "https://onerecord.iata.org/TransportMovement#fuelType";
+ public final static IRI p_fuelType = IRI.create(s_p_fuelType);
+ /**
+ * Mode Code
+ *
+ */
+ public final static String s_p_modeCode = "https://onerecord.iata.org/TransportMovement#modeCode";
+ public final static IRI p_modeCode = IRI.create(s_p_modeCode);
+ /**
+ * Pre-Carriage, Main-Carriage or On-Carriage
+ *
+ */
+ public final static String s_p_modeQualifier = "https://onerecord.iata.org/TransportMovement#modeQualifier";
+ public final static IRI p_modeQualifier = IRI.create(s_p_modeQualifier);
+ /**
+ * Refers to the type of movement: Actual or planned
+ *
+ */
+ public final static String s_p_movementType = "https://onerecord.iata.org/TransportMovement#movementType";
+ public final static IRI p_movementType = IRI.create(s_p_movementType);
+ /**
+ * Seal identifier
+ *
+ */
+ public final static String s_p_seal = "https://onerecord.iata.org/TransportMovement#seal";
+ public final static IRI p_seal = IRI.create(s_p_seal);
+ /**
+ * Identification of the segment level in the movement of the pieces: contractual, flight leg, truck movement, etc.
+ *
+ */
+ public final static String s_p_segmentLevel = "https://onerecord.iata.org/TransportMovement#segmentLevel";
+ public final static IRI p_segmentLevel = IRI.create(s_p_segmentLevel);
+ /**
+ * Airline flight number, or rail / truck / maritime line id
+ *
+ */
+ public final static String s_p_transportIdentifier = "https://onerecord.iata.org/TransportMovement#transportIdentifier";
+ public final static IRI p_transportIdentifier = IRI.create(s_p_transportIdentifier);
+ /**
+ * Free text field to be used for additional details regarding unplanned stops such as technical stops.
+ *
+ */
+ public final static String s_p_unplannedStop = "https://onerecord.iata.org/TransportMovement#unplannedStop";
+ public final static IRI p_unplannedStop = IRI.create(s_p_unplannedStop);
+ /**
+ * US / ATA Unit Load Device type code e.g. M2
+ *
+ */
+ public final static String s_p_ataDesignator = "https://onerecord.iata.org/ULD#ataDesignator";
+ public final static IRI p_ataDesignator = IRI.create(s_p_ataDesignator);
+ /**
+ * Indicates if the ULD is Damaged
+ *
+ */
+ public final static String s_p_damageFlag = "https://onerecord.iata.org/ULD#damageFlag";
+ public final static IRI p_damageFlag = IRI.create(s_p_damageFlag);
+ /**
+ * Contains three designator of demurrage code, refer to RP 1654 (BCC, HHH, XXX, ZZZ)
+ *
+ */
+ public final static String s_p_demurrageCode = "https://onerecord.iata.org/ULD#demurrageCode";
+ public final static IRI p_demurrageCode = IRI.create(s_p_demurrageCode);
+ /**
+ * ULD height or loading limitation code. Refer CXML Code List 1.47, e.g. R - ULD Height above 244 centimetres
+ *
+ */
+ public final static String s_p_loadingIndicator = "https://onerecord.iata.org/ULD#loadingIndicator";
+ public final static IRI p_loadingIndicator = IRI.create(s_p_loadingIndicator);
+ /**
+ * Number of doors
+ *
+ */
+ public final static String s_p_nbDoor = "https://onerecord.iata.org/ULD#nbDoor";
+ public final static IRI p_nbDoor = IRI.create(s_p_nbDoor);
+ /**
+ * Number of fittings
+ *
+ */
+ public final static String s_p_nbFittings = "https://onerecord.iata.org/ULD#nbFittings";
+ public final static IRI p_nbFittings = IRI.create(s_p_nbFittings);
+ /**
+ * Number of nets
+ *
+ */
+ public final static String s_p_nbNets = "https://onerecord.iata.org/ULD#nbNets";
+ public final static IRI p_nbNets = IRI.create(s_p_nbNets);
+ /**
+ * Number of straps
+ *
+ */
+ public final static String s_p_nbStraps = "https://onerecord.iata.org/ULD#nbStraps";
+ public final static IRI p_nbStraps = IRI.create(s_p_nbStraps);
+ /**
+ * Contains two designator codes of ODLN or Operational Damage Limit Notices. ODLN code is used to define type of damage after visually check the serviceability of ULDs section 7, Standard Specifications 40/3 or 40/4 in ULD Regulations
+ *
+ */
+ public final static String s_p_odlnCode = "https://onerecord.iata.org/ULD#odlnCode";
+ public final static IRI p_odlnCode = IRI.create(s_p_odlnCode);
+ /**
+ * Owner code of the ULD in aa, an or na format - owner can be an airline or leasing company
+ *
+ */
+ public final static String s_p_ownerCode = "https://onerecord.iata.org/ULD#ownerCode";
+ public final static IRI p_ownerCode = IRI.create(s_p_ownerCode);
+ /**
+ * ULD serial number
+ *
+ */
+ public final static String s_p_serialNumber = "https://onerecord.iata.org/ULD#serialNumber";
+ public final static IRI p_serialNumber = IRI.create(s_p_serialNumber);
+ /**
+ * Designator of serviceablity condition e.g. SER or DAM
+ *
+ */
+ public final static String s_p_serviceabilityCode = "https://onerecord.iata.org/ULD#serviceabilityCode";
+ public final static IRI p_serviceabilityCode = IRI.create(s_p_serviceabilityCode);
+ /**
+ * Remarks or Supplement Information
+ *
+ */
+ public final static String s_p_uldRemarks = "https://onerecord.iata.org/ULD#uldRemarks";
+ public final static IRI p_uldRemarks = IRI.create(s_p_uldRemarks);
+ /**
+ * ULD seal number if applicable
+ *
+ */
+ public final static String s_p_uldSealNumber = "https://onerecord.iata.org/ULD#uldSealNumber";
+ public final static IRI p_uldSealNumber = IRI.create(s_p_uldSealNumber);
+ /**
+ * Standard Unit Load Device type code e.g. AKE - Certified Container - Contoured
+ *
+ */
+ public final static String s_p_uldTypeCode = "https://onerecord.iata.org/ULD#uldTypeCode";
+ public final static IRI p_uldTypeCode = IRI.create(s_p_uldTypeCode);
+ /**
+ * Unit of measurement/ unit of account e.g. CMT - Centimetre, LTR - Litre (1 DM3), KGM - Kilogram, CHF - Swiss Franc
+ *
+ */
+ public final static String s_p_unit = "https://onerecord.iata.org/Value#unit";
+ public final static IRI p_unit = IRI.create(s_p_unit);
+ /**
+ * Value
+ *
+ */
+ public final static String s_p_value_A = "https://onerecord.iata.org/Value#value";
+ public final static IRI p_value_A = IRI.create(s_p_value_A);
+ /**
+ * Indicates the details of accounting information. Free text e.g. PAYMENT BY CERTIFIED CHEQUE etc.
+ *
+ */
+ public final static String s_p_accountingInformation = "https://onerecord.iata.org/Waybill#accountingInformation";
+ public final static IRI p_accountingInformation = IRI.create(s_p_accountingInformation);
+ /**
+ * Charges levied at destination accruing to the last carrier, in destination currency
+ *
+ */
+ public final static String s_p_destinationCharges = "https://onerecord.iata.org/Waybill#destinationCharges";
+ public final static IRI p_destinationCharges = IRI.create(s_p_destinationCharges);
+ /**
+ * ISO 3-letter currency code of destination
+ *
+ */
+ public final static String s_p_destinationCurrencyCode = "https://onerecord.iata.org/Waybill#destinationCurrencyCode";
+ public final static IRI p_destinationCurrencyCode = IRI.create(s_p_destinationCurrencyCode);
+ /**
+ * Conversion rate applied
+ *
+ */
+ public final static String s_p_destinationCurrencyRate = "https://onerecord.iata.org/Waybill#destinationCurrencyRate";
+ public final static IRI p_destinationCurrencyRate = IRI.create(s_p_destinationCurrencyRate);
+ /**
+ * The shipper or its Agent may enter the appropriate optional shipping
+ *
+ */
+ public final static String s_p_optionalShippingInfo = "https://onerecord.iata.org/Waybill#optionalShippingInfo";
+ public final static IRI p_optionalShippingInfo = IRI.create(s_p_optionalShippingInfo);
+ /**
+ * Optional shipping reference number if any
+ *
+ */
+ public final static String s_p_optionalShippingRefNo = "https://onerecord.iata.org/Waybill#optionalShippingRefNo";
+ public final static IRI p_optionalShippingRefNo = IRI.create(s_p_optionalShippingRefNo);
+ /**
+ * House or Master Waybill unique identifier
+ *
+ */
+ public final static String s_p_waybillNumber_A_A_A = "https://onerecord.iata.org/Waybill#waybillNumber";
+ public final static IRI p_waybillNumber_A_A_A = IRI.create(s_p_waybillNumber_A_A_A);
+ /**
+ * Prefix used for the Waybill Number
+ *
+ */
+ public final static String s_p_waybillPrefix = "https://onerecord.iata.org/Waybill#waybillPrefix";
+ public final static IRI p_waybillPrefix = IRI.create(s_p_waybillPrefix);
+ /**
+ * Type of the Waybill: House, Direct or Master
+ *
+ */
+ public final static String s_p_waybillType = "https://onerecord.iata.org/Waybill#waybillType";
+ public final static IRI p_waybillType = IRI.create(s_p_waybillType);
+ public final static String s_p_description = "http://purl.org/dc/elements/1.1/description";
+ public final static IRI p_description = IRI.create(s_p_description);
+ public final static String s_p_title = "http://purl.org/dc/elements/1.1/title";
+ public final static IRI p_title = IRI.create(s_p_title);
+ public final static String s_p__abstract = "http://purl.org/dc/terms/abstract";
+ public final static IRI p__abstract = IRI.create(s_p__abstract);
+ public final static String s_p_modified = "http://purl.org/dc/terms/modified";
+ public final static IRI p_modified = IRI.create(s_p_modified);
+ public final static String s_p_title_A = "http://purl.org/dc/terms/title";
+ public final static IRI p_title_A = IRI.create(s_p_title_A);
+ public final static String s_p_comment = "http://www.w3.org/2000/01/rdf-schema#comment";
+ public final static IRI p_comment = IRI.create(s_p_comment);
+ public final static String s_p_label = "http://www.w3.org/2000/01/rdf-schema#label";
+ public final static IRI p_label = IRI.create(s_p_label);
+ public final static String s_p_deprecated = "http://www.w3.org/2002/07/owl#deprecated";
+ public final static IRI p_deprecated = IRI.create(s_p_deprecated);
+ public final static String s_p_maxCardinality = "http://www.w3.org/2002/07/owl#maxCardinality";
+ public final static IRI p_maxCardinality = IRI.create(s_p_maxCardinality);
+ public final static String s_p_minCardinality = "http://www.w3.org/2002/07/owl#minCardinality";
+ public final static IRI p_minCardinality = IRI.create(s_p_minCardinality);
+ public final static String s_p_versionInfo = "http://www.w3.org/2002/07/owl#versionInfo";
+ public final static IRI p_versionInfo = IRI.create(s_p_versionInfo);
+
+}
diff --git a/src/main/java/org/iata/cargo/codelists/ContactTypeCode.java b/src/main/java/org/iata/cargo/codelists/ContactTypeCode.java
new file mode 100755
index 0000000..dd1fd8a
--- /dev/null
+++ b/src/main/java/org/iata/cargo/codelists/ContactTypeCode.java
@@ -0,0 +1,30 @@
+package org.iata.cargo.codelists;
+
+/**
+ * Valid codes listed as enum - note that the {@link #code()} needs to be used to access the ONE Record code value.
+ *
+ * NOTE: This is not generated from the Ontology but hand-crafted!
+ * NOTE: See https://github.com/IATA-Cargo/ONE-Record/issues/92 for "Standard values of enumerations"
+ */
+public enum ContactTypeCode {
+
+ EMAIL("Email address"),
+ FAX("Fax number"),
+ PHONE("Phone number"),
+ TELEX("Telex"),
+ WEB("Website"),
+ ALTERNATE_EMAIL("Alternate email address"),
+ ALTERNATE_PHONE("Alternate phone number"),
+ ;
+
+ private final String code;
+
+ private ContactTypeCode(String code) {
+ this.code = code;
+ }
+
+ public String code() {
+ return code;
+ }
+
+}
diff --git a/src/main/java/org/iata/cargo/codelists/MovementIndicatorCode.java b/src/main/java/org/iata/cargo/codelists/MovementIndicatorCode.java
new file mode 100755
index 0000000..00b64f7
--- /dev/null
+++ b/src/main/java/org/iata/cargo/codelists/MovementIndicatorCode.java
@@ -0,0 +1,40 @@
+package org.iata.cargo.codelists;
+
+/**
+ * Valid codes listed as enum - note that the {@link #code()} needs to be used to access the ONE Record code value.
+ *
+ * NOTE: This is not generated from the Ontology but hand-crafted!
+ * NOTE: See https://github.com/IATA-Cargo/ONE-Record/issues/92 for "Standard values of enumerations"
+ */
+public enum MovementIndicatorCode {
+
+ ACTUALARRIVAL("AA"),
+ ACTUALDEPARTURE("AD"),
+ ESTIMATEDARRIVAL("EA"),
+ ESTIMATEDDEPARTURE("ED"),
+ DELAYED("DL"),
+ NEXTINFORMATION("NI"),
+ SCHEDULEDARRIVAL("SA"),
+ SCHEDULEDDEPARTURE("SD"),
+ CANCELLATION("CN"),
+ /** Note: subject to approval by IATA Cargo Service Conference (CSC) */
+ DIVERSION("DV"),
+ /** Note: subject to approval by IATA Cargo Service Conference (CSC) */
+ DOCARRIVAL("DA"),
+ /** Note: subject to approval by IATA Cargo Service Conference (CSC) */
+ FORCERETURN("FR"),
+ /** Note: subject to approval by IATA Cargo Service Conference (CSC) */
+ RETURNTORAMP("RR"),
+ ;
+
+ private final String code;
+
+ private MovementIndicatorCode(String code) {
+ this.code = code;
+ }
+
+ public String code() {
+ return code;
+ }
+
+}
diff --git a/src/main/java/org/iata/cargo/codelists/PartyRoleCode.java b/src/main/java/org/iata/cargo/codelists/PartyRoleCode.java
new file mode 100755
index 0000000..b827dd1
--- /dev/null
+++ b/src/main/java/org/iata/cargo/codelists/PartyRoleCode.java
@@ -0,0 +1,40 @@
+package org.iata.cargo.codelists;
+
+/**
+ * Valid codes listed as enum - note that the {@link #code()} needs to be used to access the ONE Record code value.
+ *
+ * NOTE: This is not generated from the Ontology but hand-crafted!
+ * NOTE: See https://github.com/IATA-Cargo/ONE-Record/issues/92 for "Standard values of enumerations"
+ */
+public enum PartyRoleCode {
+
+ AGT("Agent"),
+ AIRLINE("Airline"),
+ AIRPORT("Airport Authority"),
+ BROKER("Broker"),
+ COMMISSIONABLEAGENT("Commissionable Agent"),
+ CNE("Consignee"),
+ CUSTOMS("Customs"),
+ DECLARANT("Declarant"),
+ DECONSOLIDATOR("Deconsolidator"),
+ FFW("Freight Forwarder"),
+ GHA("Ground Handling Agent"),
+ NOM("Nominated freight company"),
+ NFY("Notify Party"),
+ OPI("Other Participant Identifier"),
+ POSTOFFICE("Post Office"),
+ SHP("Shipper"),
+ TRUCKER("Trucker"),
+ ;
+
+ private final String code;
+
+ private PartyRoleCode(String code) {
+ this.code = code;
+ }
+
+ public String code() {
+ return code;
+ }
+
+}
diff --git a/src/main/java/org/iata/cargo/codelists/WaybillTypeCode.java b/src/main/java/org/iata/cargo/codelists/WaybillTypeCode.java
new file mode 100755
index 0000000..d6d4013
--- /dev/null
+++ b/src/main/java/org/iata/cargo/codelists/WaybillTypeCode.java
@@ -0,0 +1,26 @@
+package org.iata.cargo.codelists;
+
+/**
+ * Valid codes listed as enum - note that the {@link #code()} needs to be used to access the ONE Record code value.
+ *
+ * NOTE: This is not generated from the Ontology but hand-crafted!
+ * NOTE: See https://github.com/IATA-Cargo/ONE-Record/issues/92 for "Standard values of enumerations"
+ */
+public enum WaybillTypeCode {
+
+ MASTER("Master"),
+ DIRECT("Direct"),
+ HOUSE("House"),
+ ;
+
+ private final String code;
+
+ private WaybillTypeCode(String code) {
+ this.code = code;
+ }
+
+ public String code() {
+ return code;
+ }
+
+}
diff --git a/src/main/java/org/iata/cargo/model/Address.java b/src/main/java/org/iata/cargo/model/Address.java
new file mode 100755
index 0000000..2286780
--- /dev/null
+++ b/src/main/java/org/iata/cargo/model/Address.java
@@ -0,0 +1,267 @@
+
+package org.iata.cargo.model;
+
+import java.io.Serializable;
+import java.util.Map;
+import java.util.Set;
+
+import org.iata.cargo.Vocabulary;
+
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+import cz.cvut.kbss.jopa.model.annotations.Id;
+import cz.cvut.kbss.jopa.model.annotations.OWLAnnotationProperty;
+import cz.cvut.kbss.jopa.model.annotations.OWLClass;
+import cz.cvut.kbss.jopa.model.annotations.OWLDataProperty;
+import cz.cvut.kbss.jopa.model.annotations.OWLObjectProperty;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraint;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraints;
+import cz.cvut.kbss.jopa.model.annotations.Properties;
+import cz.cvut.kbss.jopa.model.annotations.Types;
+import cz.cvut.kbss.jopa.vocabulary.DC;
+import cz.cvut.kbss.jopa.vocabulary.RDFS;
+import io.swagger.annotations.ApiModelProperty;
+
+
+/**
+ * Address details
+ *
+ * This class was generated by OWL2Java 0.16.4
+ *
+ */
+@OWLClass(iri = Vocabulary.s_c_Address)
+public class Address
+ implements Serializable
+{
+
+ @Id(generated = true)
+ @ApiModelProperty(readOnly = true)
+ protected String id;
+ @JsonIgnore
+ @OWLAnnotationProperty(iri = RDFS.LABEL)
+ protected String name;
+ @JsonIgnore
+ @OWLAnnotationProperty(iri = cz.cvut.kbss.jopa.vocabulary.DC.Elements.DESCRIPTION)
+ protected String description;
+ @Types
+ @JsonProperty("@type")
+ @ApiModelProperty(allowableValues = Vocabulary.s_c_Address)
+ protected Set types;
+ @Properties
+ @JsonIgnore
+ protected Map> properties;
+ @JsonProperty("language")
+ @OWLAnnotationProperty(iri = DC.Terms.LANGUAGE)
+ protected String language;
+
+ /**
+ * Country details
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_country)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_country)
+ protected Country country;
+ /**
+ * Address identifier using special coding systems e.g. US CBP FIRMS code
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_addressCode)
+ @JsonProperty(Vocabulary.s_p_addressCode)
+ protected Set addressCode;
+ /**
+ * UN/LOCODE city code (5 letter) or IATA city code (3 letter)
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_cityCode)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_cityCode)
+ protected String cityCode;
+ /**
+ * If no CityCode provided, full name of the city
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_cityName)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_cityName)
+ protected String cityName;
+ /**
+ * Post Office box number / code
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_poBox)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_poBox)
+ protected String poBox;
+ /**
+ * Postal / ZIP code
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_postalCode)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_postalCode)
+ protected String postalCode;
+ /**
+ * Region/ State / Department. Refer ISO 3166-2
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_regionCode)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_regionCode)
+ protected String regionCode;
+ /**
+ * If no StateCode provided, full name of the region / state / province / canton
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_regionName)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_regionName)
+ protected String regionName;
+ /**
+ * Street address including street name, street number, building number, apartment etc
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_street)
+ @JsonProperty(Vocabulary.s_p_street)
+ protected Set street;
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public String getId() {
+ return id;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ public String getDescription() {
+ return description;
+ }
+
+ public void setTypes(Set types) {
+ this.types = types;
+ }
+
+ public Set getTypes() {
+ return types;
+ }
+
+ public void setProperties(Map> properties) {
+ this.properties = properties;
+ }
+
+ public Map> getProperties() {
+ return properties;
+ }
+
+ @Override
+ public String toString() {
+ return ((((("Address {"+ name)+"<")+ id)+">")+"}");
+ }
+
+ public void setCountry(Country country) {
+ this.country = country;
+ }
+
+ public Country getCountry() {
+ return country;
+ }
+
+ public void setAddressCode(Set addressCode) {
+ this.addressCode = addressCode;
+ }
+
+ public Set getAddressCode() {
+ return addressCode;
+ }
+
+ public void setCityCode(String cityCode) {
+ this.cityCode = cityCode;
+ }
+
+ public String getCityCode() {
+ return cityCode;
+ }
+
+ public void setCityName(String cityName) {
+ this.cityName = cityName;
+ }
+
+ public String getCityName() {
+ return cityName;
+ }
+
+ public void setPoBox(String poBox) {
+ this.poBox = poBox;
+ }
+
+ public String getPoBox() {
+ return poBox;
+ }
+
+ public void setPostalCode(String postalCode) {
+ this.postalCode = postalCode;
+ }
+
+ public String getPostalCode() {
+ return postalCode;
+ }
+
+ public void setRegionCode(String regionCode) {
+ this.regionCode = regionCode;
+ }
+
+ public String getRegionCode() {
+ return regionCode;
+ }
+
+ public void setRegionName(String regionName) {
+ this.regionName = regionName;
+ }
+
+ public String getRegionName() {
+ return regionName;
+ }
+
+ public void setStreet(Set street) {
+ this.street = street;
+ }
+
+ public Set getStreet() {
+ return street;
+ }
+
+ public String getLanguage() {
+ return language;
+ }
+
+ public void setLanguage(String language) {
+ this.language = language;
+ }
+}
diff --git a/src/main/java/org/iata/cargo/model/Booking.java b/src/main/java/org/iata/cargo/model/Booking.java
new file mode 100755
index 0000000..0fe75e5
--- /dev/null
+++ b/src/main/java/org/iata/cargo/model/Booking.java
@@ -0,0 +1,405 @@
+
+package org.iata.cargo.model;
+
+import java.io.Serializable;
+import java.util.Date;
+import java.util.Set;
+
+import org.iata.cargo.Vocabulary;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+import cz.cvut.kbss.jopa.model.annotations.OWLClass;
+import cz.cvut.kbss.jopa.model.annotations.OWLDataProperty;
+import cz.cvut.kbss.jopa.model.annotations.OWLObjectProperty;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraint;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraints;
+import cz.cvut.kbss.jopa.model.annotations.Types;
+import io.swagger.annotations.ApiModelProperty;
+
+
+/**
+ * Booking details - Deprecated, BookingOption should be used instead
+ *
+ * This class was generated by OWL2Java 0.16.4
+ *
+ */
+@OWLClass(iri = Vocabulary.s_c_Booking)
+@Deprecated
+public class Booking
+ extends LogisticsObject
+ implements Serializable
+{
+
+ @Types
+ @JsonProperty("@type")
+ @ApiModelProperty(allowableValues = Vocabulary.s_c_Booking)
+ protected Set types;
+
+ /**
+ * Carrier details
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_carrier)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, min = 1, max = -1)
+ })
+ @JsonProperty(Vocabulary.s_p_carrier)
+ protected Set carrier;
+ /**
+ * Reference to the Carrier products included in the offer
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_carrierProductInfo)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_carrierProductInfo)
+ protected CarrierProduct carrierProductInfo;
+ /**
+ * Consignee details
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_consignee)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_consignee)
+ protected Company consignee;
+ /**
+ * Freight Forwarder details
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_freightForwarder)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, min = 1, max = -1)
+ })
+ @JsonProperty(Vocabulary.s_p_freightForwarder)
+ protected Set freightForwarder;
+ /**
+ * Other parties to be notified of the booking evolution
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_notifyParty)
+ @JsonProperty(Vocabulary.s_p_notifyParty)
+ protected Set notifyParty;
+ /**
+ * Price of the Booking (if different from the offer)
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_price)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_price)
+ protected Price price;
+ /**
+ * Reference to the Request
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_requestRef)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_requestRef)
+ protected Request requestRef;
+ /**
+ * Routing details of the offer, to be compared with routing preferences of the quote request
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_routing)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_routing)
+ protected Routing routing;
+ /**
+ * Details of the shipement that is to be shipped
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_shipmentDetails)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_shipmentDetails)
+ protected Shipment shipmentDetails;
+ /**
+ * Shipper information
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_shipper)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_shipper)
+ protected Company shipper;
+ /**
+ * Transport segment linked to the offer, including the Departure and Arrival locations
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_transportMovement)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_transportMovement)
+ protected TransportSegment transportMovement;
+ /**
+ * House or Master Waybill unique identifier
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_waybillNumber)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_waybillNumber)
+ protected Waybill waybillNumber;
+ /**
+ * Status of the Booking with regards to the step in the Quote and Book process: Quoted, Booked
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_bookingStatus)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/1999/02/22-rdf-syntax-ns#PlainLiteral", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_bookingStatus)
+ protected String bookingStatus;
+ /**
+ * Latest Acceptance time as per CargoIQ definition
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_latestAcceptanceTime)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#dateTime", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_latestAcceptanceTime)
+ protected Date latestAcceptanceTime;
+ /**
+ * Indicates if the offer is a perfect match to the quote request (boolean)
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_requestMatchInd)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#boolean", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_requestMatchInd)
+ protected Boolean requestMatchInd;
+ /**
+ * Indicate the secruty state of the shipment, screened or not
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_shipmentSecurityStatus)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/1999/02/22-rdf-syntax-ns#PlainLiteral", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_shipmentSecurityStatus)
+ protected String shipmentSecurityStatus;
+ /**
+ * Time of availability of the shipment as per CargoIQ definition
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_timeOfAvailability)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#dateTime", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_timeOfAvailability)
+ protected Date timeOfAvailability;
+ /**
+ * Total transit time as per CargoIQ definition
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_totalTransitTime)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/1999/02/22-rdf-syntax-ns#PlainLiteral", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_totalTransitTime)
+ protected String totalTransitTime;
+
+ @Deprecated
+ public void setCarrier(Set carrier) {
+ this.carrier = carrier;
+ }
+
+ @Deprecated
+ public Set getCarrier() {
+ return carrier;
+ }
+
+ @Deprecated
+ public void setCarrierProductInfo(CarrierProduct carrierProductInfo) {
+ this.carrierProductInfo = carrierProductInfo;
+ }
+
+ @Deprecated
+ public CarrierProduct getCarrierProductInfo() {
+ return carrierProductInfo;
+ }
+
+ @Deprecated
+ public void setConsignee(Company consignee) {
+ this.consignee = consignee;
+ }
+
+ @Deprecated
+ public Company getConsignee() {
+ return consignee;
+ }
+
+ @Deprecated
+ public void setFreightForwarder(Set freightForwarder) {
+ this.freightForwarder = freightForwarder;
+ }
+
+ @Deprecated
+ public Set getFreightForwarder() {
+ return freightForwarder;
+ }
+
+ @Deprecated
+ public void setNotifyParty(Set notifyParty) {
+ this.notifyParty = notifyParty;
+ }
+
+ @Deprecated
+ public Set getNotifyParty() {
+ return notifyParty;
+ }
+
+ @Deprecated
+ public void setPrice(Price price) {
+ this.price = price;
+ }
+
+ @Deprecated
+ public Price getPrice() {
+ return price;
+ }
+
+ @Deprecated
+ public void setRequestRef(Request requestRef) {
+ this.requestRef = requestRef;
+ }
+
+ @Deprecated
+ public Request getRequestRef() {
+ return requestRef;
+ }
+
+ @Deprecated
+ public void setRouting(Routing routing) {
+ this.routing = routing;
+ }
+
+ @Deprecated
+ public Routing getRouting() {
+ return routing;
+ }
+
+ @Deprecated
+ public void setShipmentDetails(Shipment shipmentDetails) {
+ this.shipmentDetails = shipmentDetails;
+ }
+
+ @Deprecated
+ public Shipment getShipmentDetails() {
+ return shipmentDetails;
+ }
+
+ @Deprecated
+ public void setShipper(Company shipper) {
+ this.shipper = shipper;
+ }
+
+ @Deprecated
+ public Company getShipper() {
+ return shipper;
+ }
+
+ @Deprecated
+ public void setTransportMovement(TransportSegment transportMovement) {
+ this.transportMovement = transportMovement;
+ }
+
+ @Deprecated
+ public TransportSegment getTransportMovement() {
+ return transportMovement;
+ }
+
+ @Deprecated
+ public void setWaybillNumber(Waybill waybillNumber) {
+ this.waybillNumber = waybillNumber;
+ }
+
+ @Deprecated
+ public Waybill getWaybillNumber() {
+ return waybillNumber;
+ }
+
+ @Deprecated
+ public void setBookingStatus(String bookingStatus) {
+ this.bookingStatus = bookingStatus;
+ }
+
+ @Deprecated
+ public String getBookingStatus() {
+ return bookingStatus;
+ }
+
+ @Deprecated
+ public void setLatestAcceptanceTime(Date latestAcceptanceTime) {
+ this.latestAcceptanceTime = latestAcceptanceTime;
+ }
+
+ @Deprecated
+ public Date getLatestAcceptanceTime() {
+ return latestAcceptanceTime;
+ }
+
+ @Deprecated
+ public void setRequestMatchInd(Boolean requestMatchInd) {
+ this.requestMatchInd = requestMatchInd;
+ }
+
+ @Deprecated
+ public Boolean getRequestMatchInd() {
+ return requestMatchInd;
+ }
+
+ @Deprecated
+ public void setShipmentSecurityStatus(String shipmentSecurityStatus) {
+ this.shipmentSecurityStatus = shipmentSecurityStatus;
+ }
+
+ @Deprecated
+ public String getShipmentSecurityStatus() {
+ return shipmentSecurityStatus;
+ }
+
+ @Deprecated
+ public void setTimeOfAvailability(Date timeOfAvailability) {
+ this.timeOfAvailability = timeOfAvailability;
+ }
+
+ @Deprecated
+ public Date getTimeOfAvailability() {
+ return timeOfAvailability;
+ }
+
+ @Deprecated
+ public void setTotalTransitTime(String totalTransitTime) {
+ this.totalTransitTime = totalTransitTime;
+ }
+
+ @Deprecated
+ public String getTotalTransitTime() {
+ return totalTransitTime;
+ }
+
+ public Set getTypes() {
+ return types;
+ }
+
+ public void setTypes(Set types) {
+ this.types = types;
+ }
+
+}
diff --git a/src/main/java/org/iata/cargo/model/BookingOption.java b/src/main/java/org/iata/cargo/model/BookingOption.java
new file mode 100755
index 0000000..737cb79
--- /dev/null
+++ b/src/main/java/org/iata/cargo/model/BookingOption.java
@@ -0,0 +1,439 @@
+
+package org.iata.cargo.model;
+
+import java.io.Serializable;
+import java.util.Date;
+import java.util.Set;
+
+import org.iata.cargo.Vocabulary;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+import cz.cvut.kbss.jopa.model.annotations.OWLClass;
+import cz.cvut.kbss.jopa.model.annotations.OWLDataProperty;
+import cz.cvut.kbss.jopa.model.annotations.OWLObjectProperty;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraint;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraints;
+import cz.cvut.kbss.jopa.model.annotations.Types;
+import io.swagger.annotations.ApiModelProperty;
+
+
+/**
+ * Booking details
+ *
+ * This class was generated by OWL2Java 0.16.4
+ *
+ */
+@OWLClass(iri = Vocabulary.s_c_BookingOption)
+public class BookingOption
+ extends LogisticsObject
+ implements Serializable
+{
+
+ @Types
+ @JsonProperty("@type")
+ @ApiModelProperty(allowableValues = Vocabulary.s_c_BookingOption)
+ protected Set types;
+
+ /**
+ * Booking Segment of the Booking Option
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_bookingSegment)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_bookingSegment)
+ protected BookingSegment bookingSegment;
+ /**
+ * booking times details of the Booking Option (proposed or actual)
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_bookingTimes)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_bookingTimes)
+ protected BookingTimes bookingTimes;
+ /**
+ * Carrier details
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_carrier_A)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_carrier_A)
+ protected Company carrier;
+ /**
+ * Reference to the Carrier products included in the offer
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_carrierProductInfo_A)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_carrierProductInfo_A)
+ protected CarrierProduct carrierProductInfo;
+ /**
+ * Consignee details
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_consignee_A)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_consignee_A)
+ protected Set consignee;
+ /**
+ * Freight forwarder details
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_freightForwarder_A)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, min = 1, max = -1)
+ })
+ @JsonProperty(Vocabulary.s_p_freightForwarder_A)
+ protected Set freightForwarder;
+ /**
+ * Other parties to be notified of the booking evolution
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_notifyParty_A)
+ @JsonProperty(Vocabulary.s_p_notifyParty_A)
+ protected Set notifyParty;
+
+ /**
+ * Parties involved in the Booking Option (e.g. shipper, forwarder, ...)
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_parties)
+ @JsonProperty(Vocabulary.s_p_parties)
+ protected Set parties;
+ /**
+ * Price of the Booking (if different from the offer)
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_price_A)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_price_A)
+ protected Price price;
+ /**
+ * Reference to the Booking option request
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_requestRef_A)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_requestRef_A)
+ protected BookingOptionRequest requestRef;
+ /**
+ * Routing details of the offer, to be compared with routing preferences of the quote request
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_routing_A)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_routing_A)
+ protected Routing routing;
+ /**
+ * Schedule details of the Booking Option (proposed or actual)
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_schedule)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_schedule)
+ protected Schedule schedule;
+ /**
+ * Details of the shipement that is to be shipped
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_shipmentDetails_A)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_shipmentDetails_A)
+ protected Shipment shipmentDetails;
+ /**
+ * Shipper details
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_shipper_A)
+ @JsonProperty(Vocabulary.s_p_shipper_A)
+ protected Set shipper;
+ /**
+ * Transport segment linked to the offer, including the Departure and Arrival locations
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_transportMovement_A)
+ @JsonProperty(Vocabulary.s_p_transportMovement_A)
+ protected Set transportMovement;
+ /**
+ * House or Master Waybill unique identifier
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_waybillNumber_A)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_waybillNumber_A)
+ protected Waybill waybillNumber;
+ /**
+ * Status of the Booking with regards to the step in the Quote and Book process: Quoted, Booked
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_bookingStatus_A)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_bookingStatus_A)
+ protected String bookingStatus;
+ /**
+ * Starting datetime of availability of the booking option
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_offerValidFrom)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#dateTime", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_offerValidFrom)
+ protected Date offerValidFrom;
+ /**
+ * Ending datetime of availability of the booking option
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_offerValidTo)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#dateTime", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_offerValidTo)
+ protected Date offerValidTo;
+ /**
+ * Indicates if the offer is a perfect match to the quote request (boolean)
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_requestMatchInd_A)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#boolean", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_requestMatchInd_A)
+ protected Boolean requestMatchInd;
+ /**
+ * Indicate the secruty state of the shipment, screened or not
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_shipmentSecurityStatus_A)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_shipmentSecurityStatus_A)
+ protected String shipmentSecurityStatus;
+
+ public void setBookingSegment(BookingSegment bookingSegment) {
+ this.bookingSegment = bookingSegment;
+ }
+
+ public BookingSegment getBookingSegment() {
+ return bookingSegment;
+ }
+
+ public void setBookingTimes(BookingTimes bookingTimes) {
+ this.bookingTimes = bookingTimes;
+ }
+
+ public BookingTimes getBookingTimes() {
+ return bookingTimes;
+ }
+
+ public void setCarrier(Company carrier) {
+ this.carrier = carrier;
+ }
+
+ public Company getCarrier() {
+ return carrier;
+ }
+
+ public void setCarrierProductInfo(CarrierProduct carrierProductInfo) {
+ this.carrierProductInfo = carrierProductInfo;
+ }
+
+ public CarrierProduct getCarrierProductInfo() {
+ return carrierProductInfo;
+ }
+
+ /**
+ * @deprecated use {@link #getParties()} to adding a party
+ * @param consignee set of consignee
+ */
+ @Deprecated
+ public void setConsignee(Set consignee) {
+ this.consignee = consignee;
+ }
+
+ @Deprecated
+ public Set getConsignee() {
+ return consignee;
+ }
+
+ /**
+ * @deprecated use {@link #getParties()} to adding a party
+ * @param freightForwarder set of freightForwarder
+ */
+ @Deprecated
+ public void setFreightForwarder(Set freightForwarder) {
+ this.freightForwarder = freightForwarder;
+ }
+
+ @Deprecated
+ public Set getFreightForwarder() {
+ return freightForwarder;
+ }
+
+ /**
+ * @deprecated use {@link #getParties()} to adding a party
+ * @param notifyParty set of notifyParty
+ */
+ @Deprecated
+ public void setNotifyParty(Set notifyParty) {
+ this.notifyParty = notifyParty;
+ }
+
+ @Deprecated
+ public Set getNotifyParty() {
+ return notifyParty;
+ }
+
+ public void setParties(Set parties) {
+ this.parties = parties;
+ }
+
+ public Set getParties() {
+ return parties;
+ }
+
+ public void setPrice(Price price) {
+ this.price = price;
+ }
+
+ public Price getPrice() {
+ return price;
+ }
+
+ public void setRequestRef(BookingOptionRequest requestRef) {
+ this.requestRef = requestRef;
+ }
+
+ public BookingOptionRequest getRequestRef() {
+ return requestRef;
+ }
+
+ public void setRouting(Routing routing) {
+ this.routing = routing;
+ }
+
+ public Routing getRouting() {
+ return routing;
+ }
+
+ @Deprecated
+ public void setSchedule(Schedule schedule) {
+ this.schedule = schedule;
+ }
+
+ @Deprecated
+ public Schedule getSchedule() {
+ return schedule;
+ }
+
+ public void setShipmentDetails(Shipment shipmentDetails) {
+ this.shipmentDetails = shipmentDetails;
+ }
+
+ public Shipment getShipmentDetails() {
+ return shipmentDetails;
+ }
+
+ /**
+ * @deprecated use {@link #getParties()} to adding a party
+ * @param shipper set of shipper
+ */
+ @Deprecated
+ public void setShipper(Set shipper) {
+ this.shipper = shipper;
+ }
+
+ @Deprecated
+ public Set getShipper() {
+ return shipper;
+ }
+
+ public void setTransportMovement(Set transportMovement) {
+ this.transportMovement = transportMovement;
+ }
+
+ public Set getTransportMovement() {
+ return transportMovement;
+ }
+
+ public void setWaybillNumber(Waybill waybillNumber) {
+ this.waybillNumber = waybillNumber;
+ }
+
+ public Waybill getWaybillNumber() {
+ return waybillNumber;
+ }
+
+ public void setBookingStatus(String bookingStatus) {
+ this.bookingStatus = bookingStatus;
+ }
+
+ public String getBookingStatus() {
+ return bookingStatus;
+ }
+
+ public void setOfferValidFrom(Date offerValidFrom) {
+ this.offerValidFrom = offerValidFrom;
+ }
+
+ public Date getOfferValidFrom() {
+ return offerValidFrom;
+ }
+
+ public void setOfferValidTo(Date offerValidTo) {
+ this.offerValidTo = offerValidTo;
+ }
+
+ public Date getOfferValidTo() {
+ return offerValidTo;
+ }
+
+ public void setRequestMatchInd(Boolean requestMatchInd) {
+ this.requestMatchInd = requestMatchInd;
+ }
+
+ public Boolean getRequestMatchInd() {
+ return requestMatchInd;
+ }
+
+ public void setShipmentSecurityStatus(String shipmentSecurityStatus) {
+ this.shipmentSecurityStatus = shipmentSecurityStatus;
+ }
+
+ public String getShipmentSecurityStatus() {
+ return shipmentSecurityStatus;
+ }
+
+ public Set getTypes() {
+ return types;
+ }
+
+ public void setTypes(Set types) {
+ this.types = types;
+ }
+}
diff --git a/src/main/java/org/iata/cargo/model/BookingOptionRequest.java b/src/main/java/org/iata/cargo/model/BookingOptionRequest.java
new file mode 100755
index 0000000..88b9497
--- /dev/null
+++ b/src/main/java/org/iata/cargo/model/BookingOptionRequest.java
@@ -0,0 +1,285 @@
+
+package org.iata.cargo.model;
+
+import java.io.Serializable;
+import java.util.Set;
+
+import org.iata.cargo.Vocabulary;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+import cz.cvut.kbss.jopa.model.annotations.OWLClass;
+import cz.cvut.kbss.jopa.model.annotations.OWLDataProperty;
+import cz.cvut.kbss.jopa.model.annotations.OWLObjectProperty;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraint;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraints;
+import cz.cvut.kbss.jopa.model.annotations.Types;
+import io.swagger.annotations.ApiModelProperty;
+
+
+/**
+ * Request object, refers to the Quote request or Booking request
+ *
+ * This class was generated by OWL2Java 0.16.4
+ *
+ */
+@OWLClass(iri = Vocabulary.s_c_BookingOptionRequest)
+public class BookingOptionRequest
+ extends LogisticsObject
+ implements Serializable
+{
+
+ @Types
+ @JsonProperty("@type")
+ @ApiModelProperty(allowableValues = Vocabulary.s_c_BookingOptionRequest)
+ protected Set types;
+
+ /**
+ * The Booking Segment linked to the Booking Optio Request
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_bookingSegment_A)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_bookingSegment_A)
+ protected BookingSegment bookingSegment;
+ /**
+ * Parties involved if known
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_parties_A)
+ @JsonProperty(Vocabulary.s_p_parties_A)
+ protected Set parties;
+ /**
+ * Ratings preferences of the request
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_ratingsPreference)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_ratingsPreference)
+ protected Ratings ratingsPreference;
+ /**
+ * Routing details that are part of the request, these details will be used to determine if the offer is a perfect match
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_routingPreferences)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_routingPreferences)
+ protected Routing routingPreferences;
+ /**
+ * Schedule preferences of the request
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_schedulePreferences)
+ @JsonProperty(Vocabulary.s_p_schedulePreferences)
+ protected Set schedulePreferences;
+ /**
+ * Details of the shipement that is to be shipped
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_shipmentDetails_A_A)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_shipmentDetails_A_A)
+ protected Shipment shipmentDetails;
+ /**
+ * Schedule preferences of the request
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_timePreferences)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_timePreferences)
+ protected BookingTimes timePreferences;
+ /**
+ * Transport segment linked to the request, including the Departure and Arrival locations requested
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_transportMovement_A_A)
+ @JsonProperty(Vocabulary.s_p_transportMovement_A_A)
+ protected Set transportMovement;
+ /**
+ * Unit preferences of the request (e.g. kg or cm)
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_unitsPreference)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_unitsPreference)
+ protected Value unitsPreference;
+ /**
+ * Reference to the Allotment as per the contracts between forwarders and carriers
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_allotment)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_allotment)
+ protected String allotment;
+ /**
+ * Expected commodity for quote request purposes only. To be defined by MCD
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_expectedCommodities)
+ @JsonProperty(Vocabulary.s_p_expectedCommodities)
+ protected Set expectedCommodities;
+ /**
+ * Identification of the request type: Quote or Booking
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_requestType)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_requestType)
+ protected String requestType;
+ /**
+ * Requested handling information for quote request purposes only
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_requestedHandling)
+ @JsonProperty(Vocabulary.s_p_requestedHandling)
+ protected Set requestedHandling;
+ /**
+ * Indicate the security state of the shipment, screened or not
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_shipmentSecurityStatus_A_A)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_shipmentSecurityStatus_A_A)
+ protected String shipmentSecurityStatus;
+
+ public void setBookingSegment(BookingSegment bookingSegment) {
+ this.bookingSegment = bookingSegment;
+ }
+
+ public BookingSegment getBookingSegment() {
+ return bookingSegment;
+ }
+
+ public void setParties(Set parties) {
+ this.parties = parties;
+ }
+
+ public Set getParties() {
+ return parties;
+ }
+
+ public void setRatingsPreference(Ratings ratingsPreference) {
+ this.ratingsPreference = ratingsPreference;
+ }
+
+ public Ratings getRatingsPreference() {
+ return ratingsPreference;
+ }
+
+ public void setRoutingPreferences(Routing routingPreferences) {
+ this.routingPreferences = routingPreferences;
+ }
+
+ public Routing getRoutingPreferences() {
+ return routingPreferences;
+ }
+
+ @Deprecated
+ public void setSchedulePreferences(Set schedulePreferences) {
+ this.schedulePreferences = schedulePreferences;
+ }
+
+ @Deprecated
+ public Set getSchedulePreferences() {
+ return schedulePreferences;
+ }
+
+ public void setShipmentDetails(Shipment shipmentDetails) {
+ this.shipmentDetails = shipmentDetails;
+ }
+
+ public Shipment getShipmentDetails() {
+ return shipmentDetails;
+ }
+
+ public void setTimePreferences(BookingTimes timePreferences) {
+ this.timePreferences = timePreferences;
+ }
+
+ public BookingTimes getTimePreferences() {
+ return timePreferences;
+ }
+
+ public void setTransportMovement(Set transportMovement) {
+ this.transportMovement = transportMovement;
+ }
+
+ public Set getTransportMovement() {
+ return transportMovement;
+ }
+
+ public void setUnitsPreference(Value unitsPreference) {
+ this.unitsPreference = unitsPreference;
+ }
+
+ public Value getUnitsPreference() {
+ return unitsPreference;
+ }
+
+ public void setAllotment(String allotment) {
+ this.allotment = allotment;
+ }
+
+ public String getAllotment() {
+ return allotment;
+ }
+
+ public void setExpectedCommodities(Set expectedCommodities) {
+ this.expectedCommodities = expectedCommodities;
+ }
+
+ public Set getExpectedCommodities() {
+ return expectedCommodities;
+ }
+
+ public void setRequestType(String requestType) {
+ this.requestType = requestType;
+ }
+
+ public String getRequestType() {
+ return requestType;
+ }
+
+ public void setRequestedHandling(Set requestedHandling) {
+ this.requestedHandling = requestedHandling;
+ }
+
+ public Set getRequestedHandling() {
+ return requestedHandling;
+ }
+
+ public void setShipmentSecurityStatus(String shipmentSecurityStatus) {
+ this.shipmentSecurityStatus = shipmentSecurityStatus;
+ }
+
+ public String getShipmentSecurityStatus() {
+ return shipmentSecurityStatus;
+ }
+
+ public Set getTypes() {
+ return types;
+ }
+
+ public void setTypes(Set types) {
+ this.types = types;
+ }
+
+}
diff --git a/src/main/java/org/iata/cargo/model/BookingSegment.java b/src/main/java/org/iata/cargo/model/BookingSegment.java
new file mode 100755
index 0000000..3d446b6
--- /dev/null
+++ b/src/main/java/org/iata/cargo/model/BookingSegment.java
@@ -0,0 +1,180 @@
+
+package org.iata.cargo.model;
+
+import java.io.Serializable;
+import java.util.Map;
+import java.util.Set;
+
+import org.iata.cargo.Vocabulary;
+
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+import cz.cvut.kbss.jopa.model.annotations.Id;
+import cz.cvut.kbss.jopa.model.annotations.OWLAnnotationProperty;
+import cz.cvut.kbss.jopa.model.annotations.OWLClass;
+import cz.cvut.kbss.jopa.model.annotations.OWLDataProperty;
+import cz.cvut.kbss.jopa.model.annotations.OWLObjectProperty;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraint;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraints;
+import cz.cvut.kbss.jopa.model.annotations.Properties;
+import cz.cvut.kbss.jopa.model.annotations.Types;
+import cz.cvut.kbss.jopa.vocabulary.RDFS;
+import io.swagger.annotations.ApiModelProperty;
+
+
+/**
+ * Booking Segment refers to the arrival and location details of a Booking Option Request or a Booking Option (offer or actual booking)
+ *
+ * This class was generated by OWL2Java 0.16.4
+ *
+ */
+@OWLClass(iri = Vocabulary.s_c_BookingSegment)
+public class BookingSegment
+ implements Serializable
+{
+ @Id(generated = true)
+ protected String id;
+ @JsonIgnore
+ @OWLAnnotationProperty(iri = RDFS.LABEL)
+ protected String name;
+ @JsonIgnore
+ @OWLAnnotationProperty(iri = cz.cvut.kbss.jopa.vocabulary.DC.Elements.DESCRIPTION)
+ protected String description;
+ @Types
+ @JsonProperty("@type")
+ protected Set types;
+ @Properties
+ @JsonIgnore
+ protected Map> properties;
+ /**
+ * The arrival location of the Booking Segment
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_arrivalLocation)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_arrivalLocation)
+ protected Location arrivalLocation;
+ /**
+ * The Booking Option linked to the Booking Segment
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_bookingOptions)
+ @JsonProperty(Vocabulary.s_p_bookingOptions)
+ protected Set bookingOptions;
+ /**
+ * The departure location of the Booking Segment
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_departureLocation)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_departureLocation)
+ protected Location departureLocation;
+ /**
+ * The BookingOptionRequest linked to the Booking Segment
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_requests)
+ @JsonProperty(Vocabulary.s_p_requests)
+ protected Set requests;
+ /**
+ * When part of the Request it refers to the preferred Transport ID from the customer. When part of the BookingOption (offer or actual booking) it refers to the expected Transport ID or flight
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_preferredTransportId)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_preferredTransportId)
+ protected String preferredTransportId;
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public String getId() {
+ return id;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ public String getDescription() {
+ return description;
+ }
+
+ public void setTypes(Set types) {
+ this.types = types;
+ }
+
+ public Set getTypes() {
+ return types;
+ }
+
+ public void setProperties(Map> properties) {
+ this.properties = properties;
+ }
+
+ public Map> getProperties() {
+ return properties;
+ }
+
+ @Override
+ public String toString() {
+ return ((((("BookingSegment {"+ name)+"<")+ id)+">")+"}");
+ }
+
+ public void setArrivalLocation(Location arrivalLocation) {
+ this.arrivalLocation = arrivalLocation;
+ }
+
+ public Location getArrivalLocation() {
+ return arrivalLocation;
+ }
+
+ public void setBookingOptions(Set bookingOptions) {
+ this.bookingOptions = bookingOptions;
+ }
+
+ public Set getBookingOptions() {
+ return bookingOptions;
+ }
+
+ public void setDepartureLocation(Location departureLocation) {
+ this.departureLocation = departureLocation;
+ }
+
+ public Location getDepartureLocation() {
+ return departureLocation;
+ }
+
+ public void setRequests(Set requests) {
+ this.requests = requests;
+ }
+
+ public Set getRequests() {
+ return requests;
+ }
+
+ public void setPreferredTransportId(String preferredTransportId) {
+ this.preferredTransportId = preferredTransportId;
+ }
+
+ public String getPreferredTransportId() {
+ return preferredTransportId;
+ }
+
+}
diff --git a/src/main/java/org/iata/cargo/model/BookingTimes.java b/src/main/java/org/iata/cargo/model/BookingTimes.java
new file mode 100755
index 0000000..6467c85
--- /dev/null
+++ b/src/main/java/org/iata/cargo/model/BookingTimes.java
@@ -0,0 +1,65 @@
+
+package org.iata.cargo.model;
+
+import java.io.Serializable;
+
+import org.iata.cargo.Vocabulary;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+import cz.cvut.kbss.jopa.model.annotations.OWLClass;
+import cz.cvut.kbss.jopa.model.annotations.OWLObjectProperty;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraint;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraints;
+
+
+/**
+ * Previsouly called Schedule. This object refers to times used for the Booking Option Request (preferences part of the request) or the Booking Option (times sur as LAT where there is a commitment from the carrier)
+ *
+ * This class was generated by OWL2Java 0.16.4
+ *
+ */
+@OWLClass(iri = Vocabulary.s_c_BookingTimes)
+public class BookingTimes
+ extends LogisticsObject
+ implements Serializable
+{
+
+ /**
+ * Reference to the BookingOption where the booking times are used
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_bookingOption)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_bookingOption)
+ protected BookingOption bookingOption;
+ /**
+ * Reference to the BookingOptionRequest where the booking times are used
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_bookingOptionRequest)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_bookingOptionRequest)
+ protected BookingOptionRequest bookingOptionRequest;
+
+ public void setBookingOption(BookingOption bookingOption) {
+ this.bookingOption = bookingOption;
+ }
+
+ public BookingOption getBookingOption() {
+ return bookingOption;
+ }
+
+ public void setBookingOptionRequest(BookingOptionRequest bookingOptionRequest) {
+ this.bookingOptionRequest = bookingOptionRequest;
+ }
+
+ public BookingOptionRequest getBookingOptionRequest() {
+ return bookingOptionRequest;
+ }
+
+}
diff --git a/src/main/java/org/iata/cargo/model/Branch.java b/src/main/java/org/iata/cargo/model/Branch.java
new file mode 100755
index 0000000..df76370
--- /dev/null
+++ b/src/main/java/org/iata/cargo/model/Branch.java
@@ -0,0 +1,230 @@
+
+package org.iata.cargo.model;
+
+import java.io.Serializable;
+import java.util.Map;
+import java.util.Set;
+
+import org.iata.cargo.Vocabulary;
+
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+import cz.cvut.kbss.jopa.model.annotations.Id;
+import cz.cvut.kbss.jopa.model.annotations.OWLAnnotationProperty;
+import cz.cvut.kbss.jopa.model.annotations.OWLClass;
+import cz.cvut.kbss.jopa.model.annotations.OWLDataProperty;
+import cz.cvut.kbss.jopa.model.annotations.OWLObjectProperty;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraint;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraints;
+import cz.cvut.kbss.jopa.model.annotations.Properties;
+import cz.cvut.kbss.jopa.model.annotations.Types;
+import cz.cvut.kbss.jopa.vocabulary.DC;
+import cz.cvut.kbss.jopa.vocabulary.RDFS;
+import io.swagger.annotations.ApiModelProperty;
+
+
+/**
+ * Company branches
+ *
+ * This class was generated by OWL2Java 0.16.4
+ *
+ */
+@OWLClass(iri = Vocabulary.s_c_Branch)
+@Deprecated
+public class Branch
+ implements Serializable
+{
+
+ @Id(generated = true)
+ @ApiModelProperty(readOnly = true)
+ protected String id;
+ @JsonIgnore
+ @OWLAnnotationProperty(iri = RDFS.LABEL)
+ protected String name;
+ @JsonIgnore
+ @OWLAnnotationProperty(iri = cz.cvut.kbss.jopa.vocabulary.DC.Elements.DESCRIPTION)
+ protected String description;
+ @Types
+ @JsonProperty("@type")
+ @ApiModelProperty(allowableValues = Vocabulary.s_c_Branch)
+ protected Set types;
+ @Properties
+ @JsonIgnore
+ protected Map> properties;
+
+ @JsonProperty("language")
+ @OWLAnnotationProperty(iri = DC.Terms.LANGUAGE)
+ protected String language;
+
+ /**
+ * Refers to the mother company of the branch
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_company)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_company)
+ protected Company company;
+ /**
+ * Contact person details
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_contactPerson)
+ @JsonProperty(Vocabulary.s_p_contactPerson)
+ protected Set contactPerson;
+ /**
+ * Location and address details
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_location)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_location)
+ protected Location location;
+ /**
+ * Other identifiers (e.g. LEI (Legal Entity Identifier), TIN (Trader Identification Number), PIMA address, Account number, VAT/Tax id, Legal Registration id, DUNS number, etc)
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_otherIdentifier)
+ @JsonProperty(Vocabulary.s_p_otherIdentifier)
+ protected Set otherIdentifier;
+ /**
+ * Company branch name
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_branchName)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_branchName)
+ protected String branchName;
+ /**
+ * IATA CASS cargo agent 4 digit branch number / location identifier
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_iataCargoAgentLocationIdentifier)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#integer", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_iataCargoAgentLocationIdentifier)
+ protected Integer iataCargoAgentLocationIdentifier;
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public String getId() {
+ return id;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ public String getDescription() {
+ return description;
+ }
+
+ public void setTypes(Set types) {
+ this.types = types;
+ }
+
+ public Set getTypes() {
+ return types;
+ }
+
+ public void setProperties(Map> properties) {
+ this.properties = properties;
+ }
+
+ public Map> getProperties() {
+ return properties;
+ }
+
+ @Override
+ public String toString() {
+ return ((((("Branch {"+ name)+"<")+ id)+">")+"}");
+ }
+
+ @Deprecated
+ public void setCompany(Company company) {
+ this.company = company;
+ }
+
+ @Deprecated
+ public Company getCompany() {
+ return company;
+ }
+
+ @Deprecated
+ public void setContactPerson(Set contactPerson) {
+ this.contactPerson = contactPerson;
+ }
+
+ @Deprecated
+ public Set getContactPerson() {
+ return contactPerson;
+ }
+
+ @Deprecated
+ public void setLocation(Location location) {
+ this.location = location;
+ }
+
+ @Deprecated
+ public Location getLocation() {
+ return location;
+ }
+
+ @Deprecated
+ public void setOtherIdentifier(Set otherIdentifier) {
+ this.otherIdentifier = otherIdentifier;
+ }
+
+ @Deprecated
+ public Set getOtherIdentifier() {
+ return otherIdentifier;
+ }
+
+ @Deprecated
+ public void setBranchName(String branchName) {
+ this.branchName = branchName;
+ }
+
+ @Deprecated
+ public String getBranchName() {
+ return branchName;
+ }
+
+ @Deprecated
+ public void setIataCargoAgentLocationIdentifier(Integer iataCargoAgentLocationIdentifier) {
+ this.iataCargoAgentLocationIdentifier = iataCargoAgentLocationIdentifier;
+ }
+
+ @Deprecated
+ public Integer getIataCargoAgentLocationIdentifier() {
+ return iataCargoAgentLocationIdentifier;
+ }
+
+ @Deprecated
+ public String getLanguage() {
+ return language;
+ }
+
+ @Deprecated
+ public void setLanguage(String language) {
+ this.language = language;
+ }
+
+}
diff --git a/src/main/java/org/iata/cargo/model/CO2CalcMethod.java b/src/main/java/org/iata/cargo/model/CO2CalcMethod.java
new file mode 100755
index 0000000..1aaa927
--- /dev/null
+++ b/src/main/java/org/iata/cargo/model/CO2CalcMethod.java
@@ -0,0 +1,81 @@
+
+package org.iata.cargo.model;
+
+import java.io.Serializable;
+import java.util.Set;
+
+import org.iata.cargo.Vocabulary;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+import cz.cvut.kbss.jopa.model.annotations.OWLClass;
+import cz.cvut.kbss.jopa.model.annotations.OWLDataProperty;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraint;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraints;
+import cz.cvut.kbss.jopa.model.annotations.Types;
+import io.swagger.annotations.ApiModelProperty;
+
+
+/**
+ * CO2 calculation methods
+ *
+ * This class was generated by OWL2Java 0.16.4
+ *
+ */
+@OWLClass(iri = Vocabulary.s_c_CO2CalcMethod)
+public class CO2CalcMethod
+ extends LogisticsObject
+ implements Serializable
+{
+
+ @Types
+ @JsonProperty("@type")
+ @ApiModelProperty(allowableValues = Vocabulary.s_c_CO2CalcMethod)
+ protected Set types;
+
+ /**
+ * Name of the CO2 calculation method
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_methodName)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_methodName)
+ protected String methodName;
+ /**
+ * Version of the CO2 calculation method
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_methodVersion)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_methodVersion)
+ protected String methodVersion;
+
+ public void setMethodName(String methodName) {
+ this.methodName = methodName;
+ }
+
+ public String getMethodName() {
+ return methodName;
+ }
+
+ public void setMethodVersion(String methodVersion) {
+ this.methodVersion = methodVersion;
+ }
+
+ public String getMethodVersion() {
+ return methodVersion;
+ }
+
+ public Set getTypes() {
+ return types;
+ }
+
+ public void setTypes(Set types) {
+ this.types = types;
+ }
+
+}
diff --git a/src/main/java/org/iata/cargo/model/CO2Emissions.java b/src/main/java/org/iata/cargo/model/CO2Emissions.java
new file mode 100755
index 0000000..ee6bf92
--- /dev/null
+++ b/src/main/java/org/iata/cargo/model/CO2Emissions.java
@@ -0,0 +1,118 @@
+
+package org.iata.cargo.model;
+
+import java.io.Serializable;
+import java.util.Set;
+
+import org.iata.cargo.Vocabulary;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+import cz.cvut.kbss.jopa.model.annotations.OWLClass;
+import cz.cvut.kbss.jopa.model.annotations.OWLDataProperty;
+import cz.cvut.kbss.jopa.model.annotations.OWLObjectProperty;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraint;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraints;
+import cz.cvut.kbss.jopa.model.annotations.Types;
+import io.swagger.annotations.ApiModelProperty;
+
+
+/**
+ * CO2 Calculation
+ *
+ * This class was generated by OWL2Java 0.16.4
+ *
+ */
+@OWLClass(iri = Vocabulary.s_c_CO2Emissions)
+public class CO2Emissions
+ extends LogisticsObject
+ implements Serializable
+{
+
+ @Types
+ @JsonProperty("@type")
+ @ApiModelProperty(allowableValues = Vocabulary.s_c_CO2Emissions)
+ protected Set types;
+
+ /**
+ * CO2 emissions calculated
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_calculatedEmissions)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_calculatedEmissions)
+ protected Value calculatedEmissions;
+ /**
+ * Transport Movement linked to the CO2 Emissions object
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_transportMovement_A_A_A)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_transportMovement_A_A_A)
+ protected TransportMovement transportMovement;
+ /**
+ * Name of the CO2 calculation method
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_methodName_A)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_methodName_A)
+ protected String methodName;
+ /**
+ * Version used for the calculation
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_methodVersion_A)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_methodVersion_A)
+ protected String methodVersion;
+
+ public void setCalculatedEmissions(Value calculatedEmissions) {
+ this.calculatedEmissions = calculatedEmissions;
+ }
+
+ public Value getCalculatedEmissions() {
+ return calculatedEmissions;
+ }
+
+ public void setTransportMovement(TransportMovement transportMovement) {
+ this.transportMovement = transportMovement;
+ }
+
+ public TransportMovement getTransportMovement() {
+ return transportMovement;
+ }
+
+ public void setMethodName(String methodName) {
+ this.methodName = methodName;
+ }
+
+ public String getMethodName() {
+ return methodName;
+ }
+
+ public void setMethodVersion(String methodVersion) {
+ this.methodVersion = methodVersion;
+ }
+
+ public String getMethodVersion() {
+ return methodVersion;
+ }
+
+ public Set getTypes() {
+ return types;
+ }
+
+ public void setTypes(Set types) {
+ this.types = types;
+ }
+
+}
diff --git a/src/main/java/org/iata/cargo/model/Carrier.java b/src/main/java/org/iata/cargo/model/Carrier.java
new file mode 100755
index 0000000..91d64bb
--- /dev/null
+++ b/src/main/java/org/iata/cargo/model/Carrier.java
@@ -0,0 +1,101 @@
+
+package org.iata.cargo.model;
+
+import java.io.Serializable;
+
+import org.iata.cargo.Vocabulary;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+import cz.cvut.kbss.jopa.model.annotations.OWLClass;
+import cz.cvut.kbss.jopa.model.annotations.OWLDataProperty;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraint;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraints;
+
+
+/**
+ * Company details of carriers
+ *
+ * This class was generated by OWL2Java 0.16.4
+ *
+ */
+@OWLClass(iri = Vocabulary.s_c_Carrier)
+public class Carrier
+ extends Company
+ implements Serializable
+{
+
+ /**
+ * IATA two-character airline code
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_airlineCode)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_airlineCode)
+ protected String airlineCode;
+ /**
+ * IATA three-numeric airline prefix number
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_airlinePrefix)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_airlinePrefix)
+ protected String airlinePrefix;
+ /**
+ * Official carrier name
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_carrierName)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_carrierName)
+ protected String carrierName;
+ /**
+ * Carrier short name if any
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_carrierShortName)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_carrierShortName)
+ protected String carrierShortName;
+
+ public void setAirlineCode(String airlineCode) {
+ this.airlineCode = airlineCode;
+ }
+
+ public String getAirlineCode() {
+ return airlineCode;
+ }
+
+ public void setAirlinePrefix(String airlinePrefix) {
+ this.airlinePrefix = airlinePrefix;
+ }
+
+ public String getAirlinePrefix() {
+ return airlinePrefix;
+ }
+
+ public void setCarrierName(String carrierName) {
+ this.carrierName = carrierName;
+ }
+
+ public String getCarrierName() {
+ return carrierName;
+ }
+
+ public void setCarrierShortName(String carrierShortName) {
+ this.carrierShortName = carrierShortName;
+ }
+
+ public String getCarrierShortName() {
+ return carrierShortName;
+ }
+
+}
diff --git a/src/main/java/org/iata/cargo/model/CarrierProduct.java b/src/main/java/org/iata/cargo/model/CarrierProduct.java
new file mode 100755
index 0000000..ae85f96
--- /dev/null
+++ b/src/main/java/org/iata/cargo/model/CarrierProduct.java
@@ -0,0 +1,100 @@
+
+package org.iata.cargo.model;
+
+import java.io.Serializable;
+import java.util.Set;
+
+import org.iata.cargo.Vocabulary;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+import cz.cvut.kbss.jopa.model.annotations.OWLClass;
+import cz.cvut.kbss.jopa.model.annotations.OWLDataProperty;
+import cz.cvut.kbss.jopa.model.annotations.OWLObjectProperty;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraint;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraints;
+import cz.cvut.kbss.jopa.model.annotations.Types;
+import io.swagger.annotations.ApiModelProperty;
+
+
+/**
+ * Carrier product details
+ *
+ * This class was generated by OWL2Java 0.16.4
+ *
+ */
+@OWLClass(iri = Vocabulary.s_c_CarrierProduct)
+public class CarrierProduct
+ extends LogisticsObject
+ implements Serializable
+{
+
+ @Types
+ @JsonProperty("@type")
+ @ApiModelProperty(allowableValues = Vocabulary.s_c_CarrierProduct)
+ protected Set types;
+
+ /**
+ * Reference to the BookingOption where the carrier product is used
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_bookingOption_A)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_bookingOption_A)
+ protected BookingOption bookingOption;
+ /**
+ * Carrier's product code
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_productCode)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_productCode)
+ protected String productCode;
+ /**
+ * Carrier's product description
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_productDescription)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_productDescription)
+ protected String productDescription;
+
+ public void setBookingOption(BookingOption bookingOption) {
+ this.bookingOption = bookingOption;
+ }
+
+ public BookingOption getBookingOption() {
+ return bookingOption;
+ }
+
+ public void setProductCode(String productCode) {
+ this.productCode = productCode;
+ }
+
+ public String getProductCode() {
+ return productCode;
+ }
+
+ public void setProductDescription(String productDescription) {
+ this.productDescription = productDescription;
+ }
+
+ public String getProductDescription() {
+ return productDescription;
+ }
+
+ public Set getTypes() {
+ return types;
+ }
+
+ public void setTypes(Set types) {
+ this.types = types;
+ }
+
+}
diff --git a/src/main/java/org/iata/cargo/model/Characteristics.java b/src/main/java/org/iata/cargo/model/Characteristics.java
new file mode 100755
index 0000000..23ea00e
--- /dev/null
+++ b/src/main/java/org/iata/cargo/model/Characteristics.java
@@ -0,0 +1,100 @@
+
+package org.iata.cargo.model;
+
+import java.io.Serializable;
+import java.util.Set;
+
+import org.iata.cargo.Vocabulary;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+import cz.cvut.kbss.jopa.model.annotations.OWLClass;
+import cz.cvut.kbss.jopa.model.annotations.OWLDataProperty;
+import cz.cvut.kbss.jopa.model.annotations.OWLObjectProperty;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraint;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraints;
+import cz.cvut.kbss.jopa.model.annotations.Types;
+import io.swagger.annotations.ApiModelProperty;
+
+
+/**
+ * Product additional details
+ *
+ * This class was generated by OWL2Java 0.16.4
+ *
+ */
+@OWLClass(iri = Vocabulary.s_c_Characteristics)
+public class Characteristics
+ extends LogisticsObject
+ implements Serializable
+{
+
+ @Types
+ @JsonProperty("@type")
+ @ApiModelProperty(allowableValues = Vocabulary.s_c_Characteristics)
+ protected Set types;
+
+ /**
+ * Reference to the product
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_product)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_product)
+ protected Product product;
+ /**
+ * Product characteristics code - e.g. CLR - Color
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_characteristicsType)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_characteristicsType)
+ protected String characteristicsType;
+ /**
+ * Product characteristics value / attribute - e.g. Blue...
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_value)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_value)
+ protected String value;
+
+ public void setProduct(Product product) {
+ this.product = product;
+ }
+
+ public Product getProduct() {
+ return product;
+ }
+
+ public void setCharacteristicsType(String characteristicsType) {
+ this.characteristicsType = characteristicsType;
+ }
+
+ public String getCharacteristicsType() {
+ return characteristicsType;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ public Set getTypes() {
+ return types;
+ }
+
+ public void setTypes(Set types) {
+ this.types = types;
+ }
+
+}
diff --git a/src/main/java/org/iata/cargo/model/Company.java b/src/main/java/org/iata/cargo/model/Company.java
new file mode 100755
index 0000000..37875af
--- /dev/null
+++ b/src/main/java/org/iata/cargo/model/Company.java
@@ -0,0 +1,166 @@
+
+package org.iata.cargo.model;
+
+import java.io.Serializable;
+import java.util.Map;
+import java.util.Set;
+
+import org.iata.cargo.Vocabulary;
+
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+import cz.cvut.kbss.jopa.model.annotations.Id;
+import cz.cvut.kbss.jopa.model.annotations.OWLAnnotationProperty;
+import cz.cvut.kbss.jopa.model.annotations.OWLClass;
+import cz.cvut.kbss.jopa.model.annotations.OWLDataProperty;
+import cz.cvut.kbss.jopa.model.annotations.OWLObjectProperty;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraint;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraints;
+import cz.cvut.kbss.jopa.model.annotations.Properties;
+import cz.cvut.kbss.jopa.model.annotations.Types;
+import cz.cvut.kbss.jopa.vocabulary.DC;
+import cz.cvut.kbss.jopa.vocabulary.RDFS;
+import io.swagger.annotations.ApiModelProperty;
+
+
+/**
+ * Company details
+ *
+ * This class was generated by OWL2Java 0.16.4
+ *
+ */
+@OWLClass(iri = Vocabulary.s_c_Company)
+public class Company
+ implements Serializable
+{
+
+ @Id(generated = true)
+ @ApiModelProperty(readOnly = true)
+ protected String id;
+ @JsonIgnore
+ @OWLAnnotationProperty(iri = RDFS.LABEL)
+ protected String name;
+ @OWLAnnotationProperty(iri = cz.cvut.kbss.jopa.vocabulary.DC.Elements.DESCRIPTION)
+ protected String description;
+ @Types
+ @JsonProperty("@type")
+ @ApiModelProperty(allowableValues = Vocabulary.s_c_Company)
+ protected Set types;
+ @Properties
+ @JsonIgnore
+ protected Map> properties;
+
+ @JsonProperty("language")
+ @OWLAnnotationProperty(iri = DC.Terms.LANGUAGE)
+ protected String language;
+
+ /**
+ * Company branches
+ *
+ */
+ @OWLObjectProperty(iri = Vocabulary.s_p_branch)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_branch)
+ protected CompanyBranch branch;
+ /**
+ * Name of company or organization
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_companyName)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_companyName)
+ protected String companyName;
+ /**
+ * IATA accredited cargo agent 7 digit number
+ *
+ */
+ @OWLDataProperty(iri = Vocabulary.s_p_iataCargoAgentCode)
+ @ParticipationConstraints({
+ @ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
+ })
+ @JsonProperty(Vocabulary.s_p_iataCargoAgentCode)
+ protected String iataCargoAgentCode;
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public String getId() {
+ return id;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ public String getDescription() {
+ return description;
+ }
+
+ public void setTypes(Set types) {
+ this.types = types;
+ }
+
+ public Set getTypes() {
+ return types;
+ }
+
+ public void setProperties(Map> properties) {
+ this.properties = properties;
+ }
+
+ public Map> getProperties() {
+ return properties;
+ }
+
+ @Override
+ public String toString() {
+ return ((((("Company {"+ name)+"<")+ id)+">")+"}");
+ }
+
+ public void setBranch(CompanyBranch branch) {
+ this.branch = branch;
+ }
+
+ public CompanyBranch getBranch() {
+ return branch;
+ }
+
+ public void setCompanyName(String companyName) {
+ this.companyName = companyName;
+ }
+
+ public String getCompanyName() {
+ return companyName;
+ }
+
+ public void setIataCargoAgentCode(String iataCargoAgentCode) {
+ this.iataCargoAgentCode = iataCargoAgentCode;
+ }
+
+ public String getIataCargoAgentCode() {
+ return iataCargoAgentCode;
+ }
+
+ public String getLanguage() {
+ return language;
+ }
+
+ public void setLanguage(String language) {
+ this.language = language;
+ }
+
+}
diff --git a/src/main/java/org/iata/cargo/model/CompanyBranch.java b/src/main/java/org/iata/cargo/model/CompanyBranch.java
new file mode 100755
index 0000000..442f974
--- /dev/null
+++ b/src/main/java/org/iata/cargo/model/CompanyBranch.java
@@ -0,0 +1,204 @@
+
+package org.iata.cargo.model;
+
+import java.io.Serializable;
+import java.util.Map;
+import java.util.Set;
+
+import org.iata.cargo.Vocabulary;
+
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+import cz.cvut.kbss.jopa.model.annotations.Id;
+import cz.cvut.kbss.jopa.model.annotations.OWLAnnotationProperty;
+import cz.cvut.kbss.jopa.model.annotations.OWLClass;
+import cz.cvut.kbss.jopa.model.annotations.OWLDataProperty;
+import cz.cvut.kbss.jopa.model.annotations.OWLObjectProperty;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraint;
+import cz.cvut.kbss.jopa.model.annotations.ParticipationConstraints;
+import cz.cvut.kbss.jopa.model.annotations.Properties;
+import cz.cvut.kbss.jopa.model.annotations.Types;
+import cz.cvut.kbss.jopa.vocabulary.RDFS;
+
+
+/**
+ * Company branches
+ *
+ * This class was generated by OWL2Java 0.16.4
+ *
+ */
+@OWLClass(iri = Vocabulary.s_c_CompanyBranch)
+public class CompanyBranch
+ implements Serializable
+{
+
+ @Id(generated = true)
+ protected String id;
+ @JsonIgnore
+ @OWLAnnotationProperty(iri = RDFS.LABEL)
+ protected String name;
+ @JsonIgnore
+ @OWLAnnotationProperty(iri = cz.cvut.kbss.jopa.vocabulary.DC.Elements.DESCRIPTION)
+ protected String description;
+ @Types
+ @JsonProperty("@type")
+ protected Set types;
+ @Properties
+ @JsonIgnore
+ protected Map