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
This diff is collapsed.
@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;
}
This diff is collapsed.
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;
}
This diff is collapsed.
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{
}
This diff is collapsed.
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;
}
}
}
This diff is collapsed.
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;
}
}
This diff is collapsed.
This diff is collapsed.
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