Commit df2f2307 authored by zhengfunan's avatar zhengfunan

首次提交

parents
Pipeline #371 failed with stages
HELP.md
target/
!.mvn/wrapper/maven-wrapper.jar
!**/src/main/**/target/
!**/src/test/**/target/
### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache
### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr
### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
build/
!**/src/main/**/build/
!**/src/test/**/build/
### VS Code ###
.vscode/
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you 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.
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.7/apache-maven-3.8.7-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.1/maven-wrapper-3.1.1.jar
#!/bin/sh
# ----------------------------------------------------------------------------
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you 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.
# ----------------------------------------------------------------------------
# ----------------------------------------------------------------------------
# Maven Start Up Batch script
#
# Required ENV vars:
# ------------------
# JAVA_HOME - location of a JDK home dir
#
# Optional ENV vars
# -----------------
# M2_HOME - location of maven2's installed home dir
# MAVEN_OPTS - parameters passed to the Java VM when running Maven
# e.g. to debug Maven itself, use
# set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
# MAVEN_SKIP_RC - flag to disable loading of mavenrc files
# ----------------------------------------------------------------------------
if [ -z "$MAVEN_SKIP_RC" ] ; then
if [ -f /usr/local/etc/mavenrc ] ; then
. /usr/local/etc/mavenrc
fi
if [ -f /etc/mavenrc ] ; then
. /etc/mavenrc
fi
if [ -f "$HOME/.mavenrc" ] ; then
. "$HOME/.mavenrc"
fi
fi
# OS specific support. $var _must_ be set to either true or false.
cygwin=false;
darwin=false;
mingw=false
case "`uname`" in
CYGWIN*) cygwin=true ;;
MINGW*) mingw=true;;
Darwin*) darwin=true
# Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home
# See https://developer.apple.com/library/mac/qa/qa1170/_index.html
if [ -z "$JAVA_HOME" ]; then
if [ -x "/usr/libexec/java_home" ]; then
export JAVA_HOME="`/usr/libexec/java_home`"
else
export JAVA_HOME="/Library/Java/Home"
fi
fi
;;
esac
if [ -z "$JAVA_HOME" ] ; then
if [ -r /etc/gentoo-release ] ; then
JAVA_HOME=`java-config --jre-home`
fi
fi
if [ -z "$M2_HOME" ] ; then
## resolve links - $0 may be a link to maven's home
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
saveddir=`pwd`
M2_HOME=`dirname "$PRG"`/..
# make it fully qualified
M2_HOME=`cd "$M2_HOME" && pwd`
cd "$saveddir"
# echo Using m2 at $M2_HOME
fi
# For Cygwin, ensure paths are in UNIX format before anything is touched
if $cygwin ; then
[ -n "$M2_HOME" ] &&
M2_HOME=`cygpath --unix "$M2_HOME"`
[ -n "$JAVA_HOME" ] &&
JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
[ -n "$CLASSPATH" ] &&
CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
fi
# For Mingw, ensure paths are in UNIX format before anything is touched
if $mingw ; then
[ -n "$M2_HOME" ] &&
M2_HOME="`(cd "$M2_HOME"; pwd)`"
[ -n "$JAVA_HOME" ] &&
JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`"
fi
if [ -z "$JAVA_HOME" ]; then
javaExecutable="`which javac`"
if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then
# readlink(1) is not available as standard on Solaris 10.
readLink=`which readlink`
if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then
if $darwin ; then
javaHome="`dirname \"$javaExecutable\"`"
javaExecutable="`cd \"$javaHome\" && pwd -P`/javac"
else
javaExecutable="`readlink -f \"$javaExecutable\"`"
fi
javaHome="`dirname \"$javaExecutable\"`"
javaHome=`expr "$javaHome" : '\(.*\)/bin'`
JAVA_HOME="$javaHome"
export JAVA_HOME
fi
fi
fi
if [ -z "$JAVACMD" ] ; then
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
else
JAVACMD="`\\unset -f command; \\command -v java`"
fi
fi
if [ ! -x "$JAVACMD" ] ; then
echo "Error: JAVA_HOME is not defined correctly." >&2
echo " We cannot execute $JAVACMD" >&2
exit 1
fi
if [ -z "$JAVA_HOME" ] ; then
echo "Warning: JAVA_HOME environment variable is not set."
fi
CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher
# traverses directory structure from process work directory to filesystem root
# first directory with .mvn subdirectory is considered project base directory
find_maven_basedir() {
if [ -z "$1" ]
then
echo "Path not specified to find_maven_basedir"
return 1
fi
basedir="$1"
wdir="$1"
while [ "$wdir" != '/' ] ; do
if [ -d "$wdir"/.mvn ] ; then
basedir=$wdir
break
fi
# workaround for JBEAP-8937 (on Solaris 10/Sparc)
if [ -d "${wdir}" ]; then
wdir=`cd "$wdir/.."; pwd`
fi
# end of workaround
done
echo "${basedir}"
}
# concatenates all lines of a file
concat_lines() {
if [ -f "$1" ]; then
echo "$(tr -s '\n' ' ' < "$1")"
fi
}
BASE_DIR=`find_maven_basedir "$(pwd)"`
if [ -z "$BASE_DIR" ]; then
exit 1;
fi
##########################################################################################
# Extension to allow automatically downloading the maven-wrapper.jar from Maven-central
# This allows using the maven wrapper in projects that prohibit checking in binary data.
##########################################################################################
if [ -r "$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" ]; then
if [ "$MVNW_VERBOSE" = true ]; then
echo "Found .mvn/wrapper/maven-wrapper.jar"
fi
else
if [ "$MVNW_VERBOSE" = true ]; then
echo "Couldn't find .mvn/wrapper/maven-wrapper.jar, downloading it ..."
fi
if [ -n "$MVNW_REPOURL" ]; then
jarUrl="$MVNW_REPOURL/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
else
jarUrl="https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
fi
while IFS="=" read key value; do
case "$key" in (wrapperUrl) jarUrl="$value"; break ;;
esac
done < "$BASE_DIR/.mvn/wrapper/maven-wrapper.properties"
if [ "$MVNW_VERBOSE" = true ]; then
echo "Downloading from: $jarUrl"
fi
wrapperJarPath="$BASE_DIR/.mvn/wrapper/maven-wrapper.jar"
if $cygwin; then
wrapperJarPath=`cygpath --path --windows "$wrapperJarPath"`
fi
if command -v wget > /dev/null; then
if [ "$MVNW_VERBOSE" = true ]; then
echo "Found wget ... using wget"
fi
if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then
wget "$jarUrl" -O "$wrapperJarPath" || rm -f "$wrapperJarPath"
else
wget --http-user=$MVNW_USERNAME --http-password=$MVNW_PASSWORD "$jarUrl" -O "$wrapperJarPath" || rm -f "$wrapperJarPath"
fi
elif command -v curl > /dev/null; then
if [ "$MVNW_VERBOSE" = true ]; then
echo "Found curl ... using curl"
fi
if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then
curl -o "$wrapperJarPath" "$jarUrl" -f
else
curl --user $MVNW_USERNAME:$MVNW_PASSWORD -o "$wrapperJarPath" "$jarUrl" -f
fi
else
if [ "$MVNW_VERBOSE" = true ]; then
echo "Falling back to using Java to download"
fi
javaClass="$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.java"
# For Cygwin, switch paths to Windows format before running javac
if $cygwin; then
javaClass=`cygpath --path --windows "$javaClass"`
fi
if [ -e "$javaClass" ]; then
if [ ! -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then
if [ "$MVNW_VERBOSE" = true ]; then
echo " - Compiling MavenWrapperDownloader.java ..."
fi
# Compiling the Java class
("$JAVA_HOME/bin/javac" "$javaClass")
fi
if [ -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then
# Running the downloader
if [ "$MVNW_VERBOSE" = true ]; then
echo " - Running MavenWrapperDownloader.java ..."
fi
("$JAVA_HOME/bin/java" -cp .mvn/wrapper MavenWrapperDownloader "$MAVEN_PROJECTBASEDIR")
fi
fi
fi
fi
##########################################################################################
# End of extension
##########################################################################################
export MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-"$BASE_DIR"}
if [ "$MVNW_VERBOSE" = true ]; then
echo $MAVEN_PROJECTBASEDIR
fi
MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS"
# For Cygwin, switch paths to Windows format before running java
if $cygwin; then
[ -n "$M2_HOME" ] &&
M2_HOME=`cygpath --path --windows "$M2_HOME"`
[ -n "$JAVA_HOME" ] &&
JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
[ -n "$CLASSPATH" ] &&
CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
[ -n "$MAVEN_PROJECTBASEDIR" ] &&
MAVEN_PROJECTBASEDIR=`cygpath --path --windows "$MAVEN_PROJECTBASEDIR"`
fi
# Provide a "standardized" way to retrieve the CLI args that will
# work with both Windows and non-Windows executions.
MAVEN_CMD_LINE_ARGS="$MAVEN_CONFIG $@"
export MAVEN_CMD_LINE_ARGS
WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
exec "$JAVACMD" \
$MAVEN_OPTS \
$MAVEN_DEBUG_OPTS \
-classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \
"-Dmaven.home=${M2_HOME}" \
"-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \
${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@"
@REM ----------------------------------------------------------------------------
@REM Licensed to the Apache Software Foundation (ASF) under one
@REM or more contributor license agreements. See the NOTICE file
@REM distributed with this work for additional information
@REM regarding copyright ownership. The ASF licenses this file
@REM to you under the Apache License, Version 2.0 (the
@REM "License"); you may not use this file except in compliance
@REM with the License. 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,
@REM software distributed under the License is distributed on an
@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
@REM KIND, either express or implied. See the License for the
@REM specific language governing permissions and limitations
@REM under the License.
@REM ----------------------------------------------------------------------------
@REM ----------------------------------------------------------------------------
@REM Maven Start Up Batch script
@REM
@REM Required ENV vars:
@REM JAVA_HOME - location of a JDK home dir
@REM
@REM Optional ENV vars
@REM M2_HOME - location of maven2's installed home dir
@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands
@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a keystroke before ending
@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven
@REM e.g. to debug Maven itself, use
@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files
@REM ----------------------------------------------------------------------------
@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
@echo off
@REM set title of command window
title %0
@REM enable echoing by setting MAVEN_BATCH_ECHO to 'on'
@if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO%
@REM set %HOME% to equivalent of $HOME
if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%")
@REM Execute a user defined script before this one
if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre
@REM check for pre script, once with legacy .bat ending and once with .cmd ending
if exist "%USERPROFILE%\mavenrc_pre.bat" call "%USERPROFILE%\mavenrc_pre.bat" %*
if exist "%USERPROFILE%\mavenrc_pre.cmd" call "%USERPROFILE%\mavenrc_pre.cmd" %*
:skipRcPre
@setlocal
set ERROR_CODE=0
@REM To isolate internal variables from possible post scripts, we use another setlocal
@setlocal
@REM ==== START VALIDATION ====
if not "%JAVA_HOME%" == "" goto OkJHome
echo.
echo Error: JAVA_HOME not found in your environment. >&2
echo Please set the JAVA_HOME variable in your environment to match the >&2
echo location of your Java installation. >&2
echo.
goto error
:OkJHome
if exist "%JAVA_HOME%\bin\java.exe" goto init
echo.
echo Error: JAVA_HOME is set to an invalid directory. >&2
echo JAVA_HOME = "%JAVA_HOME%" >&2
echo Please set the JAVA_HOME variable in your environment to match the >&2
echo location of your Java installation. >&2
echo.
goto error
@REM ==== END VALIDATION ====
:init
@REM Find the project base dir, i.e. the directory that contains the folder ".mvn".
@REM Fallback to current working directory if not found.
set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR%
IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir
set EXEC_DIR=%CD%
set WDIR=%EXEC_DIR%
:findBaseDir
IF EXIST "%WDIR%"\.mvn goto baseDirFound
cd ..
IF "%WDIR%"=="%CD%" goto baseDirNotFound
set WDIR=%CD%
goto findBaseDir
:baseDirFound
set MAVEN_PROJECTBASEDIR=%WDIR%
cd "%EXEC_DIR%"
goto endDetectBaseDir
:baseDirNotFound
set MAVEN_PROJECTBASEDIR=%EXEC_DIR%
cd "%EXEC_DIR%"
:endDetectBaseDir
IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig
@setlocal EnableExtensions EnableDelayedExpansion
for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a
@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS%
:endReadAdditionalConfig
SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar"
set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
set DOWNLOAD_URL="https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
FOR /F "usebackq tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties") DO (
IF "%%A"=="wrapperUrl" SET DOWNLOAD_URL=%%B
)
@REM Extension to allow automatically downloading the maven-wrapper.jar from Maven-central
@REM This allows using the maven wrapper in projects that prohibit checking in binary data.
if exist %WRAPPER_JAR% (
if "%MVNW_VERBOSE%" == "true" (
echo Found %WRAPPER_JAR%
)
) else (
if not "%MVNW_REPOURL%" == "" (
SET DOWNLOAD_URL="%MVNW_REPOURL%/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
)
if "%MVNW_VERBOSE%" == "true" (
echo Couldn't find %WRAPPER_JAR%, downloading it ...
echo Downloading from: %DOWNLOAD_URL%
)
powershell -Command "&{"^
"$webclient = new-object System.Net.WebClient;"^
"if (-not ([string]::IsNullOrEmpty('%MVNW_USERNAME%') -and [string]::IsNullOrEmpty('%MVNW_PASSWORD%'))) {"^
"$webclient.Credentials = new-object System.Net.NetworkCredential('%MVNW_USERNAME%', '%MVNW_PASSWORD%');"^
"}"^
"[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $webclient.DownloadFile('%DOWNLOAD_URL%', '%WRAPPER_JAR%')"^
"}"
if "%MVNW_VERBOSE%" == "true" (
echo Finished downloading %WRAPPER_JAR%
)
)
@REM End of extension
@REM Provide a "standardized" way to retrieve the CLI args that will
@REM work with both Windows and non-Windows executions.
set MAVEN_CMD_LINE_ARGS=%*
%MAVEN_JAVA_EXE% ^
%JVM_CONFIG_MAVEN_PROPS% ^
%MAVEN_OPTS% ^
%MAVEN_DEBUG_OPTS% ^
-classpath %WRAPPER_JAR% ^
"-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" ^
%WRAPPER_LAUNCHER% %MAVEN_CONFIG% %*
if ERRORLEVEL 1 goto error
goto end
:error
set ERROR_CODE=1
:end
@endlocal & set ERROR_CODE=%ERROR_CODE%
if not "%MAVEN_SKIP_RC%"=="" goto skipRcPost
@REM check for post script, once with legacy .bat ending and once with .cmd ending
if exist "%USERPROFILE%\mavenrc_post.bat" call "%USERPROFILE%\mavenrc_post.bat"
if exist "%USERPROFILE%\mavenrc_post.cmd" call "%USERPROFILE%\mavenrc_post.cmd"
:skipRcPost
@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on'
if "%MAVEN_BATCH_PAUSE%"=="on" pause
if "%MAVEN_TERMINATE_CMD%"=="on" exit %ERROR_CODE%
cmd /C exit /B %ERROR_CODE%
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.7.9</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>com.tongda</groupId>
<artifactId>TDPIMS-SDK</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>TDPIMS-SDK</name>
<description>TDPIMS-SDK</description>
<properties>
<java.version>1.8</java.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.5.13</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>2.0.32</version>
</dependency>
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<version>2.0.1.Final</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.9.6</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>2.9.6</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<excludes>
<exclude>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
</project>
package com.tongda.tdpimssdk;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class TdpimsSdkApplication {
public static void main(String[] args) {
SpringApplication.run(TdpimsSdkApplication.class, args);
}
}
package com.tongda.tdpimssdk.api;
public class Pim {
// private String
}
package com.tongda.tdpimssdk.auth;
import com.alibaba.fastjson.JSONObject;
import com.tongda.tdpimssdk.http.PimHttpUtil;
import lombok.Data;
import java.util.HashMap;
@Data
public class Login {
private String user;
private String password;
private String satoken;
public static void main(String[] args) {
String url="http://121.199.160.117:9000/sso/doLogin";
// String url="http://121.199.160.117:9000/sso/auth?redirect=#";
String satoken=PimHttpUtil.loginGet(url,"zhengfunan","q1w2e3r4");
System.out.println("aaaaaaaaaaaaaaaaaaa;"+satoken);
String testurl="http://150.158.75.213:8080/pims/metadata/details?dbName=TXPIMDB&id=storage_warehouse";
PimHttpUtil.sendGet(testurl,new HashMap<>(),satoken);
}
}
package com.tongda.tdpimssdk.entities;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
public class AssetAbstract {
protected List<Field> field;
protected String id;
protected String dbHash;
protected String label;
protected String template;
protected String status;
protected String lcRef;
protected String lcStatus;
protected BigInteger version;
/**
* Gets the value of the field property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the field property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getField().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Field }
*
*
*/
public List<Field> getField() {
if (field == null) {
field = new ArrayList<Field>();
}
return this.field;
}
/**
* 获取id属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* 设置id属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* 获取dbHash属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getDbHash() {
return dbHash;
}
/**
* 设置dbHash属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDbHash(String value) {
this.dbHash = value;
}
/**
* 获取label属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getLabel() {
return label;
}
/**
* 设置label属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLabel(String value) {
this.label = value;
}
/**
* 获取template属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getTemplate() {
return template;
}
/**
* 设置template属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTemplate(String value) {
this.template = value;
}
/**
* 获取status属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getStatus() {
return status;
}
/**
* 设置status属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStatus(String value) {
this.status = value;
}
/**
* 获取lcRef属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getLcRef() {
return lcRef;
}
/**
* 设置lcRef属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLcRef(String value) {
this.lcRef = value;
}
/**
* 获取lcStatus属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getLcStatus() {
return lcStatus;
}
/**
* 设置lcStatus属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLcStatus(String value) {
this.lcStatus = value;
}
/**
* 获取version属性的值。
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getVersion() {
return version;
}
/**
* 设置version属性的值。
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setVersion(BigInteger value) {
this.version = value;
}
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;attribute name="key" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="label" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class Field {
@XmlAttribute(name = "key")
protected String key;
@XmlAttribute(name = "value")
protected String value;
@XmlAttribute(name = "label")
protected String label;
/**
* 获取key属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getKey() {
return key;
}
/**
* 设置key属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setKey(String value) {
this.key = value;
}
/**
* 获取value属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getValue() {
return value;
}
/**
* 设置value属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
/**
* 获取label属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getLabel() {
return label;
}
/**
* 设置label属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLabel(String value) {
this.label = value;
}
}
}
package com.tongda.tdpimssdk.entities;
import lombok.Data;
import javax.xml.bind.annotation.*;
@Data
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "EndUser")
public class EndUser {
@XmlAttribute(name = "id")
protected String id;
@XmlAttribute(name = "name")
protected String name;
@XmlAttribute(name = "loginName")
protected String loginName;
@XmlAttribute(name = "email")
protected String email;
@XmlAttribute(name = "cellPhone")
protected String cellPhone;
@XmlAttribute(name = "createdStamp")
protected Long createdStamp;
@XmlAttribute(name = "password")
protected String password;
@XmlAttribute(name = "status")
protected String status;
}
package com.tongda.tdpimssdk.entities;
import lombok.Data;
import javax.xml.bind.annotation.*;
@Data
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "EndUserRef")
public class EndUserRef {
@XmlAttribute(name = "idRef")
protected String idRef;
@XmlAttribute
protected String optFlag;
}
package com.tongda.tdpimssdk.entities;
import lombok.Data;
import javax.xml.bind.annotation.*;
import java.util.List;
@Data
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"endUserRef",
"endUser"
})
@XmlRootElement(name = "EndUserRefList")
public class EndUserRefList {
@XmlElement(name = "EndUserRef")
protected List<EndUserRef> endUserRef;
@XmlElement(name = "EndUser")
protected List<EndUser> endUser;
}
package com.tongda.tdpimssdk.entities;
import com.tongda.tdpimssdk.entities.common.ChangeLog;
import com.tongda.tdpimssdk.entities.common.Desc;
import lombok.Data;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}ChangeLog"/&gt;
* &lt;element ref="{}Desc"/&gt;
* &lt;sequence&gt;
* &lt;element name="Root" maxOccurs="unbounded" minOccurs="0"&gt;
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;attGroup ref="{}T_Attr_DBObject"/&gt;
* &lt;attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* &lt;/element&gt;
* &lt;/sequence&gt;
* &lt;/sequence&gt;
* &lt;attGroup ref="{}T_Attr_DBObject"/&gt;
* &lt;attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"changeLog",
"desc",
"root"
})
@Data
@XmlRootElement(name = "Entity")
public class Entity {
@XmlElement(name = "ChangeLog", required = true)
protected ChangeLog changeLog;
@XmlElement(name = "Desc", required = true)
protected Desc desc;
@XmlElement(name = "Root")
protected List<Root> root;
@XmlAttribute(name = "type")
protected String type;
@XmlAttribute(name = "id")
protected String id;
@XmlAttribute(name = "dbHash")
protected String dbHash;
@XmlAttribute(name = "label")
protected String label;
@XmlAttribute(name = "lcRef")
protected String lcRef;
@XmlAttribute(name = "lcStatus")
protected String lcStatus;
@XmlAttribute(name = "status")
protected String status;
@XmlAttribute(name = "version")
protected String version;
@XmlAttribute(name = "icon")
protected String icon;
@XmlAttribute(name = "info")
protected String info;
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;attGroup ref="{}T_Attr_DBObject"/&gt;
* &lt;attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@Data
@XmlType(name = "")
public static class Root {
@XmlAttribute(name = "type")
protected String type;
@XmlAttribute(name = "id")
protected String id;
@XmlAttribute(name = "dbHash")
protected String dbHash;
@XmlAttribute(name = "label")
protected String label;
}
}
package com.tongda.tdpimssdk.entities;
import lombok.Data;
import javax.xml.bind.annotation.*;
@Data
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"endUserRefList"
})
@XmlRootElement(name = "Instance")
public class Instance {
@XmlElement(name = "EndUserRefList", required = true)
protected EndUserRefList endUserRefList;
@XmlAttribute(name = "id")
protected String id;
@XmlAttribute(name = "label")
protected String label;
@XmlAttribute(name = "host")
protected String host;
@XmlAttribute(name = "port")
protected Short port;
@XmlAttribute(name = "clientPwd")
protected String clientPwd;
@XmlAttribute(name = "orgID")
protected String orgID;
@XmlAttribute(name = "type")
protected String type;
}
package com.tongda.tdpimssdk.entities;
import com.tongda.tdpimssdk.entities.common.AbstractDBEntity;
import com.tongda.tdpimssdk.entities.common.CandidateValue;
import lombok.Data;
import java.util.List;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>anonymous complex type�� Java �ࡣ
*
* <p>����ģʽƬ��ָ�������ڴ����е�Ԥ�����ݡ�
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}CandidateValue" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;attGroup ref="{}T_Attr_DBObject"/&gt;
* &lt;attGroup ref="{}T_MetadataEntry"/&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"candidateValue"
})
@Data
@XmlRootElement(name = "MetadataEntryTemplate")
public class MetadataEntryTemplate extends AbstractDBEntity {
@XmlElement(name = "CandidateValue")
protected List<CandidateValue> candidateValue;
@NotNull(message = "缺少元数据编码字段")
@NotEmpty(message = "元数据编码不能为空")
@XmlAttribute(name = "key", required = true)
protected String key;
@XmlAttribute(name = "mode", required = true)
protected String mode;
@XmlAttribute(name = "modeLabel")
protected String modeLabel;
@XmlAttribute(name = "dataType", required = true)
protected String dataType;
@XmlAttribute(name = "dataTypeLabel")
protected String dataTypeLabel;
@XmlAttribute(name = "uom")
protected String uom;
@XmlAttribute(name = "uomLabel")
protected String uomLabel;
@XmlAttribute(name = "value", required = true)
protected String value;
@XmlAttribute(name = "valueMin")
protected String valueMin;
@XmlAttribute(name = "valueMax")
protected String valueMax;
@XmlAttribute(name = "regPattern")
protected String regPattern;
@XmlAttribute(name = "regPatternLabel")
protected String regPatternLabel;
@XmlAttribute(name = "desc")
protected String desc;
}
package com.tongda.tdpimssdk.entities;
import com.tongda.tdpimssdk.entities.common.Metadata;
import lombok.Data;
import javax.xml.bind.annotation.*;
import java.util.List;
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}Metadata" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@Data
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"metadata"
})
@XmlRootElement(name = "MetadataGroup")
public class MetadataGroup {
@XmlElement(name = "Metadata")
protected List<Metadata> metadata;
}
package com.tongda.tdpimssdk.entities;
import com.tongda.tdpimssdk.entities.common.Desc;
import com.tongda.tdpimssdk.entities.common.History;
import com.tongda.tdpimssdk.entities.common.Permission;
import com.tongda.tdpimssdk.entities.common.TSVariableDef;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Product complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType name="Product"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}Permission"/&gt;
* &lt;element ref="{}Desc"/&gt;
* &lt;element ref="{}History"/&gt;
* &lt;element ref="{}MetadataGroup"/&gt;
* &lt;element ref="{}ResourceCatalog"/&gt;
* &lt;element name="TSVariableDefGroup"&gt;
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}TSVariableDef" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* &lt;/element&gt;
* &lt;/sequence&gt;
* &lt;attGroup ref="{}T_Attr_DBObject"/&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Product", propOrder = {
"permission",
"desc",
"history",
"metadataGroup",
"resourceCatalog",
"tsVariableDefGroup"
})
public class Product {
@XmlElement(name = "Permission", required = true)
protected Permission permission;
@XmlElement(name = "Desc", required = true)
protected Desc desc;
@XmlElement(name = "History", required = true)
protected History history;
@XmlElement(name = "MetadataGroup", required = true)
protected MetadataGroup metadataGroup;
@XmlElement(name = "ResourceCatalog", required = true)
protected ResourceCatalog resourceCatalog;
@XmlElement(name = "TSVariableDefGroup", required = true)
protected TSVariableDefGroup tsVariableDefGroup;
@XmlAttribute(name = "id")
protected String id;
@XmlAttribute(name = "dbHash")
protected String dbHash;
@XmlAttribute(name = "label")
protected String label;
@XmlAttribute(name = "template")
protected String template;
@XmlAttribute(name = "lcRef")
protected String lcRef;
@XmlAttribute(name = "lcStatus")
protected String lcStatus;
@XmlAttribute(name = "version")
protected BigInteger version;
/**
* 获取permission属性的值。
*
* @return
* possible object is
* {@link Permission }
*
*/
public Permission getPermission() {
return permission;
}
/**
* 设置permission属性的值。
*
* @param value
* allowed object is
* {@link Permission }
*
*/
public void setPermission(Permission value) {
this.permission = value;
}
/**
* 获取desc属性的值。
*
* @return
* possible object is
* {@link Desc }
*
*/
public Desc getDesc() {
return desc;
}
/**
* 设置desc属性的值。
*
* @param value
* allowed object is
* {@link Desc }
*
*/
public void setDesc(Desc value) {
this.desc = value;
}
/**
* 获取history属性的值。
*
* @return
* possible object is
* {@link History }
*
*/
public History getHistory() {
return history;
}
/**
* 设置history属性的值。
*
* @param value
* allowed object is
* {@link History }
*
*/
public void setHistory(History value) {
this.history = value;
}
/**
* 获取metadataGroup属性的值。
*
* @return
* possible object is
* {@link MetadataGroup }
*
*/
public MetadataGroup getMetadataGroup() {
return metadataGroup;
}
/**
* 设置metadataGroup属性的值。
*
* @param value
* allowed object is
* {@link MetadataGroup }
*
*/
public void setMetadataGroup(MetadataGroup value) {
this.metadataGroup = value;
}
/**
* 获取resourceCatalog属性的值。
*
* @return
* possible object is
* {@link ResourceCatalog }
*
*/
public ResourceCatalog getResourceCatalog() {
return resourceCatalog;
}
/**
* 设置resourceCatalog属性的值。
*
* @param value
* allowed object is
* {@link ResourceCatalog }
*
*/
public void setResourceCatalog(ResourceCatalog value) {
this.resourceCatalog = value;
}
/**
* 获取tsVariableDefGroup属性的值。
*
* @return
* possible object is
* {@link TSVariableDefGroup }
*
*/
public TSVariableDefGroup getTSVariableDefGroup() {
return tsVariableDefGroup;
}
/**
* 设置tsVariableDefGroup属性的值。
*
* @param value
* allowed object is
* {@link TSVariableDefGroup }
*
*/
public void setTSVariableDefGroup(TSVariableDefGroup value) {
this.tsVariableDefGroup = value;
}
/**
* 获取id属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* 设置id属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* 获取dbHash属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getDbHash() {
return dbHash;
}
/**
* 设置dbHash属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDbHash(String value) {
this.dbHash = value;
}
/**
* 获取label属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getLabel() {
return label;
}
/**
* 设置label属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLabel(String value) {
this.label = value;
}
/**
* 获取template属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getTemplate() {
return template;
}
/**
* 设置template属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTemplate(String value) {
this.template = value;
}
/**
* 获取lcRef属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getLcRef() {
return lcRef;
}
/**
* 设置lcRef属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLcRef(String value) {
this.lcRef = value;
}
/**
* 获取lcStatus属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getLcStatus() {
return lcStatus;
}
/**
* 设置lcStatus属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLcStatus(String value) {
this.lcStatus = value;
}
/**
* 获取version属性的值。
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getVersion() {
return version;
}
/**
* 设置version属性的值。
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setVersion(BigInteger value) {
this.version = value;
}
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}TSVariableDef" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"tsVariableDef"
})
public static class TSVariableDefGroup {
@XmlElement(name = "TSVariableDef")
protected List<TSVariableDef> tsVariableDef;
/**
* Gets the value of the tsVariableDef property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the tsVariableDef property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getTSVariableDef().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TSVariableDef }
*
*
*/
public List<TSVariableDef> getTSVariableDef() {
if (tsVariableDef == null) {
tsVariableDef = new ArrayList<TSVariableDef>();
}
return this.tsVariableDef;
}
}
}
package com.tongda.tdpimssdk.entities;
import lombok.Data;
import javax.xml.bind.annotation.*;
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;attGroup ref="{}T_Ref"/&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@Data
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "ProductRef")
public class ProductRef {
@XmlAttribute(name = "idref")
protected String idref;
@XmlAttribute(name = "label")
protected String label;
@XmlAttribute(name = "template")
protected String template;
}
package com.tongda.tdpimssdk.entities;
import com.tongda.tdpimssdk.entities.common.Desc;
import com.tongda.tdpimssdk.entities.common.History;
import com.tongda.tdpimssdk.entities.common.Permission;
import com.tongda.tdpimssdk.entities.common.TSVariableDef;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>ProductSeries complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType name="ProductSeries"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}Permission"/&gt;
* &lt;element ref="{}Desc"/&gt;
* &lt;element ref="{}History"/&gt;
* &lt;element ref="{}MetadataGroup"/&gt;
* &lt;element ref="{}ResourceCatalog"/&gt;
* &lt;element name="ProductFamily"&gt;
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}ProductRef" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* &lt;/element&gt;
* &lt;element name="TSVariableDefGroup"&gt;
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}TSVariableDef" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* &lt;/element&gt;
* &lt;/sequence&gt;
* &lt;attGroup ref="{}T_Attr_DBObject"/&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ProductSeries", propOrder = {
"permission",
"desc",
"history",
"metadataGroup",
"resourceCatalog",
"productFamily",
"tsVariableDefGroup"
})
public class ProductSeries {
@XmlElement(name = "Permission", required = true)
protected Permission permission;
@XmlElement(name = "Desc", required = true)
protected Desc desc;
@XmlElement(name = "History", required = true)
protected History history;
@XmlElement(name = "MetadataGroup", required = true)
protected MetadataGroup metadataGroup;
@XmlElement(name = "ResourceCatalog", required = true)
protected ResourceCatalog resourceCatalog;
@XmlElement(name = "ProductFamily", required = true)
protected ProductFamily productFamily;
@XmlElement(name = "TSVariableDefGroup", required = true)
protected TSVariableDefGroup tsVariableDefGroup;
@XmlAttribute(name = "id")
protected String id;
@XmlAttribute(name = "dbHash")
protected String dbHash;
@XmlAttribute(name = "label")
protected String label;
@XmlAttribute(name = "template")
protected String template;
@XmlAttribute(name = "lcRef")
protected String lcRef;
@XmlAttribute(name = "lcStatus")
protected String lcStatus;
@XmlAttribute(name = "version")
protected BigInteger version;
/**
* 获取permission属性的值。
*
* @return
* possible object is
* {@link Permission }
*
*/
public Permission getPermission() {
return permission;
}
/**
* 设置permission属性的值。
*
* @param value
* allowed object is
* {@link Permission }
*
*/
public void setPermission(Permission value) {
this.permission = value;
}
/**
* 获取desc属性的值。
*
* @return
* possible object is
* {@link Desc }
*
*/
public Desc getDesc() {
return desc;
}
/**
* 设置desc属性的值。
*
* @param value
* allowed object is
* {@link Desc }
*
*/
public void setDesc(Desc value) {
this.desc = value;
}
/**
* 获取history属性的值。
*
* @return
* possible object is
* {@link History }
*
*/
public History getHistory() {
return history;
}
/**
* 设置history属性的值。
*
* @param value
* allowed object is
* {@link History }
*
*/
public void setHistory(History value) {
this.history = value;
}
/**
* 获取metadataGroup属性的值。
*
* @return
* possible object is
* {@link MetadataGroup }
*
*/
public MetadataGroup getMetadataGroup() {
return metadataGroup;
}
/**
* 设置metadataGroup属性的值。
*
* @param value
* allowed object is
* {@link MetadataGroup }
*
*/
public void setMetadataGroup(MetadataGroup value) {
this.metadataGroup = value;
}
/**
* 获取resourceCatalog属性的值。
*
* @return
* possible object is
* {@link ResourceCatalog }
*
*/
public ResourceCatalog getResourceCatalog() {
return resourceCatalog;
}
/**
* 设置resourceCatalog属性的值。
*
* @param value
* allowed object is
* {@link ResourceCatalog }
*
*/
public void setResourceCatalog(ResourceCatalog value) {
this.resourceCatalog = value;
}
/**
* 获取productFamily属性的值。
*
* @return
* possible object is
* {@link ProductFamily }
*
*/
public ProductFamily getProductFamily() {
return productFamily;
}
/**
* 设置productFamily属性的值。
*
* @param value
* allowed object is
* {@link ProductFamily }
*
*/
public void setProductFamily(ProductFamily value) {
this.productFamily = value;
}
/**
* 获取tsVariableDefGroup属性的值。
*
* @return
* possible object is
* {@link TSVariableDefGroup }
*
*/
public TSVariableDefGroup getTSVariableDefGroup() {
return tsVariableDefGroup;
}
/**
* 设置tsVariableDefGroup属性的值。
*
* @param value
* allowed object is
* {@link TSVariableDefGroup }
*
*/
public void setTSVariableDefGroup(TSVariableDefGroup value) {
this.tsVariableDefGroup = value;
}
/**
* 获取id属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* 设置id属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* 获取dbHash属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getDbHash() {
return dbHash;
}
/**
* 设置dbHash属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDbHash(String value) {
this.dbHash = value;
}
/**
* 获取label属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getLabel() {
return label;
}
/**
* 设置label属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLabel(String value) {
this.label = value;
}
/**
* 获取template属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getTemplate() {
return template;
}
/**
* 设置template属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTemplate(String value) {
this.template = value;
}
/**
* 获取lcRef属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getLcRef() {
return lcRef;
}
/**
* 设置lcRef属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLcRef(String value) {
this.lcRef = value;
}
/**
* 获取lcStatus属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getLcStatus() {
return lcStatus;
}
/**
* 设置lcStatus属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLcStatus(String value) {
this.lcStatus = value;
}
/**
* 获取version属性的值。
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getVersion() {
return version;
}
/**
* 设置version属性的值。
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setVersion(BigInteger value) {
this.version = value;
}
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}ProductRef" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"productRef"
})
public static class ProductFamily {
@XmlElement(name = "ProductRef")
protected List<ProductRef> productRef;
/**
* Gets the value of the productRef property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the productRef property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getProductRef().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link ProductRef }
*
*
*/
public List<ProductRef> getProductRef() {
if (productRef == null) {
productRef = new ArrayList<ProductRef>();
}
return this.productRef;
}
}
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}TSVariableDef" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"tsVariableDef"
})
public static class TSVariableDefGroup {
@XmlElement(name = "TSVariableDef")
protected List<TSVariableDef> tsVariableDef;
/**
* Gets the value of the tsVariableDef property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the tsVariableDef property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getTSVariableDef().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TSVariableDef }
*
*
*/
public List<TSVariableDef> getTSVariableDef() {
if (tsVariableDef == null) {
tsVariableDef = new ArrayList<TSVariableDef>();
}
return this.tsVariableDef;
}
}
}
package com.tongda.tdpimssdk.entities;
import lombok.Data;
import javax.xml.bind.annotation.*;
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;attGroup ref="{}T_Ref"/&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@Data
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "ProductSeriesRef")
public class ProductSeriesRef {
@XmlAttribute(name = "id")
protected String id;
@XmlAttribute(name = "idref")
protected String idref;
@XmlAttribute(name = "label")
protected String label;
@XmlAttribute(name = "template")
protected String template;
}
package com.tongda.tdpimssdk.entities;
import lombok.Data;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
@Data
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"permission",
"desc",
"history",
"metadataGroup",
"resourceCatalog",
"productFamily"
})
@XmlRootElement(name = "ProductSeriesTemplate")
public class ProductSeriesTemplate extends ProductSeries{
}
package com.tongda.tdpimssdk.entities;
import lombok.Data;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
@Data
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"permission",
"desc",
"history",
"metadataGroup",
"resourceCatalog"
})
@XmlRootElement(name = "ProductTemplate")
public class ProductTemplate extends Product{
}
package com.tongda.tdpimssdk.entities;
import com.tongda.tdpimssdk.entities.common.AbstractDBEntity;
import com.tongda.tdpimssdk.entities.common.Desc;
import com.tongda.tdpimssdk.entities.common.Permission;
import com.tongda.tdpimssdk.entities.common.History;
import lombok.Data;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Resource complex type�� Java �ࡣ
*
* <p>����ģʽƬ��ָ�������ڴ����е�Ԥ�����ݡ�
*
* <pre>
* &lt;complexType name="Resource"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}ACL"/&gt;
* &lt;element ref="{}Desc"/&gt;
* &lt;element ref="{}History"/&gt;
* &lt;element ref="{}MetadataGroup"/&gt;
* &lt;/sequence&gt;
* &lt;attGroup ref="{}T_Attr_DBObject"/&gt;
* &lt;attribute name="href" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="mediatype" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@Data
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Resource", propOrder = {
"permission",
"desc",
"history",
"metadataGroup"
})
public class Resource extends AbstractDBEntity {
@XmlElement(name = "Permission", required = true)
protected Permission permission;
@XmlElement(name = "Desc", required = true)
protected Desc desc;
@XmlElement(name = "History", required = true)
protected History history;
@XmlElement(name = "MetadataGroup", required = true)
protected MetadataGroup metadataGroup;
@XmlAttribute(name = "href")
protected String href;
@XmlAttribute(name = "mediatype")
protected String mediatype;
}
package com.tongda.tdpimssdk.entities;
import lombok.Data;
import javax.xml.bind.annotation.*;
import java.util.List;
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}ResourceList" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@Data
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"resourceList"
})
@XmlRootElement(name = "ResourceCatalog")
public class ResourceCatalog {
@XmlElement(name = "ResourceList")
protected List<ResourceList> resourceList;
}
package com.tongda.tdpimssdk.entities;
import com.tongda.tdpimssdk.entities.common.Permission;
import lombok.Data;
import javax.xml.bind.annotation.*;
import java.util.List;
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}ACL"/&gt;
* &lt;element ref="{}ResourceRef" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;attribute name="key" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="label" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@Data
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"permission",
"resourceRef"
})
@XmlRootElement(name = "ResourceList")
public class ResourceList {
@XmlElement(name = "Permission", required = true)
protected Permission permission;
@XmlElement(name = "ResourceRef")
protected List<ResourceRef> resourceRef;
@XmlAttribute(name = "key")
protected String key;
@XmlAttribute(name = "id")
protected String id;
@XmlAttribute(name = "label")
protected String label;
}
package com.tongda.tdpimssdk.entities;
import lombok.Data;
import javax.xml.bind.annotation.*;
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;attGroup ref="{}T_Ref"/&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@Data
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "ResourceRef")
public class ResourceRef {
@XmlAttribute(name = "idRef")
protected String idref;
@XmlAttribute(name = "id")
protected String id;
@XmlAttribute(name = "key")
protected String key;
@XmlAttribute(name = "label")
protected String label;
@XmlAttribute(name = "template")
protected String template;
}
package com.tongda.tdpimssdk.entities;
import lombok.Data;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
@Data
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"permission",
"desc",
"history",
"metadata"
})
@XmlRootElement(name = "ResourceTemplate")
public class ResourceTemplate extends Resource{
}
package com.tongda.tdpimssdk.entities;
import com.tongda.tdpimssdk.entities.common.*;
import javax.xml.bind.annotation.*;
import java.util.ArrayList;
import java.util.List;
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;sequence&gt;
* &lt;element ref="{}MetadataEntryTemplate" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;sequence&gt;
* &lt;element ref="{}MetadataEntry" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;sequence&gt;
* &lt;element ref="{}CatalogRoot" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;sequence&gt;
* &lt;element ref="{}ProductSeries" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;sequence&gt;
* &lt;element ref="{}Product" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;sequence&gt;
* &lt;element ref="{}Resource" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;sequence&gt;
* &lt;element ref="{}ProductSeriesTemplate" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;sequence&gt;
* &lt;element ref="{}ProductTemplate" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;sequence&gt;
* &lt;element ref="{}ResourceTemplate" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;sequence&gt;
* &lt;element ref="{}TDLifeCycleDefinition" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;sequence&gt;
* &lt;element ref="{}Entity" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;sequence&gt;
* &lt;element ref="{}Catalog" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;sequence&gt;
* &lt;element name="EntityGroup" maxOccurs="unbounded" minOccurs="0"&gt;
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}Entity" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="label" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* &lt;/element&gt;
* &lt;/sequence&gt;
* &lt;sequence&gt;
* &lt;element ref="{}Role" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;sequence&gt;
* &lt;element ref="{}Team2" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;sequence&gt;
* &lt;element ref="{}PermDef" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/sequence&gt;
* &lt;attribute name="code" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="info" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"metadataEntryTemplate",
"metadataEntry",
"catalogRoot",
"productSeries",
"product",
"resource",
"productSeriesTemplate",
"productTemplate",
"resourceTemplate",
"tdLifeCycleDefinition",
"assetAbstracts",
"entity",
"catalog",
"entityGroup",
"role",
"team2",
"permDef",
"relationTypeDefList"
})
@XmlRootElement(name = "Result")
public class Result {
@XmlElement(name = "MetadataEntryTemplate")
protected List<MetadataEntryTemplate> metadataEntryTemplate;
@XmlElement(name = "RelationTypeDef")
protected List<RelationTypeDef> relationTypeDefList;
@XmlElement(name = "MetadataEntry")
protected List<MetadataEntry> metadataEntry;
@XmlElement(name = "CatalogRoot")
protected List<CatalogRoot> catalogRoot;
@XmlElement(name = "ProductSeries")
protected List<ProductSeries> productSeries;
@XmlElement(name = "Product")
protected List<Product> product;
@XmlElement(name = "Resource")
protected List<Resource> resource;
@XmlElement(name = "ProductSeriesTemplate")
protected List<ProductSeries> productSeriesTemplate;
@XmlElement(name = "ProductTemplate")
protected List<Product> productTemplate;
@XmlElement(name = "ResourceTemplate")
protected List<Resource> resourceTemplate;
@XmlElement(name = "AssetAbstract")
protected List<AssetAbstract> assetAbstracts;
@XmlElement(name = "TDLifeCycleDefinition")
protected List<TDLifeCycleDefinition> tdLifeCycleDefinition;
@XmlElement(name = "Entity")
protected List<Entity> entity;
@XmlElement(name = "Catalog")
protected List<Catalog> catalog;
@XmlElement(name = "EntityGroup")
protected List<EntityGroup> entityGroup;
@XmlElement(name = "Role")
protected List<Role> role;
@XmlElement(name = "Team2")
protected List<Team2> team2;
@XmlElement(name = "PermDef")
protected List<PermDef> permDef;
@XmlAttribute(name = "code")
protected String code;
@XmlAttribute(name = "info")
protected String info;
/**
* Gets the value of the metadataEntryTemplate property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the metadataEntryTemplate property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getMetadataEntryTemplate().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link MetadataEntryTemplate }
*/
public List<MetadataEntryTemplate> getMetadataEntryTemplate() {
if (metadataEntryTemplate == null) {
metadataEntryTemplate = new ArrayList<MetadataEntryTemplate>();
}
return this.metadataEntryTemplate;
}
public List<RelationTypeDef> getRelationTypeDefList() {
if (relationTypeDefList == null) {
relationTypeDefList = new ArrayList<RelationTypeDef>();
}
return relationTypeDefList;
}
/**
* Gets the value of the metadataEntry property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the metadataEntry property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getMetadataEntry().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link MetadataEntry }
*/
public List<MetadataEntry> getMetadataEntry() {
if (metadataEntry == null) {
metadataEntry = new ArrayList<MetadataEntry>();
}
return this.metadataEntry;
}
/**
* Gets the value of the catalogRoot property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the catalogRoot property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getCatalogRoot().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link CatalogRoot }
*/
public List<CatalogRoot> getCatalogRoot() {
if (catalogRoot == null) {
catalogRoot = new ArrayList<CatalogRoot>();
}
return this.catalogRoot;
}
/**
* Gets the value of the productSeries property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the productSeries property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getProductSeries().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link ProductSeries }
*/
public List<ProductSeries> getProductSeries() {
if (productSeries == null) {
productSeries = new ArrayList<ProductSeries>();
}
return this.productSeries;
}
/**
* Gets the value of the product property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the product property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getProduct().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Product }
*/
public List<Product> getProduct() {
if (product == null) {
product = new ArrayList<Product>();
}
return this.product;
}
/**
* Gets the value of the resource property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the resource property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getResource().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Resource }
*/
public List<Resource> getResource() {
if (resource == null) {
resource = new ArrayList<Resource>();
}
return this.resource;
}
/**
* Gets the value of the productSeriesTemplate property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the productSeriesTemplate property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getProductSeriesTemplate().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link ProductSeries }
*/
public List<ProductSeries> getProductSeriesTemplate() {
if (productSeriesTemplate == null) {
productSeriesTemplate = new ArrayList<ProductSeries>();
}
return this.productSeriesTemplate;
}
/**
* Gets the value of the productTemplate property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the productTemplate property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getProductTemplate().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Product }
*/
public List<Product> getProductTemplate() {
if (productTemplate == null) {
productTemplate = new ArrayList<Product>();
}
return this.productTemplate;
}
/**
* Gets the value of the resourceTemplate property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the resourceTemplate property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getResourceTemplate().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Resource }
*/
public List<Resource> getResourceTemplate() {
if (resourceTemplate == null) {
resourceTemplate = new ArrayList<Resource>();
}
return this.resourceTemplate;
}
public List<AssetAbstract> getAssetAbstract() {
if (assetAbstracts == null) {
assetAbstracts = new ArrayList<AssetAbstract>();
}
return this.assetAbstracts;
}
/**
* Gets the value of the tdLifeCycleDefinition property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the tdLifeCycleDefinition property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getTDLifeCycleDefinition().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TDLifeCycleDefinition }
*/
public List<TDLifeCycleDefinition> getTDLifeCycleDefinition() {
if (tdLifeCycleDefinition == null) {
tdLifeCycleDefinition = new ArrayList<TDLifeCycleDefinition>();
}
return this.tdLifeCycleDefinition;
}
/**
* Gets the value of the entity property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the entity property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getEntity().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Entity }
*/
public List<Entity> getEntity() {
if (entity == null) {
entity = new ArrayList<Entity>();
}
return this.entity;
}
/**
* Gets the value of the catalog property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the catalog property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getCatalog().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Catalog }
*/
public List<Catalog> getCatalog() {
if (catalog == null) {
catalog = new ArrayList<Catalog>();
}
return this.catalog;
}
/**
* Gets the value of the entityGroup property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the entityGroup property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getEntityGroup().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link EntityGroup }
*/
public List<EntityGroup> getEntityGroup() {
if (entityGroup == null) {
entityGroup = new ArrayList<EntityGroup>();
}
return this.entityGroup;
}
/**
* Gets the value of the role property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the role property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getRole().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Role }
*/
public List<Role> getRole() {
if (role == null) {
role = new ArrayList<Role>();
}
return this.role;
}
/**
* Gets the value of the team2 property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the team2 property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getTeam2().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Team2 }
*/
public List<Team2> getTeam2() {
if (team2 == null) {
team2 = new ArrayList<Team2>();
}
return this.team2;
}
/**
* Gets the value of the permDef property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the permDef property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getPermDef().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link PermDef }
*/
public List<PermDef> getPermDef() {
if (permDef == null) {
permDef = new ArrayList<PermDef>();
}
return this.permDef;
}
/**
* 获取code属性的值。
*
* @return possible object is
* {@link String }
*/
public String getCode() {
return code;
}
/**
* 设置code属性的值。
*
* @param value allowed object is
* {@link String }
*/
public void setCode(String value) {
this.code = value;
}
/**
* 获取info属性的值。
*
* @return possible object is
* {@link String }
*/
public String getInfo() {
return info;
}
/**
* 设置info属性的值。
*
* @param value allowed object is
* {@link String }
*/
public void setInfo(String value) {
this.info = value;
}
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}Entity" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="label" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"entity"
})
public static class EntityGroup {
@XmlElement(name = "Entity")
protected List<Entity> entity;
@XmlAttribute(name = "type")
protected String type;
@XmlAttribute(name = "label")
protected String label;
// public void setEntity(List<Entity> entity) {
// this.entity = entity;
// }
/**
* Gets the value of the entity property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the entity property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getEntity().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Entity }
*/
public List<Entity> getEntity() {
if (entity == null) {
entity = new ArrayList<Entity>();
}
return this.entity;
}
/**
* 获取type属性的值。
*
* @return possible object is
* {@link String }
*/
public String getType() {
return type;
}
/**
* 设置type属性的值。
*
* @param value allowed object is
* {@link String }
*/
public void setType(String value) {
this.type = value;
}
/**
* 获取label属性的值。
*
* @return possible object is
* {@link String }
*/
public String getLabel() {
return label;
}
/**
* 设置label属性的值。
*
* @param value allowed object is
* {@link String }
*/
public void setLabel(String value) {
this.label = value;
}
}
}
package com.tongda.tdpimssdk.entities.common;
import lombok.Data;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
import java.math.BigInteger;
/**
* <p>AbstractDBEntity complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType name="AbstractDBEntity"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;attGroup ref="{}T_Attr_DBObject"/&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@Data
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AbstractDBEntity")
public class AbstractDBEntity {
@XmlAttribute(name = "id")
protected String id;
@XmlAttribute(name = "dbHash")
protected String dbHash;
@XmlAttribute(name = "label")
protected String label;
@XmlAttribute(name = "lcRef")
protected String lcRef;
@XmlAttribute(name = "lcStatus")
protected String lcStatus;
@XmlAttribute(name = "version")
protected BigInteger version;
@XmlAttribute(name = "template")
protected String template;
@XmlAttribute(name = "status")
protected String status;
}
package com.tongda.tdpimssdk.entities.common;
import java.math.BigInteger;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;attGroup ref="{}T_Attr_Ref"/&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "AssetRef")
public class AssetRef {
@XmlAttribute(name = "id")
protected String id;
@XmlAttribute(name = "idRef")
protected String idRef;
@XmlAttribute(name = "label")
protected String label;
@XmlAttribute(name = "template")
protected String template;
@XmlAttribute(name = "version")
protected BigInteger version;
/**
* 获取id属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* 设置id属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* 获取idRef属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getIdRef() {
return idRef;
}
/**
* 设置idRef属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIdRef(String value) {
this.idRef = value;
}
/**
* 获取label属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getLabel() {
return label;
}
/**
* 设置label属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLabel(String value) {
this.label = value;
}
/**
* 获取template属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getTemplate() {
return template;
}
/**
* 设置template属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTemplate(String value) {
this.template = value;
}
/**
* 获取version属性的值。
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getVersion() {
return version;
}
/**
* 设置version属性的值。
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setVersion(BigInteger value) {
this.version = value;
}
}
package com.tongda.tdpimssdk.entities.common;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>anonymous complex type�� Java �ࡣ
*
* <p>����ģʽƬ��ָ�������ڴ����е�Ԥ�����ݡ�
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="isSelected" type="{http://www.w3.org/2001/XMLSchema}boolean" /&gt;
* &lt;attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="label" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@Data
@XmlRootElement(name = "CandidateValue")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class CandidateValue {
@XmlAttribute(name = "id")
public String id;
@XmlAttribute(name = "isSelected")
public Boolean isSelected;
@NotNull(message = "缺少选项值编码字段")
@NotEmpty(message = "选项值编码不能为空")
@XmlAttribute(name = "key", required = true)
public String key;
@NotNull(message = "缺少选项值字段")
@NotEmpty(message = "选项值不能为空")
@XmlAttribute(name = "value")
public String value;
@NotNull(message = "缺少选项名称字段")
@NotEmpty(message = "选项名称不能为空")
@XmlAttribute(name = "label")
public String label;
@XmlAttribute(name = "ratio")
public Double ratio;
@XmlAttribute(name = "pow")
public Integer pow;
}
package com.tongda.tdpimssdk.entities.common;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.tongda.tdpimssdk.entities.MetadataEntryTemplate;
import lombok.Data;
import javax.xml.bind.annotation.*;
import java.util.List;
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}Catalog" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;attGroup ref="{}T_Ref"/&gt;
* &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /&gt;
* &lt;attribute name="type"&gt;
* &lt;simpleType&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
* &lt;enumeration value="catalog"/&gt;
* &lt;enumeration value="productref"/&gt;
* &lt;enumeration value="productseriesref"/&gt;
* &lt;/restriction&gt;
* &lt;/simpleType&gt;
* &lt;/attribute&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*/
@Data
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"catalog",
"metadataEntry"
})
@XmlRootElement(name = "Catalog")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Catalog {
@XmlElement(name = "Catalog")
protected List<Catalog> catalog;
@XmlAttribute(name = "id")
protected String id;
@XmlAttribute(name = "type")
protected String type;
@XmlAttribute(name = "idRef")
protected String idRef;
@XmlAttribute(name = "label")
protected String label;
@XmlAttribute(name = "template")
protected String template;
@XmlAttribute(name = "icon")
protected String icon;
@XmlAttribute(name = "info")
protected String info;
@XmlAttribute(name = "version")
protected Integer version;
@XmlAttribute(name = "key")
protected String key;
@XmlElement(name = "MetadataEntryTemplate")
protected MetadataEntryTemplate metadataEntry;
@XmlAttribute(name = "entityCount")
protected String entityCount;
}
package com.tongda.tdpimssdk.entities.common;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import javax.xml.bind.annotation.*;
import java.math.BigInteger;
import java.util.List;
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}ACL"/&gt;
* &lt;element ref="{}History"/&gt;
* &lt;element ref="{}Catalog" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;attGroup ref="{}T_Attr_DBObject"/&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@Data
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"permission",
"history",
"catalog"
})
@XmlRootElement(name = "CatalogRoot")
public class CatalogRoot {
@XmlElement(name = "Permission", required = true)
protected Permission permission;
@XmlElement(name = "History", required = true)
protected History history;
@XmlElement(name = "Catalog")
@JsonProperty("catalogList")
protected List<Catalog> catalog;
@XmlAttribute(name = "id")
protected String id;
@XmlAttribute(name = "dbHash")
protected String dbHash;
@XmlAttribute(name = "label")
protected String label;
@XmlAttribute(name = "lcStatus")
protected String lcStatus;
@XmlAttribute(name = "version")
protected BigInteger version;
}
package com.tongda.tdpimssdk.entities.common;
import lombok.Data;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
import javax.xml.datatype.XMLGregorianCalendar;
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType&gt;
* &lt;simpleContent&gt;
* &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema&gt;string"&gt;
* &lt;attGroup ref="{}T_Attr_History"/&gt;
* &lt;/extension&gt;
* &lt;/simpleContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"value"
})
@Data
@XmlRootElement(name = "ChangeLog")
public class ChangeLog {
@XmlValue
protected String value;
@XmlAttribute(name = "userID")
protected String userID;
@XmlAttribute(name = "userName")
protected String userName;
@XmlAttribute(name = "stamp")
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar stamp;
@XmlAttribute(name = "type")
protected String type;
@XmlAttribute(name = "version")
protected String version;
}
package com.tongda.tdpimssdk.entities.common;
import lombok.Data;
import javax.xml.bind.annotation.*;
import java.util.List;
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="p" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@Data
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"p"
})
@XmlRootElement(name = "Desc")
public class Desc {
@XmlElement(required = true)
protected List<String> p;
}
package com.tongda.tdpimssdk.entities.common;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}EndUserRef" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"endUserRef"
})
@XmlRootElement(name = "EndUserList")
public class EndUserList {
@XmlElement(name = "EndUserRef")
protected List<EndUserRef> endUserRef;
/**
* Gets the value of the endUserRef property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the endUserRef property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getEndUserRef().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link EndUserRef }
*
*
*/
public List<EndUserRef> getEndUserRef() {
if (endUserRef == null) {
endUserRef = new ArrayList<EndUserRef>();
}
return this.endUserRef;
}
}
package com.tongda.tdpimssdk.entities.common;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;attribute name="idRef" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "EndUserRef")
public class EndUserRef {
@XmlAttribute(name = "idRef")
protected String idRef;
/**
* 获取idRef属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getIdRef() {
return idRef;
}
/**
* 设置idRef属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIdRef(String value) {
this.idRef = value;
}
}
package com.tongda.tdpimssdk.entities.common;
import lombok.Data;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>anonymous complex type�� Java �ࡣ
*
* <p>����ģʽƬ��ָ�������ڴ����е�Ԥ�����ݡ�
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="ChangeLog" maxOccurs="unbounded" minOccurs="0"&gt;
* &lt;complexType&gt;
* &lt;simpleContent&gt;
* &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema&gt;string"&gt;
* &lt;attGroup ref="{}T_Attr_History"/&gt;
* &lt;/extension&gt;
* &lt;/simpleContent&gt;
* &lt;/complexType&gt;
* &lt;/element&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@Data
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"changeLog"
})
@XmlRootElement(name = "History")
public class History {
@XmlElement(name = "ChangeLog")
protected List<ChangeLog> changeLog;
/**
* Gets the value of the changeLog property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the changeLog property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getChangeLog().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link ChangeLog }
*
*
*/
/**
* <p>anonymous complex type�� Java �ࡣ
*
* <p>����ģʽƬ��ָ�������ڴ����е�Ԥ�����ݡ�
*
* <pre>
* &lt;complexType&gt;
* &lt;simpleContent&gt;
* &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema&gt;string"&gt;
* &lt;attGroup ref="{}T_Attr_History"/&gt;
* &lt;/extension&gt;
* &lt;/simpleContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
}
package com.tongda.tdpimssdk.entities.common;
import lombok.Data;
import javax.xml.bind.annotation.*;
import java.util.List;
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}ACL"/&gt;
* &lt;element ref="{}MetadataEntry" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;attGroup ref="{}T_Attr_DBObject"/&gt;
* &lt;attribute name="key" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@Data
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
// "permission",
"metadataEntry"
})
@XmlRootElement(name = "Metadata")
public class Metadata {
// @XmlElement(name = "Permission", required = true)
// protected Permission permission;
@XmlElement(name = "MetadataEntry")
protected List<MetadataEntry> metadataEntry;
@XmlAttribute(name = "key")
protected String key;
@XmlAttribute(name = "id")
protected String id;
@XmlAttribute(name = "label")
protected String label;
}
package com.tongda.tdpimssdk.entities.common;
import lombok.Data;
import java.util.List;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>anonymous complex type�� Java �ࡣ
*
* <p>����ģʽƬ��ָ�������ڴ����е�Ԥ�����ݡ�
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}CandidateValue" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;attGroup ref="{}T_MetadataEntry"/&gt;
* &lt;attribute name="label" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"candidateValue"
})
@Data
@XmlRootElement(name = "MetadataEntry")
public class MetadataEntry {
@XmlElement(name = "CandidateValue")
protected List<CandidateValue> candidateValue;
@XmlAttribute(name = "id")
protected String id;
@NotNull(message = "缺少元数据编码字段")
@NotEmpty(message = "元数据编码不能为空")
@XmlAttribute(name = "key", required = true)
protected String key;
@NotNull(message = "缺少元数据名称字段")
@NotEmpty(message = "元数据名称不能为空")
@XmlAttribute(name = "label")
protected String label;
@NotNull(message = "缺少元数据名称字段")
@NotEmpty(message = "元数据名称不能为空")
@XmlAttribute(name = "desc")
protected String desc;
@NotNull(message = "缺少模式编码字段")
@NotEmpty(message = "模式编码不能为空")
@XmlAttribute(name = "mode", required = true)
protected String mode;
@XmlAttribute(name = "modeLabel")
protected String modeLabel;
@NotNull(message = "缺少类型编码字段")
@NotEmpty(message = "类型编码不能为空")
@XmlAttribute(name = "dataType", required = true)
protected String dataType;
@XmlAttribute(name = "dataTypeLabel")
protected String dataTypeLabel;
@XmlAttribute(name = "uom")
protected String uom;
@XmlAttribute(name = "uomLabel")
protected String uomLabel;
@XmlAttribute(name = "value", required = true)
protected String value;
@XmlAttribute(name = "valueMin")
protected String valueMin;
@XmlAttribute(name = "valueMax")
protected String valueMax;
@XmlAttribute(name = "regPattern")
protected String regPattern;
@XmlAttribute(name = "regPatternLabel")
protected String regPatternLabel;
}
package com.tongda.tdpimssdk.entities.common;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="key" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="label" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="mode" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "MetadataItem")
public class MetadataItem {
@XmlAttribute(name = "id")
protected String id;
@XmlAttribute(name = "key")
protected String key;
@XmlAttribute(name = "label")
protected String label;
@XmlAttribute(name = "value")
protected String value;
@XmlAttribute(name = "mode")
protected String mode;
/**
* 获取id属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* 设置id属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* 获取key属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getKey() {
return key;
}
/**
* 设置key属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setKey(String value) {
this.key = value;
}
/**
* 获取label属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getLabel() {
return label;
}
/**
* 设置label属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLabel(String value) {
this.label = value;
}
/**
* 获取value属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getValue() {
return value;
}
/**
* 设置value属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
/**
* 获取mode属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getMode() {
return mode;
}
/**
* 设置mode属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMode(String value) {
this.mode = value;
}
}
package com.tongda.tdpimssdk.entities.common;
import lombok.Data;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="Perm" maxOccurs="unbounded" minOccurs="0"&gt;
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;attribute name="key" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="label" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="hasPerm" type="{http://www.w3.org/2001/XMLSchema}boolean" /&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* &lt;/element&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"perm"
})
@XmlRootElement(name = "PermDef")
@Data
public class PermDef {
@XmlElement(name = "Perm")
protected List<Perm> perm;
/**
* Gets the value of the perm property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the perm property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getPerm().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Perm }
*
*
*/
public List<Perm> getPerm() {
if (perm == null) {
perm = new ArrayList<Perm>();
}
return this.perm;
}
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;attribute name="key" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="label" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="hasPerm" type="{http://www.w3.org/2001/XMLSchema}boolean" /&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@Data
public static class Perm {
@XmlAttribute(name = "key")
protected String key;
@XmlAttribute(name = "label")
protected String label;
@XmlAttribute(name = "hasPerm")
protected Boolean hasPerm;
@XmlAttribute(name = "desc")
protected String desc;
}
}
package com.tongda.tdpimssdk.entities.common;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>anonymous complex type�� Java �ࡣ
*
* <p>����ģʽƬ��ָ�������ڴ����е�Ԥ�����ݡ�
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="RoleRef" maxOccurs="unbounded" minOccurs="0"&gt;
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;attribute name="keyRef" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="teamID" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* &lt;/element&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"roleRef"
})
@XmlRootElement(name = "Permission")
public class Permission {
@XmlElement(name = "RoleRef")
protected List<RoleRef> roleRef;
/**
* Gets the value of the roleRef property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the roleRef property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getRoleRef().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link RoleRef }
*
*
*/
public List<RoleRef> getRoleRef() {
if (roleRef == null) {
roleRef = new ArrayList<RoleRef>();
}
return this.roleRef;
}
/**
* <p>anonymous complex type�� Java �ࡣ
*
* <p>����ģʽƬ��ָ�������ڴ����е�Ԥ�����ݡ�
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;attribute name="keyRef" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="teamID" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class RoleRef {
@XmlAttribute(name = "keyRef")
protected String keyRef;
@XmlAttribute(name = "teamID")
protected String teamID;
/**
* ��ȡkeyRef���Ե�ֵ��
*
* @return
* possible object is
* {@link String }
*
*/
public String getKeyRef() {
return keyRef;
}
/**
* ����keyRef���Ե�ֵ��
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setKeyRef(String value) {
this.keyRef = value;
}
/**
* ��ȡteamID���Ե�ֵ��
*
* @return
* possible object is
* {@link String }
*
*/
public String getTeamID() {
return teamID;
}
/**
* ����teamID���Ե�ֵ��
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTeamID(String value) {
this.teamID = value;
}
}
}
package com.tongda.tdpimssdk.entities.common;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>RelationDef complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType name="RelationDef"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}MetadataItem" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="key" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="label" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="from" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="to" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="desc" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="directed" type="{http://www.w3.org/2001/XMLSchema}boolean" /&gt;
* &lt;attribute name="mode" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RelationDef", propOrder = {
"metadataItem"
})
public class RelationDef {
@XmlElement(name = "MetadataItem")
protected List<MetadataItem> metadataItem;
@XmlAttribute(name = "id")
protected String id;
@XmlAttribute(name = "key")
protected String key;
@XmlAttribute(name = "label")
protected String label;
@XmlAttribute(name = "from")
protected String from;
@XmlAttribute(name = "to")
protected String to;
@XmlAttribute(name = "desc")
protected String desc;
@XmlAttribute(name = "directed")
protected Boolean directed;
@XmlAttribute(name = "mode")
protected String mode;
/**
* Gets the value of the metadataItem property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the metadataItem property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getMetadataItem().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link MetadataItem }
*
*
*/
public List<MetadataItem> getMetadataItem() {
if (metadataItem == null) {
metadataItem = new ArrayList<MetadataItem>();
}
return this.metadataItem;
}
/**
* 获取id属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* 设置id属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* 获取key属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getKey() {
return key;
}
/**
* 设置key属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setKey(String value) {
this.key = value;
}
/**
* 获取label属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getLabel() {
return label;
}
/**
* 设置label属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLabel(String value) {
this.label = value;
}
/**
* 获取from属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getFrom() {
return from;
}
/**
* 设置from属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFrom(String value) {
this.from = value;
}
/**
* 获取to属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getTo() {
return to;
}
/**
* 设置to属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTo(String value) {
this.to = value;
}
/**
* 获取desc属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getDesc() {
return desc;
}
/**
* 设置desc属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDesc(String value) {
this.desc = value;
}
/**
* 获取directed属性的值。
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isDirected() {
return directed;
}
/**
* 设置directed属性的值。
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setDirected(Boolean value) {
this.directed = value;
}
/**
* 获取mode属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getMode() {
return mode;
}
/**
* 设置mode属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMode(String value) {
this.mode = value;
}
}
package com.tongda.tdpimssdk.entities.common;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}RelationDef" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="label" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"relationDef"
})
@XmlRootElement(name = "RelationModel")
public class RelationModel {
@XmlElement(name = "RelationDef")
protected List<RelationDef> relationDef;
@XmlAttribute(name = "id")
protected String id;
@XmlAttribute(name = "label")
protected String label;
/**
* Gets the value of the relationDef property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the relationDef property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getRelationDef().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link RelationDef }
*
*
*/
public List<RelationDef> getRelationDef() {
if (relationDef == null) {
relationDef = new ArrayList<RelationDef>();
}
return this.relationDef;
}
/**
* 获取id属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* 设置id属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* 获取label属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getLabel() {
return label;
}
/**
* 设置label属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLabel(String value) {
this.label = value;
}
}
package com.tongda.tdpimssdk.entities.common;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="RelationType"&gt;
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="RelationTypeDef" type="{}RelationTypeDef" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* &lt;/element&gt;
* &lt;element name="RelationModel"&gt;
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="RelationModelDef" maxOccurs="unbounded" minOccurs="0"&gt;
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="keyRef" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="from" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="to" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="mode" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* &lt;/element&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* &lt;/element&gt;
* &lt;/sequence&gt;
* &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="label" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"relationType",
"relationModel"
})
@XmlRootElement(name = "RelationModelConfig")
public class RelationModelConfig {
@XmlElement(name = "RelationType", required = true)
protected RelationType relationType;
@XmlElement(name = "RelationModel", required = true)
protected RelationModel relationModel;
@XmlAttribute(name = "id")
protected String id;
@XmlAttribute(name = "label")
protected String label;
/**
* 获取relationType属性的值。
*
* @return
* possible object is
* {@link RelationType }
*
*/
public RelationType getRelationType() {
return relationType;
}
/**
* 设置relationType属性的值。
*
* @param value
* allowed object is
* {@link RelationType }
*
*/
public void setRelationType(RelationType value) {
this.relationType = value;
}
/**
* 获取relationModel属性的值。
*
* @return
* possible object is
* {@link RelationModel }
*
*/
public RelationModel getRelationModel() {
return relationModel;
}
/**
* 设置relationModel属性的值。
*
* @param value
* allowed object is
* {@link RelationModel }
*
*/
public void setRelationModel(RelationModel value) {
this.relationModel = value;
}
/**
* 获取id属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* 设置id属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* 获取label属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getLabel() {
return label;
}
/**
* 设置label属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLabel(String value) {
this.label = value;
}
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="RelationModelDef" maxOccurs="unbounded" minOccurs="0"&gt;
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="keyRef" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="from" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="to" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="mode" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* &lt;/element&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"relationModelDef"
})
public static class RelationModel {
@XmlElement(name = "RelationModelDef")
protected List<RelationModelDef> relationModelDef;
/**
* Gets the value of the relationModelDef property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the relationModelDef property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getRelationModelDef().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link RelationModelDef }
*
*
*/
public List<RelationModelDef> getRelationModelDef() {
if (relationModelDef == null) {
relationModelDef = new ArrayList<RelationModelDef>();
}
return this.relationModelDef;
}
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="keyRef" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="from" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="to" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="mode" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class RelationModelDef {
@XmlAttribute(name = "id")
protected String id;
@XmlAttribute(name = "keyRef")
protected String keyRef;
@XmlAttribute(name = "from")
protected String from;
@XmlAttribute(name = "to")
protected String to;
@XmlAttribute(name = "mode")
protected String mode;
/**
* 获取id属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* 设置id属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* 获取keyRef属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getKeyRef() {
return keyRef;
}
/**
* 设置keyRef属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setKeyRef(String value) {
this.keyRef = value;
}
/**
* 获取from属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getFrom() {
return from;
}
/**
* 设置from属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFrom(String value) {
this.from = value;
}
/**
* 获取to属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getTo() {
return to;
}
/**
* 设置to属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTo(String value) {
this.to = value;
}
/**
* 获取mode属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getMode() {
return mode;
}
/**
* 设置mode属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMode(String value) {
this.mode = value;
}
}
}
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="RelationTypeDef" type="{}RelationTypeDef" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"relationTypeDef"
})
public static class RelationType {
@XmlElement(name = "RelationTypeDef")
protected List<RelationTypeDef> relationTypeDef;
/**
* Gets the value of the relationTypeDef property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the relationTypeDef property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getRelationTypeDef().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link RelationTypeDef }
*
*
*/
public List<RelationTypeDef> getRelationTypeDef() {
if (relationTypeDef == null) {
relationTypeDef = new ArrayList<RelationTypeDef>();
}
return this.relationTypeDef;
}
}
}
package com.tongda.tdpimssdk.entities.common;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.*;
/**
* <p>RelationTypeDef complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType name="RelationTypeDef"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}MetadataItem" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="key" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="label" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="desc" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="directed" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="mode" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="from" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="to" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RelationTypeDef", propOrder = {
"metadataItem"
})
@XmlRootElement(name = "RelationTypeDef")
public class RelationTypeDef {
@XmlElement(name = "MetadataItem")
protected List<MetadataItem> metadataItem;
@XmlAttribute(name = "id")
protected String id;
@XmlAttribute(name = "key")
protected String key;
@XmlAttribute(name = "label")
protected String label;
@XmlAttribute(name = "desc")
protected String desc;
@XmlAttribute(name = "directed")
protected String directed;
@XmlAttribute(name = "mode")
protected String mode;
@XmlAttribute(name = "from")
protected String from;
@XmlAttribute(name = "to")
protected String to;
/**
* Gets the value of the metadataItem property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the metadataItem property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getMetadataItem().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link MetadataItem }
*
*
*/
public List<MetadataItem> getMetadataItem() {
if (metadataItem == null) {
metadataItem = new ArrayList<MetadataItem>();
}
return this.metadataItem;
}
/**
* 获取id属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* 设置id属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* 获取key属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getKey() {
return key;
}
/**
* 设置key属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setKey(String value) {
this.key = value;
}
/**
* 获取label属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getLabel() {
return label;
}
/**
* 设置label属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLabel(String value) {
this.label = value;
}
/**
* 获取desc属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getDesc() {
return desc;
}
/**
* 设置desc属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDesc(String value) {
this.desc = value;
}
/**
* 获取directed属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getDirected() {
return directed;
}
/**
* 设置directed属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDirected(String value) {
this.directed = value;
}
/**
* 获取mode属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getMode() {
return mode;
}
/**
* 设置mode属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMode(String value) {
this.mode = value;
}
/**
* 获取from属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getFrom() {
return from;
}
/**
* 设置from属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFrom(String value) {
this.from = value;
}
/**
* 获取to属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getTo() {
return to;
}
/**
* 设置to属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTo(String value) {
this.to = value;
}
}
package com.tongda.tdpimssdk.entities.common;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}PermDef"/&gt;
* &lt;element ref="{}EndUserList"/&gt;
* &lt;/sequence&gt;
* &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="label" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="roleCode" type="{http://www.w3.org/2001/XMLSchema}short" /&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"permDef",
"endUserList"
})
@XmlRootElement(name = "Role")
public class Role {
@XmlElement(name = "PermDef", required = true)
protected PermDef permDef;
@XmlElement(name = "EndUserList", required = true)
protected EndUserList endUserList;
@XmlAttribute(name = "id")
protected String id;
@XmlAttribute(name = "label")
protected String label;
@XmlAttribute(name = "roleCode")
protected Short roleCode;
/**
* 获取permDef属性的值。
*
* @return
* possible object is
* {@link PermDef }
*
*/
public PermDef getPermDef() {
return permDef;
}
/**
* 设置permDef属性的值。
*
* @param value
* allowed object is
* {@link PermDef }
*
*/
public void setPermDef(PermDef value) {
this.permDef = value;
}
/**
* 获取endUserList属性的值。
*
* @return
* possible object is
* {@link EndUserList }
*
*/
public EndUserList getEndUserList() {
return endUserList;
}
/**
* 设置endUserList属性的值。
*
* @param value
* allowed object is
* {@link EndUserList }
*
*/
public void setEndUserList(EndUserList value) {
this.endUserList = value;
}
/**
* 获取id属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* 设置id属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* 获取label属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getLabel() {
return label;
}
/**
* 设置label属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLabel(String value) {
this.label = value;
}
/**
* 获取roleCode属性的值。
*
* @return
* possible object is
* {@link Short }
*
*/
public Short getRoleCode() {
return roleCode;
}
/**
* 设置roleCode属性的值。
*
* @param value
* allowed object is
* {@link Short }
*
*/
public void setRoleCode(Short value) {
this.roleCode = value;
}
}
package com.tongda.tdpimssdk.entities.common;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}PermDef"/&gt;
* &lt;element ref="{}EndUserList"/&gt;
* &lt;/sequence&gt;
* &lt;attribute name="key" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="label" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"permDef",
"endUserList"
})
@XmlRootElement(name = "SystemRole")
public class SystemRole {
@XmlElement(name = "PermDef", required = true)
protected PermDef permDef;
@XmlElement(name = "EndUserList", required = true)
protected EndUserList endUserList;
@XmlAttribute(name = "key")
protected String key;
@XmlAttribute(name = "label")
protected String label;
/**
* 获取permDef属性的值。
*
* @return
* possible object is
* {@link PermDef }
*
*/
public PermDef getPermDef() {
return permDef;
}
/**
* 设置permDef属性的值。
*
* @param value
* allowed object is
* {@link PermDef }
*
*/
public void setPermDef(PermDef value) {
this.permDef = value;
}
/**
* 获取endUserList属性的值。
*
* @return
* possible object is
* {@link EndUserList }
*
*/
public EndUserList getEndUserList() {
return endUserList;
}
/**
* 设置endUserList属性的值。
*
* @param value
* allowed object is
* {@link EndUserList }
*
*/
public void setEndUserList(EndUserList value) {
this.endUserList = value;
}
/**
* 获取key属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getKey() {
return key;
}
/**
* 设置key属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setKey(String value) {
this.key = value;
}
/**
* 获取label属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getLabel() {
return label;
}
/**
* 设置label属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLabel(String value) {
this.label = value;
}
}
package com.tongda.tdpimssdk.entities.common;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}SystemRole" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"systemRole"
})
@XmlRootElement(name = "SystemRoleList")
public class SystemRoleList {
@XmlElement(name = "SystemRole")
protected List<SystemRole> systemRole;
/**
* Gets the value of the systemRole property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the systemRole property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getSystemRole().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link SystemRole }
*
*
*/
public List<SystemRole> getSystemRole() {
if (systemRole == null) {
systemRole = new ArrayList<SystemRole>();
}
return this.systemRole;
}
}
package com.tongda.tdpimssdk.entities.common;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>anonymous complex type�� Java �ࡣ
*
* <p>����ģʽƬ��ָ�������ڴ����е�Ԥ�����ݡ�
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;attribute name="label" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="key" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "TDEvent")
public class TDEvent {
@XmlAttribute(name = "label")
protected String label;
@XmlAttribute(name = "key")
protected String key;
/**
* ��ȡlabel���Ե�ֵ��
*
* @return
* possible object is
* {@link String }
*
*/
public String getLabel() {
return label;
}
/**
* ����label���Ե�ֵ��
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLabel(String value) {
this.label = value;
}
/**
* ��ȡkey���Ե�ֵ��
*
* @return
* possible object is
* {@link String }
*
*/
public String getKey() {
return key;
}
/**
* ����key���Ե�ֵ��
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setKey(String value) {
this.key = value;
}
}
package com.tongda.tdpimssdk.entities.common;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="TDStates"&gt;
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}TDState" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* &lt;/element&gt;
* &lt;element name="TDTransitions"&gt;
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}TDTransition" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* &lt;/element&gt;
* &lt;element name="GraphJson" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
* &lt;/sequence&gt;
* &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="key" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="label" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="status"&gt;
* &lt;simpleType&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
* &lt;enumeration value="UnAvailable"/&gt;
* &lt;enumeration value="Available"/&gt;
* &lt;/restriction&gt;
* &lt;/simpleType&gt;
* &lt;/attribute&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"tdStates",
"tdTransitions",
"graphJson"
})
@XmlRootElement(name = "TDLifeCycleDefinition")
public class TDLifeCycleDefinition {
@XmlElement(name = "TDStates", required = true)
protected TDStates tdStates;
@XmlElement(name = "TDTransitions", required = true)
protected TDTransitions tdTransitions;
@XmlElement(name = "GraphJson", required = true)
protected String graphJson;
@XmlAttribute(name = "id")
protected String id;
@XmlAttribute(name = "key")
protected String key;
@XmlAttribute(name = "label")
protected String label;
@XmlAttribute(name = "status")
protected String status;
/**
* 获取tdStates属性的值。
*
* @return
* possible object is
* {@link TDStates }
*
*/
public TDStates getTDStates() {
return tdStates;
}
/**
* 设置tdStates属性的值。
*
* @param value
* allowed object is
* {@link TDStates }
*
*/
public void setTDStates(TDStates value) {
this.tdStates = value;
}
/**
* 获取tdTransitions属性的值。
*
* @return
* possible object is
* {@link TDTransitions }
*
*/
public TDTransitions getTDTransitions() {
return tdTransitions;
}
/**
* 设置tdTransitions属性的值。
*
* @param value
* allowed object is
* {@link TDTransitions }
*
*/
public void setTDTransitions(TDTransitions value) {
this.tdTransitions = value;
}
/**
* 获取graphJson属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getGraphJson() {
return graphJson;
}
/**
* 设置graphJson属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setGraphJson(String value) {
this.graphJson = value;
}
/**
* 获取id属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* 设置id属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* 获取key属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getKey() {
return key;
}
/**
* 设置key属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setKey(String value) {
this.key = value;
}
/**
* 获取label属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getLabel() {
return label;
}
/**
* 设置label属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLabel(String value) {
this.label = value;
}
/**
* 获取status属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getStatus() {
return status;
}
/**
* 设置status属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStatus(String value) {
this.status = value;
}
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}TDState" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"tdState"
})
public static class TDStates {
@XmlElement(name = "TDState")
protected List<TDState> tdState;
/**
* Gets the value of the tdState property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the tdState property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getTDState().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TDState }
*
*
*/
public List<TDState> getTDState() {
if (tdState == null) {
tdState = new ArrayList<TDState>();
}
return this.tdState;
}
}
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}TDTransition" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"tdTransition"
})
public static class TDTransitions {
@XmlElement(name = "TDTransition")
protected List<TDTransition> tdTransition;
/**
* Gets the value of the tdTransition property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the tdTransition property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getTDTransition().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TDTransition }
*
*
*/
public List<TDTransition> getTDTransition() {
if (tdTransition == null) {
tdTransition = new ArrayList<TDTransition>();
}
return this.tdTransition;
}
}
}
package com.tongda.tdpimssdk.entities.common;
import lombok.Data;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>anonymous complex type�� Java �ࡣ
*
* <p>����ģʽƬ��ָ�������ڴ����е�Ԥ�����ݡ�
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="PermDef"&gt;
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;attribute name="permCreate" type="{http://www.w3.org/2001/XMLSchema}boolean" /&gt;
* &lt;attribute name="permRead" type="{http://www.w3.org/2001/XMLSchema}boolean" /&gt;
* &lt;attribute name="permUpdate" type="{http://www.w3.org/2001/XMLSchema}boolean" /&gt;
* &lt;attribute name="permRemove" type="{http://www.w3.org/2001/XMLSchema}boolean" /&gt;
* &lt;attribute name="permDelete" type="{http://www.w3.org/2001/XMLSchema}boolean" /&gt;
* &lt;attribute name="permUpgrade" type="{http://www.w3.org/2001/XMLSchema}boolean" /&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* &lt;/element&gt;
* &lt;/sequence&gt;
* &lt;attribute name="key" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="label" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="isStartState" type="{http://www.w3.org/2001/XMLSchema}boolean" /&gt;
* &lt;attribute name="posX" type="{http://www.w3.org/2001/XMLSchema}short" /&gt;
* &lt;attribute name="posY" type="{http://www.w3.org/2001/XMLSchema}short" /&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"permDef"
})
@Data
@XmlRootElement(name = "TDState")
public class TDState {
@XmlElement(name = "PermDef", required = true)
protected PermDef permDef;
@XmlAttribute(name = "key")
protected String key;
@XmlAttribute(name = "label")
protected String label;
@XmlAttribute(name = "isStartState")
protected Boolean isStartState;
@XmlAttribute(name = "posX")
protected Short posX;
@XmlAttribute(name = "posY")
protected Short posY;
}
package com.tongda.tdpimssdk.entities.common;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>anonymous complex type�� Java �ࡣ
*
* <p>����ģʽƬ��ָ�������ڴ����е�Ԥ�����ݡ�
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;attribute name="keyRef" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "TDStateRef")
public class TDStateRef {
@XmlAttribute(name = "keyRef")
protected String keyRef;
/**
* ��ȡkeyRef���Ե�ֵ��
*
* @return
* possible object is
* {@link String }
*
*/
public String getKeyRef() {
return keyRef;
}
/**
* ����keyRef���Ե�ֵ��
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setKeyRef(String value) {
this.keyRef = value;
}
}
package com.tongda.tdpimssdk.entities.common;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>anonymous complex type�� Java �ࡣ
*
* <p>����ģʽƬ��ָ�������ڴ����е�Ԥ�����ݡ�
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="From"&gt;
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}TDStateRef" maxOccurs="unbounded"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* &lt;/element&gt;
* &lt;element name="To"&gt;
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}TDStateRef"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* &lt;/element&gt;
* &lt;element ref="{}TDEvent"/&gt;
* &lt;element name="doAction"&gt;
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;attribute name="action" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* &lt;/element&gt;
* &lt;/sequence&gt;
* &lt;attribute name="key" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="label" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"from",
"to",
"tdEvent",
"doAction"
})
@XmlRootElement(name = "TDTransition")
public class TDTransition {
@XmlElement(name = "From", required = true)
protected From from;
@XmlElement(name = "To", required = true)
protected To to;
@XmlElement(name = "TDEvent", required = true)
protected TDEvent tdEvent;
@XmlElement(required = true)
protected DoAction doAction;
@XmlAttribute(name = "key")
protected String key;
@XmlAttribute(name = "label")
protected String label;
/**
* ��ȡfrom���Ե�ֵ��
*
* @return
* possible object is
* {@link From }
*
*/
public From getFrom() {
return from;
}
/**
* ����from���Ե�ֵ��
*
* @param value
* allowed object is
* {@link From }
*
*/
public void setFrom(From value) {
this.from = value;
}
/**
* ��ȡto���Ե�ֵ��
*
* @return
* possible object is
* {@link To }
*
*/
public To getTo() {
return to;
}
/**
* ����to���Ե�ֵ��
*
* @param value
* allowed object is
* {@link To }
*
*/
public void setTo(To value) {
this.to = value;
}
/**
* ��ȡtdEvent���Ե�ֵ��
*
* @return
* possible object is
* {@link TDEvent }
*
*/
public TDEvent getTDEvent() {
return tdEvent;
}
/**
* ����tdEvent���Ե�ֵ��
*
* @param value
* allowed object is
* {@link TDEvent }
*
*/
public void setTDEvent(TDEvent value) {
this.tdEvent = value;
}
/**
* ��ȡdoAction���Ե�ֵ��
*
* @return
* possible object is
* {@link DoAction }
*
*/
public DoAction getDoAction() {
return doAction;
}
/**
* ����doAction���Ե�ֵ��
*
* @param value
* allowed object is
* {@link DoAction }
*
*/
public void setDoAction(DoAction value) {
this.doAction = value;
}
/**
* ��ȡkey���Ե�ֵ��
*
* @return
* possible object is
* {@link String }
*
*/
public String getKey() {
return key;
}
/**
* ����key���Ե�ֵ��
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setKey(String value) {
this.key = value;
}
/**
* ��ȡlabel���Ե�ֵ��
*
* @return
* possible object is
* {@link String }
*
*/
public String getLabel() {
return label;
}
/**
* ����label���Ե�ֵ��
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLabel(String value) {
this.label = value;
}
/**
* <p>anonymous complex type�� Java �ࡣ
*
* <p>����ģʽƬ��ָ�������ڴ����е�Ԥ�����ݡ�
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;attribute name="action" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class DoAction {
@XmlAttribute(name = "action")
protected String action;
/**
* ��ȡaction���Ե�ֵ��
*
* @return
* possible object is
* {@link String }
*
*/
public String getAction() {
return action;
}
/**
* ����action���Ե�ֵ��
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAction(String value) {
this.action = value;
}
}
/**
* <p>anonymous complex type�� Java �ࡣ
*
* <p>����ģʽƬ��ָ�������ڴ����е�Ԥ�����ݡ�
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}TDStateRef" maxOccurs="unbounded"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"tdStateRef"
})
public static class From {
@XmlElement(name = "TDStateRef", required = true)
protected List<TDStateRef> tdStateRef;
/**
* Gets the value of the tdStateRef property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the tdStateRef property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getTDStateRef().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TDStateRef }
*
*
*/
public List<TDStateRef> getTDStateRef() {
if (tdStateRef == null) {
tdStateRef = new ArrayList<TDStateRef>();
}
return this.tdStateRef;
}
}
/**
* <p>anonymous complex type�� Java �ࡣ
*
* <p>����ģʽƬ��ָ�������ڴ����е�Ԥ�����ݡ�
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}TDStateRef"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"tdStateRef"
})
public static class To {
@XmlElement(name = "TDStateRef", required = true)
protected TDStateRef tdStateRef;
/**
* ��ȡtdStateRef���Ե�ֵ��
*
* @return
* possible object is
* {@link TDStateRef }
*
*/
public TDStateRef getTDStateRef() {
return tdStateRef;
}
/**
* ����tdStateRef���Ե�ֵ��
*
* @param value
* allowed object is
* {@link TDStateRef }
*
*/
public void setTDStateRef(TDStateRef value) {
this.tdStateRef = value;
}
}
}
package com.tongda.tdpimssdk.entities.common;
import java.math.BigInteger;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;attGroup ref="{}T_Attr_TSVarient"/&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "TSVariableDef")
public class TSVariableDef {
@XmlAttribute(name = "id")
protected String id;
@XmlAttribute(name = "key")
protected String key;
@XmlAttribute(name = "label")
protected String label;
@XmlAttribute(name = "dataType")
protected String dataType;
@XmlAttribute(name = "uom")
protected String uom;
@XmlAttribute(name = "keepInSeconds")
protected BigInteger keepInSeconds;
@XmlAttribute(name = "dataTypeLabel")
protected String dataTypeLabel;
@XmlAttribute(name = "uomLabel")
protected String uomLabel;
/**
* 获取id属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* 设置id属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* 获取key属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getKey() {
return key;
}
/**
* 设置key属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setKey(String value) {
this.key = value;
}
/**
* 获取label属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getLabel() {
return label;
}
/**
* 设置label属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLabel(String value) {
this.label = value;
}
/**
* 获取dataType属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getDataType() {
return dataType;
}
/**
* 设置dataType属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDataType(String value) {
this.dataType = value;
}
/**
* 获取uom属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getUom() {
return uom;
}
/**
* 设置uom属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUom(String value) {
this.uom = value;
}
/**
* 获取keepInSeconds属性的值。
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getKeepInSeconds() {
return keepInSeconds;
}
/**
* 设置keepInSeconds属性的值。
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setKeepInSeconds(BigInteger value) {
this.keepInSeconds = value;
}
/**
* 获取dataTypeLabel属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getDataTypeLabel() {
return dataTypeLabel;
}
/**
* 设置dataTypeLabel属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDataTypeLabel(String value) {
this.dataTypeLabel = value;
}
/**
* 获取uomLabel属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getUomLabel() {
return uomLabel;
}
/**
* 设置uomLabel属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUomLabel(String value) {
this.uomLabel = value;
}
}
package com.tongda.tdpimssdk.entities.common;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlID;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="value" maxOccurs="unbounded" minOccurs="0"&gt;
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;attribute name="stamp" type="{http://www.w3.org/2001/XMLSchema}long" /&gt;
* &lt;attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* &lt;/element&gt;
* &lt;/sequence&gt;
* &lt;attribute name="idRef" type="{http://www.w3.org/2001/XMLSchema}ID" /&gt;
* &lt;attribute name="docID" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="keyRef" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"value"
})
@XmlRootElement(name = "TSVariableDefStore")
public class TSVariableDefStore {
protected List<Value> value;
@XmlAttribute(name = "idRef")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
@XmlSchemaType(name = "ID")
protected String idRef;
@XmlAttribute(name = "docID")
protected String docID;
@XmlAttribute(name = "keyRef")
protected String keyRef;
/**
* Gets the value of the value property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the value property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getValue().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Value }
*
*
*/
public List<Value> getValue() {
if (value == null) {
value = new ArrayList<Value>();
}
return this.value;
}
/**
* 获取idRef属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getIdRef() {
return idRef;
}
/**
* 设置idRef属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIdRef(String value) {
this.idRef = value;
}
/**
* 获取docID属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getDocID() {
return docID;
}
/**
* 设置docID属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDocID(String value) {
this.docID = value;
}
/**
* 获取keyRef属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getKeyRef() {
return keyRef;
}
/**
* 设置keyRef属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setKeyRef(String value) {
this.keyRef = value;
}
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;attribute name="stamp" type="{http://www.w3.org/2001/XMLSchema}long" /&gt;
* &lt;attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class Value {
@XmlAttribute(name = "stamp")
protected Long stamp;
@XmlAttribute(name = "value")
protected String value;
/**
* 获取stamp属性的值。
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getStamp() {
return stamp;
}
/**
* 设置stamp属性的值。
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setStamp(Long value) {
this.stamp = value;
}
/**
* 获取value属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getValue() {
return value;
}
/**
* 设置value属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
}
}
package com.tongda.tdpimssdk.entities.common;
import lombok.Data;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="Administrator"&gt;
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}EndUserRef" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* &lt;/element&gt;
* &lt;element ref="{}Desc"/&gt;
* &lt;element name="Roles"&gt;
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}Role" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* &lt;/element&gt;
* &lt;element name="AssetList"&gt;
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}AssetRef" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* &lt;/element&gt;
* &lt;element name="AppView"&gt;
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}CatalogRoot" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* &lt;/element&gt;
* &lt;element name="RelationGraphJson" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
* &lt;element name="RelationList"&gt;
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}Relation" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* &lt;/element&gt;
* &lt;element name="AssetCatalog"&gt;
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}CatalogRoot" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* &lt;/element&gt;
* &lt;/sequence&gt;
* &lt;attGroup ref="{}T_Attr_LifeCycle"/&gt;
* &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="label" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="key" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;attribute name="status" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@Data
@XmlType(name = "", propOrder = {
"administrator",
"desc",
"history",
"roles",
"assetList",
"appView",
"relationGraphJson",
"relationList",
"assetCatalog"
})
@XmlRootElement(name = "Team2")
public class Team2 {
@XmlElement(name = "Administrator", required = true)
protected Administrator administrator;
@XmlElement(name = "Desc", required = true)
protected Desc desc;
@XmlElement(name = "History", required = true)
protected History history;
@XmlElement(name = "Roles", required = true)
protected Roles roles;
@XmlElement(name = "AssetList", required = true)
protected AssetList assetList;
@XmlElement(name = "AppView", required = true)
protected AppView appView;
@XmlElement(name = "RelationGraphJson", required = true)
protected String relationGraphJson;
@XmlElement(name = "RelationList", required = true)
protected RelationList relationList;
@XmlElement(name = "AssetCatalog", required = true)
protected AssetCatalog assetCatalog;
@XmlAttribute(name = "id")
protected String id;
@XmlAttribute(name = "label")
protected String label;
@XmlAttribute(name = "key")
protected String key;
@XmlAttribute(name = "status")
protected String status;
@XmlAttribute(name = "lcRef")
protected String lcRef;
@XmlAttribute(name = "lcStatus")
protected String lcStatus;
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}EndUserRef" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"endUserRef"
})
public static class Administrator {
@XmlElement(name = "EndUserRef")
protected List<EndUserRef> endUserRef;
/**
* Gets the value of the endUserRef property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the endUserRef property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getEndUserRef().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link EndUserRef }
*
*
*/
public List<EndUserRef> getEndUserRef() {
if (endUserRef == null) {
endUserRef = new ArrayList<EndUserRef>();
}
return this.endUserRef;
}
}
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}CatalogRoot" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"catalogRoot"
})
public static class AppView {
@XmlElement(name = "CatalogRoot")
protected CatalogRoot catalogRoot;
/**
* 获取catalogRoot属性的值。
*
* @return
* possible object is
* {@link CatalogRoot }
*
*/
public CatalogRoot getCatalogRoot() {
return catalogRoot;
}
/**
* 设置catalogRoot属性的值。
*
* @param value
* allowed object is
* {@link CatalogRoot }
*
*/
public void setCatalogRoot(CatalogRoot value) {
this.catalogRoot = value;
}
}
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}CatalogRoot" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"catalogRoot"
})
public static class AssetCatalog {
@XmlElement(name = "CatalogRoot")
protected List<CatalogRoot> catalogRoot;
/**
* Gets the value of the catalogRoot property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the catalogRoot property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getCatalogRoot().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link CatalogRoot }
*
*
*/
public List<CatalogRoot> getCatalogRoot() {
if (catalogRoot == null) {
catalogRoot = new ArrayList<CatalogRoot>();
}
return this.catalogRoot;
}
}
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}AssetRef" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"assetRef"
})
public static class AssetList {
@XmlElement(name = "AssetRef")
protected List<AssetRef> assetRef;
/**
* Gets the value of the assetRef property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the assetRef property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAssetRef().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link AssetRef }
*
*
*/
public List<AssetRef> getAssetRef() {
if (assetRef == null) {
assetRef = new ArrayList<AssetRef>();
}
return this.assetRef;
}
}
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}Relation" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"relation"
})
public static class RelationList {
@XmlElement(name = "Relation")
protected List<RelationTypeDef> relation;
/**
* Gets the value of the relation property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the relation property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getRelation().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link RelationTypeDef }
*
*
*/
public List<RelationTypeDef> getRelation() {
if (relation == null) {
relation = new ArrayList<RelationTypeDef>();
}
return this.relation;
}
}
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element ref="{}Role" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"role"
})
public static class Roles {
@XmlElement(name = "Role")
protected List<Role> role;
/**
* Gets the value of the role property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the role property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getRole().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Role }
*
*
*/
public List<Role> getRole() {
if (role == null) {
role = new ArrayList<Role>();
}
return this.role;
}
}
}
package com.tongda.tdpimssdk.http;
import org.apache.http.Header;
import org.apache.http.HeaderElement;
import org.apache.http.HttpEntity;
import org.apache.http.client.ClientProtocolException;
import org.apache.http.client.config.RequestConfig;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.client.utils.URIBuilder;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClients;
import org.apache.http.util.EntityUtils;
import java.io.IOException;
import java.net.URISyntaxException;
import java.util.Arrays;
import java.util.HashMap;
public class PimHttpUtil {
public static String loginGet(String url ,String user ,String password){
try {
//创建httpClient实例
CloseableHttpClient client = HttpClients.createDefault();
//创建一个uri对象
URIBuilder uriBuilder = null;
uriBuilder = new URIBuilder(url);
//塞入form参数
uriBuilder.addParameter("name", user);
uriBuilder.addParameter("pwd", password);
//创建httpGet远程连接实例,这里传入目标的网络地址
HttpGet httpGet = new HttpGet(uriBuilder.build());
// 设置请求头信息,鉴权(没有可忽略)
// httpGet.setHeader("Authorization", "Bearer da3efcbf-0845-4fe3-8aba-ee040be542c0");
// 设置配置请求参数(没有可忽略)
RequestConfig requestConfig = RequestConfig.custom().setConnectTimeout(3000)// 连接主机服务超时时间
.setConnectionRequestTimeout(10000)// 请求超时时间
.setSocketTimeout(60000)// 数据读取超时时间
.build();
// 为httpGet实例设置配置
httpGet.setConfig(requestConfig);
//执行请求
CloseableHttpResponse response = client.execute(httpGet);
Header [] headers=response.getHeaders("Set-Cookie");
String satoken="";
for (Header header:headers){
if (header.getName().equals("Set-Cookie")){
for(HeaderElement headerElement:header.getElements()){
if (headerElement.getName().equals("satoken"))
satoken=headerElement.getValue();
}
}
}
//获取Response状态码
int statusCode = response.getStatusLine().getStatusCode();
System.out.println(statusCode);
//获取响应实体, 响应内容
HttpEntity entity = response.getEntity();
//通过EntityUtils中的toString方法将结果转换为字符串
String str = EntityUtils.toString(entity);
System.out.println(str);
response.close();
client.close();
return satoken;
} catch (URISyntaxException e) {
throw new RuntimeException(e);
} catch (ClientProtocolException e) {
throw new RuntimeException(e);
} catch (IOException e) {
throw new RuntimeException(e);
}
}
public static String sendGet(String url , HashMap hashMap,String satoken){
try {
//创建httpClient实例
CloseableHttpClient client = HttpClients.createDefault();
//创建一个uri对象
URIBuilder uriBuilder = null;
uriBuilder = new URIBuilder(url);
//塞入form参数
// uriBuilder.addParameter("name", user);
// uriBuilder.addParameter("pwd", password);
//创建httpGet远程连接实例,这里传入目标的网络地址
HttpGet httpGet = new HttpGet(uriBuilder.build());
httpGet.setHeader("Satoken",satoken);
// 设置请求头信息,鉴权(没有可忽略)
// httpGet.setHeader("Authorization", "Bearer da3efcbf-0845-4fe3-8aba-ee040be542c0");
// 设置配置请求参数(没有可忽略)
RequestConfig requestConfig = RequestConfig.custom().setConnectTimeout(10000)// 连接主机服务超时时间
.setConnectionRequestTimeout(10000)// 请求超时时间
.setSocketTimeout(60000)// 数据读取超时时间
.build();
// 为httpGet实例设置配置
httpGet.setConfig(requestConfig);
//执行请求
CloseableHttpResponse response = client.execute(httpGet);
//获取Response状态码
int statusCode = response.getStatusLine().getStatusCode();
System.out.println(statusCode);
//获取响应实体, 响应内容
HttpEntity entity = response.getEntity();
//通过EntityUtils中的toString方法将结果转换为字符串
String str = EntityUtils.toString(entity);
System.out.println(str);
response.close();
client.close();
return "";
} catch (URISyntaxException e) {
throw new RuntimeException(e);
} catch (ClientProtocolException e) {
throw new RuntimeException(e);
} catch (IOException e) {
throw new RuntimeException(e);
}
}
public static String sendPost(String url , HashMap hashMap,String satoken){
try {
//创建httpClient实例
CloseableHttpClient client = HttpClients.createDefault();
//创建一个uri对象
URIBuilder uriBuilder = null;
uriBuilder = new URIBuilder(url);
//塞入form参数
// uriBuilder.addParameter("name", user);
// uriBuilder.addParameter("pwd", password);
//创建httpGet远程连接实例,这里传入目标的网络地址
HttpGet httpGet = new HttpGet(uriBuilder.build());
httpGet.setHeader("Satoken",satoken);
// 设置请求头信息,鉴权(没有可忽略)
// httpGet.setHeader("Authorization", "Bearer da3efcbf-0845-4fe3-8aba-ee040be542c0");
// 设置配置请求参数(没有可忽略)
RequestConfig requestConfig = RequestConfig.custom().setConnectTimeout(10000)// 连接主机服务超时时间
.setConnectionRequestTimeout(10000)// 请求超时时间
.setSocketTimeout(60000)// 数据读取超时时间
.build();
// 为httpGet实例设置配置
httpGet.setConfig(requestConfig);
//执行请求
CloseableHttpResponse response = client.execute(httpGet);
//获取Response状态码
int statusCode = response.getStatusLine().getStatusCode();
System.out.println(statusCode);
//获取响应实体, 响应内容
HttpEntity entity = response.getEntity();
//通过EntityUtils中的toString方法将结果转换为字符串
String str = EntityUtils.toString(entity);
System.out.println(str);
response.close();
client.close();
return "";
} catch (URISyntaxException e) {
throw new RuntimeException(e);
} catch (ClientProtocolException e) {
throw new RuntimeException(e);
} catch (IOException e) {
throw new RuntimeException(e);
}
}
}
package com.tongda.tdpimssdk;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class TdpimsSdkApplicationTests {
@Test
void contextLoads() {
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment