From 96f493d717f7238e956c3e870ba5437cb6cf4ae4 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期五, 22 三月 2024 18:12:30 +0800 Subject: [PATCH] 集成相关更改,测试程序完善 --- Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/applybz/ApplyBZDataVO.java | 204 + Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/entity/PersonData.java | 354 ++ Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/controller/PushIntegrationController.java | 21 Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/service/impl/UniversalInterfaceImplServiceLocator.java | 152 + Source/ExampleIntegratedPushCalled/.idea/uiDesigner.xml | 124 Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/ExampleIntgraPushCallApplication.java | 2 Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/service/impl/UniversalInterfaceImplServiceSoapBindingStub.java | 592 ++++ Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/apply/InterParameterVO.java | 21 Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/entity/OrgData.java | 354 ++ Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/apply/ApplyDataVO.java | 121 Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/applybz/ApplyBZVO.java | 56 Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/apply/ProppertyVO.java | 56 Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/apply/SectionVO.java | 48 Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/entity/OrgMasterData.java | 1511 ++++++++++++ Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/entity/ThreadLocal.java | 80 Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/impl/UniversalInterfaceImpl.java | 5 Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/controller/TestCalledIntegrationController.java | 18 Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/entity/EnumerableData.java | 231 + Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/controller/MdmCountController.java | 1 Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/apply/SectionsVO.java | 26 Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/apply/ClassfyVO.java | 82 Source/ExampleIntegratedPushCalled/.idea/vcs.xml | 6 Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/applybz/ProppertyBZVO.java | 56 Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/entity/ResultOrgData.java | 206 + Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/impl/MdmProductCodeServiceImpl.java | 8 Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/applybz/ClassfyBZVO.java | 87 Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/applybz/ApplyBZDatasVO.java | 27 Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/applybz/ApplyBZParamVO.java | 17 Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/apply/UserVO.java | 56 Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/apply/ClassfysVO.java | 30 Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/constant/MdmEngineConstant.java | 2 Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/apply/ApplyDatasVO.java | 27 Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/service/UniversalInterface.java | 25 Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/service/impl/CalledIntegrationServiceImpl.java | 256 ++ Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/vo/webserviceModel/applybz/ApplyBZVO.java | 1 Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/vo/webserviceModel/applybz/ApplyBZDataVO.java | 1 /dev/null | 0 Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/entity/PersonMasterData.java | 2172 +++++++++++++++++ Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/service/UniversalInterfaceImplService.java | 18 Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/entity/ResultMdMapping.java | 300 ++ Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/vo/webserviceModel/applybz/ClassfyBZVO.java | 1 Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/config/WebServiceConfig.java | 29 Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/service/ICalledIntegrationService.java | 5 Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/apply/RootDataVO.java | 58 44 files changed, 7,416 insertions(+), 31 deletions(-) diff --git a/Source/ExampleIntegratedPushCalled/.idea/uiDesigner.xml b/Source/ExampleIntegratedPushCalled/.idea/uiDesigner.xml new file mode 100644 index 0000000..e96534f --- /dev/null +++ b/Source/ExampleIntegratedPushCalled/.idea/uiDesigner.xml @@ -0,0 +1,124 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="Palette2"> + <group name="Swing"> + <item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false"> + <default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" /> + </item> + <item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false"> + <default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" /> + </item> + <item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false"> + <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" /> + </item> + <item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true"> + <default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" /> + </item> + <item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false"> + <default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" /> + <initial-values> + <property name="text" value="Button" /> + </initial-values> + </item> + <item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false"> + <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" /> + <initial-values> + <property name="text" value="RadioButton" /> + </initial-values> + </item> + <item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false"> + <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" /> + <initial-values> + <property name="text" value="CheckBox" /> + </initial-values> + </item> + <item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false"> + <default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" /> + <initial-values> + <property name="text" value="Label" /> + </initial-values> + </item> + <item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true"> + <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1"> + <preferred-size width="150" height="-1" /> + </default-constraints> + </item> + <item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true"> + <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1"> + <preferred-size width="150" height="-1" /> + </default-constraints> + </item> + <item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true"> + <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1"> + <preferred-size width="150" height="-1" /> + </default-constraints> + </item> + <item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true"> + <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> + <preferred-size width="150" height="50" /> + </default-constraints> + </item> + <item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true"> + <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> + <preferred-size width="150" height="50" /> + </default-constraints> + </item> + <item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true"> + <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> + <preferred-size width="150" height="50" /> + </default-constraints> + </item> + <item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true"> + <default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" /> + </item> + <item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false"> + <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> + <preferred-size width="150" height="50" /> + </default-constraints> + </item> + <item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false"> + <default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3"> + <preferred-size width="150" height="50" /> + </default-constraints> + </item> + <item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false"> + <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> + <preferred-size width="150" height="50" /> + </default-constraints> + </item> + <item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false"> + <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3"> + <preferred-size width="200" height="200" /> + </default-constraints> + </item> + <item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false"> + <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3"> + <preferred-size width="200" height="200" /> + </default-constraints> + </item> + <item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true"> + <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" /> + </item> + <item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false"> + <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" /> + </item> + <item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false"> + <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" /> + </item> + <item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false"> + <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" /> + </item> + <item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false"> + <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1"> + <preferred-size width="-1" height="20" /> + </default-constraints> + </item> + <item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false"> + <default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" /> + </item> + <item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false"> + <default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" /> + </item> + </group> + </component> +</project> \ No newline at end of file diff --git a/Source/ExampleIntegratedPushCalled/.idea/vcs.xml b/Source/ExampleIntegratedPushCalled/.idea/vcs.xml new file mode 100644 index 0000000..b2bdec2 --- /dev/null +++ b/Source/ExampleIntegratedPushCalled/.idea/vcs.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="VcsDirectoryMappings"> + <mapping directory="$PROJECT_DIR$/../.." vcs="Git" /> + </component> +</project> \ No newline at end of file diff --git a/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/ExampleIntgraPushCallApplication.java b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/ExampleIntgraPushCallApplication.java index 86a018f..c8ef2f8 100644 --- a/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/ExampleIntgraPushCallApplication.java +++ b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/ExampleIntgraPushCallApplication.java @@ -1,6 +1,5 @@ package com.vci.ubcs.example; -import javafx.application.Application; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @@ -14,5 +13,4 @@ public static void main(String[] args) { SpringApplication.run(ExampleIntgraPushCallApplication.class, args); } - } diff --git a/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/apply/ApplyDataVO.java b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/apply/ApplyDataVO.java new file mode 100644 index 0000000..50fd8fd --- /dev/null +++ b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/apply/ApplyDataVO.java @@ -0,0 +1,121 @@ +package com.vci.ubcs.example.apply; + +import com.thoughtworks.xstream.annotations.XStreamAlias; +import com.thoughtworks.xstream.annotations.XStreamAsAttribute; +import com.thoughtworks.xstream.annotations.XStreamImplicit; + +import java.util.List; + +/** + * 鍒嗙被鏁版嵁淇℃伅 + */ +@XStreamAlias("object") +public class ApplyDataVO { + + /*** + * 杈撳叆涓婚敭 + */ + @XStreamAsAttribute + private String id; + /** + * 璧峰鎴栦慨璁㈢紪鍙� + */ + @XStreamAsAttribute + private String code; + /** + * 鐘舵�� + */ + @XStreamAsAttribute + private String status; + /** + * 鏁版嵁鎿嶄綔绫诲瀷 + */ + @XStreamAsAttribute + private String operate; + /*** + * 鍒涘缓鑰� + */ + @XStreamAsAttribute + private String creator; + + /** + * 鏇存敼鑰� + */ + @XStreamAsAttribute + private String editor; + + + /*** + * 鏁版嵁灞炴�у璞� + */ + @XStreamImplicit + private List<ProppertyVO> prop; + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public String getCode() { + return code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getOperate() { + return operate; + } + + public void setOperate(String operate) { + this.operate = operate; + } + + public List<ProppertyVO> getProp() { + return prop; + } + + public String getCreator() { + return creator; + } + + public void setCreator(String creator) { + this.creator = creator; + } + + public String getEditor() { + return editor; + } + + public void setEditor(String editor) { + this.editor = editor; + } + + public void setProp(List<ProppertyVO> prop) { + this.prop = prop; + } + @Override + public String toString() { + return "ApplyDataVO{" + + "id='" + id + '\'' + + ", code='" + code + '\'' + + ", status='" + status + '\'' + + ", operate='" + operate + '\'' + + ", creator='" + creator + '\'' + + ", editor='" + editor + '\'' + + ", prop=" + prop + + '}'; + } +} diff --git a/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/apply/ApplyDatasVO.java b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/apply/ApplyDatasVO.java new file mode 100644 index 0000000..e644cf1 --- /dev/null +++ b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/apply/ApplyDatasVO.java @@ -0,0 +1,27 @@ +package com.vci.ubcs.example.apply; + +import com.thoughtworks.xstream.annotations.XStreamAlias; +import com.thoughtworks.xstream.annotations.XStreamImplicit; + +import java.util.List; + +@XStreamAlias("objects") +public class ApplyDatasVO { + @XStreamImplicit + private List<ApplyDataVO> object; + + public List<ApplyDataVO> getObject() { + return object; + } + + public void setObject(List<ApplyDataVO> object) { + this.object = object; + } + + @Override + public String toString() { + return "ApplyDatasVO{" + + "object=" + object + + '}'; + } +} diff --git a/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/apply/ClassfyVO.java b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/apply/ClassfyVO.java new file mode 100644 index 0000000..298141c --- /dev/null +++ b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/apply/ClassfyVO.java @@ -0,0 +1,82 @@ +package com.vci.ubcs.example.apply; + +import com.thoughtworks.xstream.annotations.XStreamAlias; +import com.thoughtworks.xstream.annotations.XStreamAsAttribute; + +/** + * 鍒嗙被淇℃伅 + */ +@XStreamAlias("classify") +public class ClassfyVO { + /** + * 鍒嗙被浠e彿 + */ + @XStreamAsAttribute + private String classCode; + /** + * 搴撲唬鍙� + */ + @XStreamAsAttribute + private String library; + /** + * 绫昏矾寰� + */ + @XStreamAsAttribute + private String fullclsfNamePath; + /** + * 鐮佹淇℃伅 + */ + private SectionsVO sections; + private ApplyDatasVO objects; + + public String getClassCode() { + return classCode; + } + + public void setClassCode(String classCode) { + this.classCode = classCode; + } + + public String getLibrary() { + return library; + } + + public void setLibrary(String library) { + this.library = library; + } + + public String getFullclsfNamePath() { + return fullclsfNamePath; + } + + public void setFullclsfNamePath(String fullclsfNamePath) { + this.fullclsfNamePath = fullclsfNamePath; + } + + public SectionsVO getSections() { + return sections; + } + + public void setSections(SectionsVO sections) { + this.sections = sections; + } + + public ApplyDatasVO getObjects() { + return objects; + } + + public void setObjects(ApplyDatasVO objects) { + this.objects = objects; + } + + @Override + public String toString() { + return "ClassVO{" + + "classCode='" + classCode + '\'' + + ", library='" + library + '\'' + + ", fullclsfNamePath='" + fullclsfNamePath + '\'' + + ", sections=" + sections + + ", objects=" + objects + + '}'; + } +} diff --git a/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/apply/ClassfysVO.java b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/apply/ClassfysVO.java new file mode 100644 index 0000000..4ea9ae6 --- /dev/null +++ b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/apply/ClassfysVO.java @@ -0,0 +1,30 @@ +package com.vci.ubcs.example.apply; + +import com.thoughtworks.xstream.annotations.XStreamAlias; +import com.thoughtworks.xstream.annotations.XStreamImplicit; + +import java.util.List; + +@XStreamAlias("classifys") +public class ClassfysVO { + /** + *鍒嗙被淇℃伅 + */ + @XStreamImplicit + private List<ClassfyVO> classify; + + public List<ClassfyVO> getClassify() { + return classify; + } + + public void setClassify(List<ClassfyVO> classify) { + this.classify = classify; + } + + @Override + public String toString() { + return "ClassfysVO{" + + "classify=" + classify + + '}'; + } +} diff --git a/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/apply/InterParameterVO.java b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/apply/InterParameterVO.java new file mode 100644 index 0000000..0c92f07 --- /dev/null +++ b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/apply/InterParameterVO.java @@ -0,0 +1,21 @@ +package com.vci.ubcs.example.apply; + +/*** + * 闆嗘垚鎺ュ彛鍙傛暟锛堢敵璇�/鏇存柊锛岀姸鎬侊級 + */ +public class InterParameterVO { + private RootDataVO data; + public RootDataVO getData() { + return data; + } + public void setData(RootDataVO data) { + this.data = data; + } + + @Override + public String toString() { + return "InterParameterVO{" + + "data=" + data + + '}'; + } +} diff --git a/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/apply/ProppertyVO.java b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/apply/ProppertyVO.java new file mode 100644 index 0000000..dadf117 --- /dev/null +++ b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/apply/ProppertyVO.java @@ -0,0 +1,56 @@ +package com.vci.ubcs.example.apply; + +import com.thoughtworks.xstream.annotations.XStreamAlias; +import com.thoughtworks.xstream.annotations.XStreamAsAttribute; + +@XStreamAlias("prop") +public class ProppertyVO { + /** + * 灞炴�у瓧娈� + */ + @XStreamAsAttribute + private String key; + /** + * 灞炴�ф樉绀哄悕绉� + */ + @XStreamAsAttribute + private String text; + /** + * 灞炴�у�� + */ + @XStreamAsAttribute + private String value; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + public String getText() { + return text; + } + + public void setText(String text) { + this.text = text; + } + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } + + @Override + public String toString() { + return "ProppertyVO{" + + "key='" + key + '\'' + + ", text='" + text + '\'' + + ", value='" + value + '\'' + + '}'; + } +} diff --git a/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/apply/RootDataVO.java b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/apply/RootDataVO.java new file mode 100644 index 0000000..9d83101 --- /dev/null +++ b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/apply/RootDataVO.java @@ -0,0 +1,58 @@ +package com.vci.ubcs.example.apply; + +import com.thoughtworks.xstream.annotations.XStreamAlias; +import com.thoughtworks.xstream.annotations.XStreamAsAttribute; + +/** + *鏁版嵁淇℃伅 + */ +@XStreamAlias("data") +public class RootDataVO { + /*** + * 闆嗘垚绯荤粺鏍囪瘑 + */ + @XStreamAsAttribute + private String systemId; + /** + * 鎿嶄綔鐢ㄦ埛淇℃伅 + */ + private UserVO user; + /*** + * 鏁版嵁淇℃伅 + */ + private ClassfysVO classifys; + + + public String getSystemId() { + return systemId; + } + + public void setSystemId(String systemId) { + this.systemId = systemId; + } + + public UserVO getUser() { + return user; + } + + public void setUser(UserVO user) { + this.user = user; + } + + public ClassfysVO getClassifys() { + return classifys; + } + + public void setClassifys(ClassfysVO classifys) { + this.classifys = classifys; + } + + @Override + public String toString() { + return "InterParameterVO{" + + "systemId='" + systemId + '\'' + + ", user=" + user + + ", classifys=" + classifys + + '}'; + } +} diff --git a/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/apply/SectionVO.java b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/apply/SectionVO.java new file mode 100644 index 0000000..7d33726 --- /dev/null +++ b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/apply/SectionVO.java @@ -0,0 +1,48 @@ +package com.vci.ubcs.example.apply; + +import com.thoughtworks.xstream.annotations.XStreamAlias; +import com.thoughtworks.xstream.annotations.XStreamAsAttribute; +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.NoArgsConstructor; + +@XStreamAlias("section") +@AllArgsConstructor +@NoArgsConstructor +@Data +public class SectionVO { + /** + * 鐮佹鍚嶇О + */ + @XStreamAsAttribute + private String name; + /*** + * 鐮佹鍊� + */ + @XStreamAsAttribute + private String value; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } + + @Override + public String toString() { + return "SectionVO{" + + "name='" + name + '\'' + + ", value='" + value + '\'' + + '}'; + } +} diff --git a/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/apply/SectionsVO.java b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/apply/SectionsVO.java new file mode 100644 index 0000000..fcdae6b --- /dev/null +++ b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/apply/SectionsVO.java @@ -0,0 +1,26 @@ +package com.vci.ubcs.example.apply; + +import com.thoughtworks.xstream.annotations.XStreamAlias; +import com.thoughtworks.xstream.annotations.XStreamImplicit; + +import java.util.List; + +@XStreamAlias("sections") +public class SectionsVO { + @XStreamImplicit + private List<SectionVO> section; + public List<SectionVO> getSection() { + return section; + } + + public void setSection(List<SectionVO> section) { + this.section = section; + } + + @Override + public String toString() { + return "SectionsVO{" + + "section=" + section + + '}'; + } +} diff --git a/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/apply/UserVO.java b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/apply/UserVO.java new file mode 100644 index 0000000..6d91f91 --- /dev/null +++ b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/apply/UserVO.java @@ -0,0 +1,56 @@ +package com.vci.ubcs.example.apply; + +import com.thoughtworks.xstream.annotations.XStreamAlias; +import com.thoughtworks.xstream.annotations.XStreamAsAttribute; + +@XStreamAlias("user") +public class UserVO { + /** + * 鍒涘缓/鏇存敼浜鸿处鍙� + */ + @XStreamAsAttribute + private String userName; + /** + * 鍒涘缓/鏇存敼浜烘樉绀哄悕绉� + */ + @XStreamAsAttribute + private String trueName; + /** + * 鍒涘缓/鏇存敼浜烘搷浣滄満鍣╥p + */ + @XStreamAsAttribute + private String ip; + + public String getUserName() { + return userName; + } + + public void setUserName(String userName) { + this.userName = userName; + } + + public String getTrueName() { + return trueName; + } + + public void setTrueName(String trueName) { + this.trueName = trueName; + } + + public String getIp() { + return ip; + } + + public void setIp(String ip) { + this.ip = ip; + } + + @Override + public String toString() { + return "UserVO{" + + "userName='" + userName + '\'' + + ", trueName='" + trueName + '\'' + + ", ip='" + ip + '\'' + + '}'; + } +} diff --git a/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/applybz/ApplyBZDataVO.java b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/applybz/ApplyBZDataVO.java new file mode 100644 index 0000000..46904a1 --- /dev/null +++ b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/applybz/ApplyBZDataVO.java @@ -0,0 +1,204 @@ +package com.vci.ubcs.example.applybz; + +import com.thoughtworks.xstream.annotations.XStreamAlias; +import com.thoughtworks.xstream.annotations.XStreamAsAttribute; +import com.thoughtworks.xstream.annotations.XStreamImplicit; +import com.vci.ubcs.example.apply.ProppertyVO; + +import java.util.List; + +@XStreamAlias("object") +public class ApplyBZDataVO { + /*** + * 杈撳叆涓婚敭 + */ + @XStreamAsAttribute + private String id; + /** + * 缂栫爜 + */ + @XStreamAsAttribute + private String code; + /** + * 鐘舵�� + */ + @XStreamAsAttribute + private String status; + /*** + * 鍒涘缓鑰� + */ + @XStreamAsAttribute + private String creator; + + /** + * 鏇存敼鑰� + */ + @XStreamAsAttribute + private String editor; + /*** + * 鏁版嵁灞炴�у璞� + */ + @XStreamImplicit + private List<ProppertyVO> prop; + /*** + * 鎿嶄綔绫诲瀷 + */ + @XStreamAsAttribute + private String operationType; + /*** + *鏄惁鏄郴鍒楁爣鍑� + */ + @XStreamAsAttribute + private boolean seriesFlag; + /*** + * 鍙戝竷鏃堕棿 + */ + @XStreamAsAttribute + private String releaseTime; + + /*** + * 婧愭爣鍑嗗彿 + */ + @XStreamAsAttribute + private String oldCode; + + /*** + * 绯诲垪娴佹按 + */ + @XStreamAsAttribute + private String seriesFlow; + + /*** + * 鏄惁鍙樻洿绯诲垪 + */ + @XStreamAsAttribute + private boolean editSeriesFlag; + /*** + * 骞翠唬鍙� + */ + @XStreamAsAttribute + private String yearNumber; + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public String getCode() { + return code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getCreator() { + return creator; + } + + public void setCreator(String creator) { + this.creator = creator; + } + + public String getEditor() { + return editor; + } + + public void setEditor(String editor) { + this.editor = editor; + } + + public List<ProppertyVO> getProp() { + return prop; + } + + public void setProp(List<ProppertyVO> prop) { + this.prop = prop; + } + + public String getOperationType() { + return operationType; + } + + public void setOperationType(String operationType) { + this.operationType = operationType; + } + + public boolean isSeriesFlag() { + return seriesFlag; + } + + public void setSeriesFlag(boolean seriesFlag) { + this.seriesFlag = seriesFlag; + } + + public String getReleaseTime() { + return releaseTime; + } + + public void setReleaseTime(String releaseTime) { + this.releaseTime = releaseTime; + } + + public String getOldCode() { + return oldCode; + } + + public void setOldCode(String oldCode) { + this.oldCode = oldCode; + } + + public String getSeriesFlow() { + return seriesFlow; + } + + public void setSeriesFlow(String seriesFlow) { + this.seriesFlow = seriesFlow; + } + + public boolean isEditSeriesFlag() { + return editSeriesFlag; + } + + public void setEditSeriesFlag(boolean editSeriesFlag) { + this.editSeriesFlag = editSeriesFlag; + } + + public String getYearNumber() { + return yearNumber; + } + + public void setYearNumber(String yearNumber) { + this.yearNumber = yearNumber; + } + + @Override + public String toString() { + return "ApplyBZDataVO{" + + "id='" + id + '\'' + + ", code='" + code + '\'' + + ", status='" + status + '\'' + + ", creator='" + creator + '\'' + + ", editor='" + editor + '\'' + + ", prop=" + prop + + ", operationType='" + operationType + '\'' + + ", seriesFlag=" + seriesFlag + + ", releaseTime='" + releaseTime + '\'' + + ", oldCode='" + oldCode + '\'' + + ", seriesFlow='" + seriesFlow + '\'' + + ", editSeriesFlag='" + editSeriesFlag + '\'' + + ", yearNumber='" + yearNumber + '\'' + + '}'; + } +} diff --git a/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/applybz/ApplyBZDatasVO.java b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/applybz/ApplyBZDatasVO.java new file mode 100644 index 0000000..05e28bc --- /dev/null +++ b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/applybz/ApplyBZDatasVO.java @@ -0,0 +1,27 @@ +package com.vci.ubcs.example.applybz; + +import com.thoughtworks.xstream.annotations.XStreamAlias; +import com.thoughtworks.xstream.annotations.XStreamImplicit; + +import java.util.List; + +@XStreamAlias("objects") +public class ApplyBZDatasVO { + @XStreamImplicit + private List<ApplyBZDataVO> object; + + public List<ApplyBZDataVO> getObject() { + return object; + } + + public void setObject(List<ApplyBZDataVO> object) { + this.object = object; + } + + @Override + public String toString() { + return "ApplyDatasVO{" + + "object=" + object + + '}'; + } +} diff --git a/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/applybz/ApplyBZParamVO.java b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/applybz/ApplyBZParamVO.java new file mode 100644 index 0000000..113033b --- /dev/null +++ b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/applybz/ApplyBZParamVO.java @@ -0,0 +1,17 @@ +package com.vci.ubcs.example.applybz; + +public class ApplyBZParamVO { + private ApplyBZVO data; + public ApplyBZVO getData() { + return data; + } + public void setData(ApplyBZVO data) { + this.data = data; + } + @Override + public String toString() { + return "InterParameterVO{" + + "data=" + data + + '}'; + } +} diff --git a/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/applybz/ApplyBZVO.java b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/applybz/ApplyBZVO.java new file mode 100644 index 0000000..07b32f3 --- /dev/null +++ b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/applybz/ApplyBZVO.java @@ -0,0 +1,56 @@ +package com.vci.ubcs.example.applybz; + +import com.thoughtworks.xstream.annotations.XStreamAlias; +import com.thoughtworks.xstream.annotations.XStreamAsAttribute; +import com.vci.ubcs.example.apply.UserVO; + +/** + *鏁版嵁淇℃伅 + */ +@XStreamAlias("data") +public class ApplyBZVO { + /*** + * 闆嗘垚绯荤粺鏍囪瘑 + */ + @XStreamAsAttribute + private String systemId; + /** + * 鎿嶄綔鐢ㄦ埛淇℃伅 + */ + private UserVO user; + + private ClassfyBZVO classify; + + public String getSystemId() { + return systemId; + } + + public void setSystemId(String systemId) { + this.systemId = systemId; + } + + public UserVO getUser() { + return user; + } + + public void setUser(UserVO user) { + this.user = user; + } + + public ClassfyBZVO getClassify() { + return classify; + } + + public void setClassify(ClassfyBZVO classify) { + this.classify = classify; + } + + @Override + public String toString() { + return "ApplyBZVO{" + + "systemId='" + systemId + '\'' + + ", user=" + user + + ", classify=" + classify + + '}'; + } +} diff --git a/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/applybz/ClassfyBZVO.java b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/applybz/ClassfyBZVO.java new file mode 100644 index 0000000..528b4f7 --- /dev/null +++ b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/applybz/ClassfyBZVO.java @@ -0,0 +1,87 @@ +package com.vci.ubcs.example.applybz; + +import com.thoughtworks.xstream.annotations.XStreamAlias; +import com.thoughtworks.xstream.annotations.XStreamAsAttribute; +import com.vci.ubcs.example.apply.SectionsVO; + +/** + * 鍒嗙被淇℃伅 + */ +@XStreamAlias("classify") +public class ClassfyBZVO { + /** + * 鍒嗙被浠e彿 + */ + @XStreamAsAttribute + private String classCode; + /** + * 搴撲唬鍙� + */ + @XStreamAsAttribute + private String library; + /** + * 绫昏矾寰� + */ + @XStreamAsAttribute + private String fullclsfNamePath; + + /** + * 鐮佹淇℃伅 + */ + private SectionsVO sections; + + /** + * 鏁版嵁闆嗗悎 + */ + private ApplyBZDatasVO objects; + + public String getClassCode() { + return classCode; + } + + public void setClassCode(String classCode) { + this.classCode = classCode; + } + + public String getLibrary() { + return library; + } + + public void setLibrary(String library) { + this.library = library; + } + + public String getFullclsfNamePath() { + return fullclsfNamePath; + } + + public void setFullclsfNamePath(String fullclsfNamePath) { + this.fullclsfNamePath = fullclsfNamePath; + } + + public ApplyBZDatasVO getObjects() { + return objects; + } + + public void setObjects(ApplyBZDatasVO objects) { + this.objects = objects; + } + + public SectionsVO getSections() { + return sections; + } + + public void setSections(SectionsVO sections) { + this.sections = sections; + } + + @Override + public String toString() { + return "ClassfyBZVO{" + + "classCode='" + classCode + '\'' + + ", library='" + library + '\'' + + ", fullclsfNamePath='" + fullclsfNamePath + '\'' + + ", objects=" + objects + + '}'; + } +} diff --git a/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/applybz/ProppertyBZVO.java b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/applybz/ProppertyBZVO.java new file mode 100644 index 0000000..4ff0193 --- /dev/null +++ b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/applybz/ProppertyBZVO.java @@ -0,0 +1,56 @@ +package com.vci.ubcs.example.applybz; + +import com.thoughtworks.xstream.annotations.XStreamAlias; +import com.thoughtworks.xstream.annotations.XStreamAsAttribute; + +@XStreamAlias("prop") +public class ProppertyBZVO { + /** + * 灞炴�у瓧娈� + */ + @XStreamAsAttribute + private String key; + /** + * 灞炴�ф樉绀哄悕绉� + */ + @XStreamAsAttribute + private String text; + /** + * 灞炴�у�� + */ + @XStreamAsAttribute + private String value; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + public String getText() { + return text; + } + + public void setText(String text) { + this.text = text; + } + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } + + @Override + public String toString() { + return "ProppertyVO{" + + "key='" + key + '\'' + + ", text='" + text + '\'' + + ", value='" + value + '\'' + + '}'; + } +} diff --git a/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/config/WebServiceConfig.java b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/config/WebServiceConfig.java new file mode 100644 index 0000000..12d68cc --- /dev/null +++ b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/config/WebServiceConfig.java @@ -0,0 +1,29 @@ +package com.vci.ubcs.example.config; + +import com.vci.ubcs.example.service.UniversalInterface; +import com.vci.ubcs.example.service.impl.UniversalInterfaceImplServiceLocator; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +import javax.xml.rpc.ServiceException; + +/** + * @author ludc + * @date 2024/3/21 17:32 + */ +@Configuration +public class WebServiceConfig { + + @Bean + public UniversalInterface getAppAcctServices() { + UniversalInterfaceImplServiceLocator locator = new UniversalInterfaceImplServiceLocator(); + UniversalInterface service = null; + try { + service = locator.getUniversalInterfaceImplPort(); + } catch (ServiceException e) { + throw new RuntimeException(e); + } + return service; + } + +} \ No newline at end of file diff --git a/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/controller/PushIntegrationController.java b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/controller/PushIntegrationController.java index e8ab239..d6da63d 100644 --- a/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/controller/PushIntegrationController.java +++ b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/controller/PushIntegrationController.java @@ -3,11 +3,7 @@ import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import com.vci.ubcs.example.entity.RequestData; -import org.springblade.core.tool.api.R; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.RequestBody; -import org.springframework.web.bind.annotation.RequestParam; -import org.springframework.web.bind.annotation.RestController; +import org.springframework.web.bind.annotation.*; import javax.servlet.ServletInputStream; import javax.servlet.ServletRequest; @@ -24,7 +20,8 @@ * @author ludc * @date 2024/2/27 20:31 */ -@RestController("/pushIntegration") +@RestController +@RequestMapping("/pushIntegration") public class PushIntegrationController { /** @@ -36,11 +33,11 @@ * @throws IOException */ @PostMapping("/testByForm1") - public R test(@RequestParam String dataType, @RequestParam String dataString) throws IOException { + public String test(@RequestParam String dataType, @RequestParam String dataString) throws IOException { // 鐩稿叧閫昏緫澶勭悊 System.out.println(dataType); System.out.println(dataString); - return R.status(true); + return "鎴愬姛"; } /** @@ -51,7 +48,7 @@ * @throws IOException */ @PostMapping("/testByForm2") - public R test1(ServletRequest request) throws IOException { + public String test1(ServletRequest request) throws IOException { HttpServletRequest request1 = (HttpServletRequest) request; String dataString = request1.getParameter("dataString"); ServletInputStream inputStream = request1.getInputStream(); @@ -66,7 +63,7 @@ JSONObject jsonObject = JSONObject.parseObject(body); JSONArray jsonArray = jsonObject.getJSONArray("dataString"); - return R.data(jsonArray); + return jsonArray.toJSONString(); } /** @@ -77,13 +74,13 @@ * @throws IOException */ @PostMapping("/testByAppjson") - public R test1(@RequestBody RequestData requestData) throws IOException { + public String test1(@RequestBody RequestData requestData) throws IOException { // 鎷垮埌杩欎釜鍙傛暟涔嬪悗鍙栬闆嗗悎涓殑绗竴涓厓绱狅紝灏辨槸瑕乯son杞垚瀵硅薄鐨勫弬鏁� // 濡傛湁鍏蜂綋杞崲瑕佹眰锛屽垯鏍规嵁缂栫爜鍣ㄤ腑鐨勬帴鍙f彁渚涚殑閰嶇疆鑰屽畾锛岄�氬父涓篸ataType瀛楁锛屽xml锛宩son涓ょ鎯呭喌 List<Object> dataString = requestData.getDataString(); // JSONObject.parseObject(dataString,/*鏍规嵁缂栫爜绯荤粺鎻愪緵鐨勫璞″睘鎬ц�屽畾涔夌殑瀵硅薄*/); List<String> dataType = requestData.getDataType(); - return R.data(dataString); + return JSONObject.toJSONString(dataString); } } diff --git a/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/controller/TestCalledIntegrationController.java b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/controller/TestCalledIntegrationController.java index 940dee1..ac20822 100644 --- a/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/controller/TestCalledIntegrationController.java +++ b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/controller/TestCalledIntegrationController.java @@ -1,18 +1,32 @@ package com.vci.ubcs.example.controller; +import com.vci.ubcs.example.service.ICalledIntegrationService; import lombok.AllArgsConstructor; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; +import java.net.MalformedURLException; +import java.rmi.RemoteException; + /** - * 娴嬭瘯璋冪敤缂栫爜绯荤粺浠g爜绀轰緥鐨刟pi瀹氫箟 + * 娴嬭瘯璋冪敤缂栫爜绯荤粺浠g爜绀轰緥 * @author ludc * @date 2024/2/27 20:34 */ @AllArgsConstructor -@RestController("/pushIntegration") +@RestController +@RequestMapping("/callApplyCode") public class TestCalledIntegrationController { + @Autowired + private ICalledIntegrationService calledIntegrationService; + @GetMapping("/sendApplyCodeByWebService") + public void sendApplyCodeByWebService() throws MalformedURLException, RemoteException { + calledIntegrationService.sendApplyCodeByWebService(); + } } diff --git a/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/entity/EnumerableData.java b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/entity/EnumerableData.java new file mode 100644 index 0000000..640c21a --- /dev/null +++ b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/entity/EnumerableData.java @@ -0,0 +1,231 @@ +/** + * EnumerableData.java + * + * This file was auto-generated from WSDL + * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. + */ + +package com.vci.ubcs.example.entity; + +public class EnumerableData implements java.io.Serializable { + private java.lang.String code; + + private java.lang.String descript; + + private java.lang.String mdm_code; + + private java.lang.String name; + + public EnumerableData() { + } + + public EnumerableData( + java.lang.String code, + java.lang.String descript, + java.lang.String mdm_code, + java.lang.String name) { + this.code = code; + this.descript = descript; + this.mdm_code = mdm_code; + this.name = name; + } + + + /** + * Gets the code value for this EnumerableData. + * + * @return code + */ + public java.lang.String getCode() { + return code; + } + + + /** + * Sets the code value for this EnumerableData. + * + * @param code + */ + public void setCode(java.lang.String code) { + this.code = code; + } + + + /** + * Gets the descript value for this EnumerableData. + * + * @return descript + */ + public java.lang.String getDescript() { + return descript; + } + + + /** + * Sets the descript value for this EnumerableData. + * + * @param descript + */ + public void setDescript(java.lang.String descript) { + this.descript = descript; + } + + + /** + * Gets the mdm_code value for this EnumerableData. + * + * @return mdm_code + */ + public java.lang.String getMdm_code() { + return mdm_code; + } + + + /** + * Sets the mdm_code value for this EnumerableData. + * + * @param mdm_code + */ + public void setMdm_code(java.lang.String mdm_code) { + this.mdm_code = mdm_code; + } + + + /** + * Gets the name value for this EnumerableData. + * + * @return name + */ + public java.lang.String getName() { + return name; + } + + + /** + * Sets the name value for this EnumerableData. + * + * @param name + */ + public void setName(java.lang.String name) { + this.name = name; + } + + private java.lang.Object __equalsCalc = null; + public synchronized boolean equals(java.lang.Object obj) { + if (!(obj instanceof EnumerableData)) return false; + EnumerableData other = (EnumerableData) obj; + if (obj == null) return false; + if (this == obj) return true; + if (__equalsCalc != null) { + return (__equalsCalc == obj); + } + __equalsCalc = obj; + boolean _equals; + _equals = true && + ((this.code==null && other.getCode()==null) || + (this.code!=null && + this.code.equals(other.getCode()))) && + ((this.descript==null && other.getDescript()==null) || + (this.descript!=null && + this.descript.equals(other.getDescript()))) && + ((this.mdm_code==null && other.getMdm_code()==null) || + (this.mdm_code!=null && + this.mdm_code.equals(other.getMdm_code()))) && + ((this.name==null && other.getName()==null) || + (this.name!=null && + this.name.equals(other.getName()))); + __equalsCalc = null; + return _equals; + } + + private boolean __hashCodeCalc = false; + public synchronized int hashCode() { + if (__hashCodeCalc) { + return 0; + } + __hashCodeCalc = true; + int _hashCode = 1; + if (getCode() != null) { + _hashCode += getCode().hashCode(); + } + if (getDescript() != null) { + _hashCode += getDescript().hashCode(); + } + if (getMdm_code() != null) { + _hashCode += getMdm_code().hashCode(); + } + if (getName() != null) { + _hashCode += getName().hashCode(); + } + __hashCodeCalc = false; + return _hashCode; + } + + // Type metadata + private static org.apache.axis.description.TypeDesc typeDesc = + new org.apache.axis.description.TypeDesc(EnumerableData.class, true); + + static { + typeDesc.setXmlType(new javax.xml.namespace.QName("http://code.ubcs.vci.com/", "enumerableData")); + org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("code"); + elemField.setXmlName(new javax.xml.namespace.QName("", "code")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("descript"); + elemField.setXmlName(new javax.xml.namespace.QName("", "descript")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("mdm_code"); + elemField.setXmlName(new javax.xml.namespace.QName("", "mdm_code")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("name"); + elemField.setXmlName(new javax.xml.namespace.QName("", "name")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + } + + /** + * Return type metadata object + */ + public static org.apache.axis.description.TypeDesc getTypeDesc() { + return typeDesc; + } + + /** + * Get Custom Serializer + */ + public static org.apache.axis.encoding.Serializer getSerializer( + java.lang.String mechType, + java.lang.Class _javaType, + javax.xml.namespace.QName _xmlType) { + return + new org.apache.axis.encoding.ser.BeanSerializer( + _javaType, _xmlType, typeDesc); + } + + /** + * Get Custom Deserializer + */ + public static org.apache.axis.encoding.Deserializer getDeserializer( + java.lang.String mechType, + java.lang.Class _javaType, + javax.xml.namespace.QName _xmlType) { + return + new org.apache.axis.encoding.ser.BeanDeserializer( + _javaType, _xmlType, typeDesc); + } + +} diff --git a/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/entity/OrgData.java b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/entity/OrgData.java new file mode 100644 index 0000000..03f86bd --- /dev/null +++ b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/entity/OrgData.java @@ -0,0 +1,354 @@ +/** + * OrgData.java + * + * This file was auto-generated from WSDL + * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. + */ + +package com.vci.ubcs.example.entity; + +public class OrgData implements java.io.Serializable { + private java.lang.String action; + + private int code; + + private java.lang.String distributeToken; + + private OrgMasterData[] masterData; + + private java.lang.String mdType; + + private java.lang.String msg; + + private java.lang.String systemCode; + + public OrgData() { + } + + public OrgData( + java.lang.String action, + int code, + java.lang.String distributeToken, + OrgMasterData[] masterData, + java.lang.String mdType, + java.lang.String msg, + java.lang.String systemCode) { + this.action = action; + this.code = code; + this.distributeToken = distributeToken; + this.masterData = masterData; + this.mdType = mdType; + this.msg = msg; + this.systemCode = systemCode; + } + + + /** + * Gets the action value for this OrgData. + * + * @return action + */ + public java.lang.String getAction() { + return action; + } + + + /** + * Sets the action value for this OrgData. + * + * @param action + */ + public void setAction(java.lang.String action) { + this.action = action; + } + + + /** + * Gets the code value for this OrgData. + * + * @return code + */ + public int getCode() { + return code; + } + + + /** + * Sets the code value for this OrgData. + * + * @param code + */ + public void setCode(int code) { + this.code = code; + } + + + /** + * Gets the distributeToken value for this OrgData. + * + * @return distributeToken + */ + public java.lang.String getDistributeToken() { + return distributeToken; + } + + + /** + * Sets the distributeToken value for this OrgData. + * + * @param distributeToken + */ + public void setDistributeToken(java.lang.String distributeToken) { + this.distributeToken = distributeToken; + } + + + /** + * Gets the masterData value for this OrgData. + * + * @return masterData + */ + public OrgMasterData[] getMasterData() { + return masterData; + } + + + /** + * Sets the masterData value for this OrgData. + * + * @param masterData + */ + public void setMasterData(OrgMasterData[] masterData) { + this.masterData = masterData; + } + + public OrgMasterData getMasterData(int i) { + return this.masterData[i]; + } + + public void setMasterData(int i, OrgMasterData _value) { + this.masterData[i] = _value; + } + + + /** + * Gets the mdType value for this OrgData. + * + * @return mdType + */ + public java.lang.String getMdType() { + return mdType; + } + + + /** + * Sets the mdType value for this OrgData. + * + * @param mdType + */ + public void setMdType(java.lang.String mdType) { + this.mdType = mdType; + } + + + /** + * Gets the msg value for this OrgData. + * + * @return msg + */ + public java.lang.String getMsg() { + return msg; + } + + + /** + * Sets the msg value for this OrgData. + * + * @param msg + */ + public void setMsg(java.lang.String msg) { + this.msg = msg; + } + + + /** + * Gets the systemCode value for this OrgData. + * + * @return systemCode + */ + public java.lang.String getSystemCode() { + return systemCode; + } + + + /** + * Sets the systemCode value for this OrgData. + * + * @param systemCode + */ + public void setSystemCode(java.lang.String systemCode) { + this.systemCode = systemCode; + } + + private java.lang.Object __equalsCalc = null; + public synchronized boolean equals(java.lang.Object obj) { + if (!(obj instanceof OrgData)) return false; + OrgData other = (OrgData) obj; + if (obj == null) return false; + if (this == obj) return true; + if (__equalsCalc != null) { + return (__equalsCalc == obj); + } + __equalsCalc = obj; + boolean _equals; + _equals = true && + ((this.action==null && other.getAction()==null) || + (this.action!=null && + this.action.equals(other.getAction()))) && + this.code == other.getCode() && + ((this.distributeToken==null && other.getDistributeToken()==null) || + (this.distributeToken!=null && + this.distributeToken.equals(other.getDistributeToken()))) && + ((this.masterData==null && other.getMasterData()==null) || + (this.masterData!=null && + java.util.Arrays.equals(this.masterData, other.getMasterData()))) && + ((this.mdType==null && other.getMdType()==null) || + (this.mdType!=null && + this.mdType.equals(other.getMdType()))) && + ((this.msg==null && other.getMsg()==null) || + (this.msg!=null && + this.msg.equals(other.getMsg()))) && + ((this.systemCode==null && other.getSystemCode()==null) || + (this.systemCode!=null && + this.systemCode.equals(other.getSystemCode()))); + __equalsCalc = null; + return _equals; + } + + private boolean __hashCodeCalc = false; + public synchronized int hashCode() { + if (__hashCodeCalc) { + return 0; + } + __hashCodeCalc = true; + int _hashCode = 1; + if (getAction() != null) { + _hashCode += getAction().hashCode(); + } + _hashCode += getCode(); + if (getDistributeToken() != null) { + _hashCode += getDistributeToken().hashCode(); + } + if (getMasterData() != null) { + for (int i=0; + i<java.lang.reflect.Array.getLength(getMasterData()); + i++) { + java.lang.Object obj = java.lang.reflect.Array.get(getMasterData(), i); + if (obj != null && + !obj.getClass().isArray()) { + _hashCode += obj.hashCode(); + } + } + } + if (getMdType() != null) { + _hashCode += getMdType().hashCode(); + } + if (getMsg() != null) { + _hashCode += getMsg().hashCode(); + } + if (getSystemCode() != null) { + _hashCode += getSystemCode().hashCode(); + } + __hashCodeCalc = false; + return _hashCode; + } + + // Type metadata + private static org.apache.axis.description.TypeDesc typeDesc = + new org.apache.axis.description.TypeDesc(OrgData.class, true); + + static { + typeDesc.setXmlType(new javax.xml.namespace.QName("http://code.ubcs.vci.com/", "orgData")); + org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("action"); + elemField.setXmlName(new javax.xml.namespace.QName("", "action")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("code"); + elemField.setXmlName(new javax.xml.namespace.QName("", "code")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("distributeToken"); + elemField.setXmlName(new javax.xml.namespace.QName("", "distributeToken")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("masterData"); + elemField.setXmlName(new javax.xml.namespace.QName("", "masterData")); + elemField.setXmlType(new javax.xml.namespace.QName("http://code.ubcs.vci.com/", "orgMasterData")); + elemField.setMinOccurs(0); + elemField.setNillable(true); + elemField.setMaxOccursUnbounded(true); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("mdType"); + elemField.setXmlName(new javax.xml.namespace.QName("", "mdType")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("msg"); + elemField.setXmlName(new javax.xml.namespace.QName("", "msg")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("systemCode"); + elemField.setXmlName(new javax.xml.namespace.QName("", "systemCode")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + } + + /** + * Return type metadata object + */ + public static org.apache.axis.description.TypeDesc getTypeDesc() { + return typeDesc; + } + + /** + * Get Custom Serializer + */ + public static org.apache.axis.encoding.Serializer getSerializer( + java.lang.String mechType, + java.lang.Class _javaType, + javax.xml.namespace.QName _xmlType) { + return + new org.apache.axis.encoding.ser.BeanSerializer( + _javaType, _xmlType, typeDesc); + } + + /** + * Get Custom Deserializer + */ + public static org.apache.axis.encoding.Deserializer getDeserializer( + java.lang.String mechType, + java.lang.Class _javaType, + javax.xml.namespace.QName _xmlType) { + return + new org.apache.axis.encoding.ser.BeanDeserializer( + _javaType, _xmlType, typeDesc); + } + +} diff --git a/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/entity/OrgMasterData.java b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/entity/OrgMasterData.java new file mode 100644 index 0000000..51de5cd --- /dev/null +++ b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/entity/OrgMasterData.java @@ -0,0 +1,1511 @@ +/** + * OrgMasterData.java + * + * This file was auto-generated from WSDL + * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. + */ + +package com.vci.ubcs.example.entity; + +public class OrgMasterData implements java.io.Serializable { + private java.lang.String company_code; + + private java.lang.String company_name; + + private java.lang.String createtime; + + private java.lang.String creator; + + private java.lang.String department_code; + + private java.lang.String department_head; + + private java.lang.String department_head_code; + + private java.lang.String department_level; + + private java.lang.String department_name; + + private java.lang.String department_status; + + private java.lang.String department_type; + + private java.lang.String diplay_status; + + private int dr; + + private java.lang.String dr_ndm_code; + + private int enable_datus; + + private java.lang.String floy_middatastatus; + + private java.lang.String id_route; + + private java.lang.String is_virtual; + + private java.lang.String link_fieldvalue; + + private java.lang.String mdm_cleanstatus; + + private java.lang.String mdm_code; + + private java.lang.String mdm_datastatus; + + private java.lang.String mdm_duplicate; + + private java.lang.String mdm_parentcode; + + private java.lang.String mdm_version; + + private int mdm_workflow_status; + + private java.lang.String modifier; + + private java.lang.String modifytime; + + private java.lang.String name_route; + + private java.lang.String node_type; + + private java.lang.String onginal_code; + + private java.lang.String original_nane; + + private java.lang.String originalcode; + + private java.lang.String parent_department_code; + + private java.lang.String parent_department_name; + + private java.lang.String pk_mdm; + + private java.lang.String sort_order; + + private java.lang.String telephone_number; + + private java.lang.String ts; + + public OrgMasterData() { + } + + public OrgMasterData( + java.lang.String company_code, + java.lang.String company_name, + java.lang.String createtime, + java.lang.String creator, + java.lang.String department_code, + java.lang.String department_head, + java.lang.String department_head_code, + java.lang.String department_level, + java.lang.String department_name, + java.lang.String department_status, + java.lang.String department_type, + java.lang.String diplay_status, + int dr, + java.lang.String dr_ndm_code, + int enable_datus, + java.lang.String floy_middatastatus, + java.lang.String id_route, + java.lang.String is_virtual, + java.lang.String link_fieldvalue, + java.lang.String mdm_cleanstatus, + java.lang.String mdm_code, + java.lang.String mdm_datastatus, + java.lang.String mdm_duplicate, + java.lang.String mdm_parentcode, + java.lang.String mdm_version, + int mdm_workflow_status, + java.lang.String modifier, + java.lang.String modifytime, + java.lang.String name_route, + java.lang.String node_type, + java.lang.String onginal_code, + java.lang.String original_nane, + java.lang.String originalcode, + java.lang.String parent_department_code, + java.lang.String parent_department_name, + java.lang.String pk_mdm, + java.lang.String sort_order, + java.lang.String telephone_number, + java.lang.String ts) { + this.company_code = company_code; + this.company_name = company_name; + this.createtime = createtime; + this.creator = creator; + this.department_code = department_code; + this.department_head = department_head; + this.department_head_code = department_head_code; + this.department_level = department_level; + this.department_name = department_name; + this.department_status = department_status; + this.department_type = department_type; + this.diplay_status = diplay_status; + this.dr = dr; + this.dr_ndm_code = dr_ndm_code; + this.enable_datus = enable_datus; + this.floy_middatastatus = floy_middatastatus; + this.id_route = id_route; + this.is_virtual = is_virtual; + this.link_fieldvalue = link_fieldvalue; + this.mdm_cleanstatus = mdm_cleanstatus; + this.mdm_code = mdm_code; + this.mdm_datastatus = mdm_datastatus; + this.mdm_duplicate = mdm_duplicate; + this.mdm_parentcode = mdm_parentcode; + this.mdm_version = mdm_version; + this.mdm_workflow_status = mdm_workflow_status; + this.modifier = modifier; + this.modifytime = modifytime; + this.name_route = name_route; + this.node_type = node_type; + this.onginal_code = onginal_code; + this.original_nane = original_nane; + this.originalcode = originalcode; + this.parent_department_code = parent_department_code; + this.parent_department_name = parent_department_name; + this.pk_mdm = pk_mdm; + this.sort_order = sort_order; + this.telephone_number = telephone_number; + this.ts = ts; + } + + + /** + * Gets the company_code value for this OrgMasterData. + * + * @return company_code + */ + public java.lang.String getCompany_code() { + return company_code; + } + + + /** + * Sets the company_code value for this OrgMasterData. + * + * @param company_code + */ + public void setCompany_code(java.lang.String company_code) { + this.company_code = company_code; + } + + + /** + * Gets the company_name value for this OrgMasterData. + * + * @return company_name + */ + public java.lang.String getCompany_name() { + return company_name; + } + + + /** + * Sets the company_name value for this OrgMasterData. + * + * @param company_name + */ + public void setCompany_name(java.lang.String company_name) { + this.company_name = company_name; + } + + + /** + * Gets the createtime value for this OrgMasterData. + * + * @return createtime + */ + public java.lang.String getCreatetime() { + return createtime; + } + + + /** + * Sets the createtime value for this OrgMasterData. + * + * @param createtime + */ + public void setCreatetime(java.lang.String createtime) { + this.createtime = createtime; + } + + + /** + * Gets the creator value for this OrgMasterData. + * + * @return creator + */ + public java.lang.String getCreator() { + return creator; + } + + + /** + * Sets the creator value for this OrgMasterData. + * + * @param creator + */ + public void setCreator(java.lang.String creator) { + this.creator = creator; + } + + + /** + * Gets the department_code value for this OrgMasterData. + * + * @return department_code + */ + public java.lang.String getDepartment_code() { + return department_code; + } + + + /** + * Sets the department_code value for this OrgMasterData. + * + * @param department_code + */ + public void setDepartment_code(java.lang.String department_code) { + this.department_code = department_code; + } + + + /** + * Gets the department_head value for this OrgMasterData. + * + * @return department_head + */ + public java.lang.String getDepartment_head() { + return department_head; + } + + + /** + * Sets the department_head value for this OrgMasterData. + * + * @param department_head + */ + public void setDepartment_head(java.lang.String department_head) { + this.department_head = department_head; + } + + + /** + * Gets the department_head_code value for this OrgMasterData. + * + * @return department_head_code + */ + public java.lang.String getDepartment_head_code() { + return department_head_code; + } + + + /** + * Sets the department_head_code value for this OrgMasterData. + * + * @param department_head_code + */ + public void setDepartment_head_code(java.lang.String department_head_code) { + this.department_head_code = department_head_code; + } + + + /** + * Gets the department_level value for this OrgMasterData. + * + * @return department_level + */ + public java.lang.String getDepartment_level() { + return department_level; + } + + + /** + * Sets the department_level value for this OrgMasterData. + * + * @param department_level + */ + public void setDepartment_level(java.lang.String department_level) { + this.department_level = department_level; + } + + + /** + * Gets the department_name value for this OrgMasterData. + * + * @return department_name + */ + public java.lang.String getDepartment_name() { + return department_name; + } + + + /** + * Sets the department_name value for this OrgMasterData. + * + * @param department_name + */ + public void setDepartment_name(java.lang.String department_name) { + this.department_name = department_name; + } + + + /** + * Gets the department_status value for this OrgMasterData. + * + * @return department_status + */ + public java.lang.String getDepartment_status() { + return department_status; + } + + + /** + * Sets the department_status value for this OrgMasterData. + * + * @param department_status + */ + public void setDepartment_status(java.lang.String department_status) { + this.department_status = department_status; + } + + + /** + * Gets the department_type value for this OrgMasterData. + * + * @return department_type + */ + public java.lang.String getDepartment_type() { + return department_type; + } + + + /** + * Sets the department_type value for this OrgMasterData. + * + * @param department_type + */ + public void setDepartment_type(java.lang.String department_type) { + this.department_type = department_type; + } + + + /** + * Gets the diplay_status value for this OrgMasterData. + * + * @return diplay_status + */ + public java.lang.String getDiplay_status() { + return diplay_status; + } + + + /** + * Sets the diplay_status value for this OrgMasterData. + * + * @param diplay_status + */ + public void setDiplay_status(java.lang.String diplay_status) { + this.diplay_status = diplay_status; + } + + + /** + * Gets the dr value for this OrgMasterData. + * + * @return dr + */ + public int getDr() { + return dr; + } + + + /** + * Sets the dr value for this OrgMasterData. + * + * @param dr + */ + public void setDr(int dr) { + this.dr = dr; + } + + + /** + * Gets the dr_ndm_code value for this OrgMasterData. + * + * @return dr_ndm_code + */ + public java.lang.String getDr_ndm_code() { + return dr_ndm_code; + } + + + /** + * Sets the dr_ndm_code value for this OrgMasterData. + * + * @param dr_ndm_code + */ + public void setDr_ndm_code(java.lang.String dr_ndm_code) { + this.dr_ndm_code = dr_ndm_code; + } + + + /** + * Gets the enable_datus value for this OrgMasterData. + * + * @return enable_datus + */ + public int getEnable_datus() { + return enable_datus; + } + + + /** + * Sets the enable_datus value for this OrgMasterData. + * + * @param enable_datus + */ + public void setEnable_datus(int enable_datus) { + this.enable_datus = enable_datus; + } + + + /** + * Gets the floy_middatastatus value for this OrgMasterData. + * + * @return floy_middatastatus + */ + public java.lang.String getFloy_middatastatus() { + return floy_middatastatus; + } + + + /** + * Sets the floy_middatastatus value for this OrgMasterData. + * + * @param floy_middatastatus + */ + public void setFloy_middatastatus(java.lang.String floy_middatastatus) { + this.floy_middatastatus = floy_middatastatus; + } + + + /** + * Gets the id_route value for this OrgMasterData. + * + * @return id_route + */ + public java.lang.String getId_route() { + return id_route; + } + + + /** + * Sets the id_route value for this OrgMasterData. + * + * @param id_route + */ + public void setId_route(java.lang.String id_route) { + this.id_route = id_route; + } + + + /** + * Gets the is_virtual value for this OrgMasterData. + * + * @return is_virtual + */ + public java.lang.String getIs_virtual() { + return is_virtual; + } + + + /** + * Sets the is_virtual value for this OrgMasterData. + * + * @param is_virtual + */ + public void setIs_virtual(java.lang.String is_virtual) { + this.is_virtual = is_virtual; + } + + + /** + * Gets the link_fieldvalue value for this OrgMasterData. + * + * @return link_fieldvalue + */ + public java.lang.String getLink_fieldvalue() { + return link_fieldvalue; + } + + + /** + * Sets the link_fieldvalue value for this OrgMasterData. + * + * @param link_fieldvalue + */ + public void setLink_fieldvalue(java.lang.String link_fieldvalue) { + this.link_fieldvalue = link_fieldvalue; + } + + + /** + * Gets the mdm_cleanstatus value for this OrgMasterData. + * + * @return mdm_cleanstatus + */ + public java.lang.String getMdm_cleanstatus() { + return mdm_cleanstatus; + } + + + /** + * Sets the mdm_cleanstatus value for this OrgMasterData. + * + * @param mdm_cleanstatus + */ + public void setMdm_cleanstatus(java.lang.String mdm_cleanstatus) { + this.mdm_cleanstatus = mdm_cleanstatus; + } + + + /** + * Gets the mdm_code value for this OrgMasterData. + * + * @return mdm_code + */ + public java.lang.String getMdm_code() { + return mdm_code; + } + + + /** + * Sets the mdm_code value for this OrgMasterData. + * + * @param mdm_code + */ + public void setMdm_code(java.lang.String mdm_code) { + this.mdm_code = mdm_code; + } + + + /** + * Gets the mdm_datastatus value for this OrgMasterData. + * + * @return mdm_datastatus + */ + public java.lang.String getMdm_datastatus() { + return mdm_datastatus; + } + + + /** + * Sets the mdm_datastatus value for this OrgMasterData. + * + * @param mdm_datastatus + */ + public void setMdm_datastatus(java.lang.String mdm_datastatus) { + this.mdm_datastatus = mdm_datastatus; + } + + + /** + * Gets the mdm_duplicate value for this OrgMasterData. + * + * @return mdm_duplicate + */ + public java.lang.String getMdm_duplicate() { + return mdm_duplicate; + } + + + /** + * Sets the mdm_duplicate value for this OrgMasterData. + * + * @param mdm_duplicate + */ + public void setMdm_duplicate(java.lang.String mdm_duplicate) { + this.mdm_duplicate = mdm_duplicate; + } + + + /** + * Gets the mdm_parentcode value for this OrgMasterData. + * + * @return mdm_parentcode + */ + public java.lang.String getMdm_parentcode() { + return mdm_parentcode; + } + + + /** + * Sets the mdm_parentcode value for this OrgMasterData. + * + * @param mdm_parentcode + */ + public void setMdm_parentcode(java.lang.String mdm_parentcode) { + this.mdm_parentcode = mdm_parentcode; + } + + + /** + * Gets the mdm_version value for this OrgMasterData. + * + * @return mdm_version + */ + public java.lang.String getMdm_version() { + return mdm_version; + } + + + /** + * Sets the mdm_version value for this OrgMasterData. + * + * @param mdm_version + */ + public void setMdm_version(java.lang.String mdm_version) { + this.mdm_version = mdm_version; + } + + + /** + * Gets the mdm_workflow_status value for this OrgMasterData. + * + * @return mdm_workflow_status + */ + public int getMdm_workflow_status() { + return mdm_workflow_status; + } + + + /** + * Sets the mdm_workflow_status value for this OrgMasterData. + * + * @param mdm_workflow_status + */ + public void setMdm_workflow_status(int mdm_workflow_status) { + this.mdm_workflow_status = mdm_workflow_status; + } + + + /** + * Gets the modifier value for this OrgMasterData. + * + * @return modifier + */ + public java.lang.String getModifier() { + return modifier; + } + + + /** + * Sets the modifier value for this OrgMasterData. + * + * @param modifier + */ + public void setModifier(java.lang.String modifier) { + this.modifier = modifier; + } + + + /** + * Gets the modifytime value for this OrgMasterData. + * + * @return modifytime + */ + public java.lang.String getModifytime() { + return modifytime; + } + + + /** + * Sets the modifytime value for this OrgMasterData. + * + * @param modifytime + */ + public void setModifytime(java.lang.String modifytime) { + this.modifytime = modifytime; + } + + + /** + * Gets the name_route value for this OrgMasterData. + * + * @return name_route + */ + public java.lang.String getName_route() { + return name_route; + } + + + /** + * Sets the name_route value for this OrgMasterData. + * + * @param name_route + */ + public void setName_route(java.lang.String name_route) { + this.name_route = name_route; + } + + + /** + * Gets the node_type value for this OrgMasterData. + * + * @return node_type + */ + public java.lang.String getNode_type() { + return node_type; + } + + + /** + * Sets the node_type value for this OrgMasterData. + * + * @param node_type + */ + public void setNode_type(java.lang.String node_type) { + this.node_type = node_type; + } + + + /** + * Gets the onginal_code value for this OrgMasterData. + * + * @return onginal_code + */ + public java.lang.String getOnginal_code() { + return onginal_code; + } + + + /** + * Sets the onginal_code value for this OrgMasterData. + * + * @param onginal_code + */ + public void setOnginal_code(java.lang.String onginal_code) { + this.onginal_code = onginal_code; + } + + + /** + * Gets the original_nane value for this OrgMasterData. + * + * @return original_nane + */ + public java.lang.String getOriginal_nane() { + return original_nane; + } + + + /** + * Sets the original_nane value for this OrgMasterData. + * + * @param original_nane + */ + public void setOriginal_nane(java.lang.String original_nane) { + this.original_nane = original_nane; + } + + + /** + * Gets the originalcode value for this OrgMasterData. + * + * @return originalcode + */ + public java.lang.String getOriginalcode() { + return originalcode; + } + + + /** + * Sets the originalcode value for this OrgMasterData. + * + * @param originalcode + */ + public void setOriginalcode(java.lang.String originalcode) { + this.originalcode = originalcode; + } + + + /** + * Gets the parent_department_code value for this OrgMasterData. + * + * @return parent_department_code + */ + public java.lang.String getParent_department_code() { + return parent_department_code; + } + + + /** + * Sets the parent_department_code value for this OrgMasterData. + * + * @param parent_department_code + */ + public void setParent_department_code(java.lang.String parent_department_code) { + this.parent_department_code = parent_department_code; + } + + + /** + * Gets the parent_department_name value for this OrgMasterData. + * + * @return parent_department_name + */ + public java.lang.String getParent_department_name() { + return parent_department_name; + } + + + /** + * Sets the parent_department_name value for this OrgMasterData. + * + * @param parent_department_name + */ + public void setParent_department_name(java.lang.String parent_department_name) { + this.parent_department_name = parent_department_name; + } + + + /** + * Gets the pk_mdm value for this OrgMasterData. + * + * @return pk_mdm + */ + public java.lang.String getPk_mdm() { + return pk_mdm; + } + + + /** + * Sets the pk_mdm value for this OrgMasterData. + * + * @param pk_mdm + */ + public void setPk_mdm(java.lang.String pk_mdm) { + this.pk_mdm = pk_mdm; + } + + + /** + * Gets the sort_order value for this OrgMasterData. + * + * @return sort_order + */ + public java.lang.String getSort_order() { + return sort_order; + } + + + /** + * Sets the sort_order value for this OrgMasterData. + * + * @param sort_order + */ + public void setSort_order(java.lang.String sort_order) { + this.sort_order = sort_order; + } + + + /** + * Gets the telephone_number value for this OrgMasterData. + * + * @return telephone_number + */ + public java.lang.String getTelephone_number() { + return telephone_number; + } + + + /** + * Sets the telephone_number value for this OrgMasterData. + * + * @param telephone_number + */ + public void setTelephone_number(java.lang.String telephone_number) { + this.telephone_number = telephone_number; + } + + + /** + * Gets the ts value for this OrgMasterData. + * + * @return ts + */ + public java.lang.String getTs() { + return ts; + } + + + /** + * Sets the ts value for this OrgMasterData. + * + * @param ts + */ + public void setTs(java.lang.String ts) { + this.ts = ts; + } + + private java.lang.Object __equalsCalc = null; + public synchronized boolean equals(java.lang.Object obj) { + if (!(obj instanceof OrgMasterData)) return false; + OrgMasterData other = (OrgMasterData) obj; + if (obj == null) return false; + if (this == obj) return true; + if (__equalsCalc != null) { + return (__equalsCalc == obj); + } + __equalsCalc = obj; + boolean _equals; + _equals = true && + ((this.company_code==null && other.getCompany_code()==null) || + (this.company_code!=null && + this.company_code.equals(other.getCompany_code()))) && + ((this.company_name==null && other.getCompany_name()==null) || + (this.company_name!=null && + this.company_name.equals(other.getCompany_name()))) && + ((this.createtime==null && other.getCreatetime()==null) || + (this.createtime!=null && + this.createtime.equals(other.getCreatetime()))) && + ((this.creator==null && other.getCreator()==null) || + (this.creator!=null && + this.creator.equals(other.getCreator()))) && + ((this.department_code==null && other.getDepartment_code()==null) || + (this.department_code!=null && + this.department_code.equals(other.getDepartment_code()))) && + ((this.department_head==null && other.getDepartment_head()==null) || + (this.department_head!=null && + this.department_head.equals(other.getDepartment_head()))) && + ((this.department_head_code==null && other.getDepartment_head_code()==null) || + (this.department_head_code!=null && + this.department_head_code.equals(other.getDepartment_head_code()))) && + ((this.department_level==null && other.getDepartment_level()==null) || + (this.department_level!=null && + this.department_level.equals(other.getDepartment_level()))) && + ((this.department_name==null && other.getDepartment_name()==null) || + (this.department_name!=null && + this.department_name.equals(other.getDepartment_name()))) && + ((this.department_status==null && other.getDepartment_status()==null) || + (this.department_status!=null && + this.department_status.equals(other.getDepartment_status()))) && + ((this.department_type==null && other.getDepartment_type()==null) || + (this.department_type!=null && + this.department_type.equals(other.getDepartment_type()))) && + ((this.diplay_status==null && other.getDiplay_status()==null) || + (this.diplay_status!=null && + this.diplay_status.equals(other.getDiplay_status()))) && + this.dr == other.getDr() && + ((this.dr_ndm_code==null && other.getDr_ndm_code()==null) || + (this.dr_ndm_code!=null && + this.dr_ndm_code.equals(other.getDr_ndm_code()))) && + this.enable_datus == other.getEnable_datus() && + ((this.floy_middatastatus==null && other.getFloy_middatastatus()==null) || + (this.floy_middatastatus!=null && + this.floy_middatastatus.equals(other.getFloy_middatastatus()))) && + ((this.id_route==null && other.getId_route()==null) || + (this.id_route!=null && + this.id_route.equals(other.getId_route()))) && + ((this.is_virtual==null && other.getIs_virtual()==null) || + (this.is_virtual!=null && + this.is_virtual.equals(other.getIs_virtual()))) && + ((this.link_fieldvalue==null && other.getLink_fieldvalue()==null) || + (this.link_fieldvalue!=null && + this.link_fieldvalue.equals(other.getLink_fieldvalue()))) && + ((this.mdm_cleanstatus==null && other.getMdm_cleanstatus()==null) || + (this.mdm_cleanstatus!=null && + this.mdm_cleanstatus.equals(other.getMdm_cleanstatus()))) && + ((this.mdm_code==null && other.getMdm_code()==null) || + (this.mdm_code!=null && + this.mdm_code.equals(other.getMdm_code()))) && + ((this.mdm_datastatus==null && other.getMdm_datastatus()==null) || + (this.mdm_datastatus!=null && + this.mdm_datastatus.equals(other.getMdm_datastatus()))) && + ((this.mdm_duplicate==null && other.getMdm_duplicate()==null) || + (this.mdm_duplicate!=null && + this.mdm_duplicate.equals(other.getMdm_duplicate()))) && + ((this.mdm_parentcode==null && other.getMdm_parentcode()==null) || + (this.mdm_parentcode!=null && + this.mdm_parentcode.equals(other.getMdm_parentcode()))) && + ((this.mdm_version==null && other.getMdm_version()==null) || + (this.mdm_version!=null && + this.mdm_version.equals(other.getMdm_version()))) && + this.mdm_workflow_status == other.getMdm_workflow_status() && + ((this.modifier==null && other.getModifier()==null) || + (this.modifier!=null && + this.modifier.equals(other.getModifier()))) && + ((this.modifytime==null && other.getModifytime()==null) || + (this.modifytime!=null && + this.modifytime.equals(other.getModifytime()))) && + ((this.name_route==null && other.getName_route()==null) || + (this.name_route!=null && + this.name_route.equals(other.getName_route()))) && + ((this.node_type==null && other.getNode_type()==null) || + (this.node_type!=null && + this.node_type.equals(other.getNode_type()))) && + ((this.onginal_code==null && other.getOnginal_code()==null) || + (this.onginal_code!=null && + this.onginal_code.equals(other.getOnginal_code()))) && + ((this.original_nane==null && other.getOriginal_nane()==null) || + (this.original_nane!=null && + this.original_nane.equals(other.getOriginal_nane()))) && + ((this.originalcode==null && other.getOriginalcode()==null) || + (this.originalcode!=null && + this.originalcode.equals(other.getOriginalcode()))) && + ((this.parent_department_code==null && other.getParent_department_code()==null) || + (this.parent_department_code!=null && + this.parent_department_code.equals(other.getParent_department_code()))) && + ((this.parent_department_name==null && other.getParent_department_name()==null) || + (this.parent_department_name!=null && + this.parent_department_name.equals(other.getParent_department_name()))) && + ((this.pk_mdm==null && other.getPk_mdm()==null) || + (this.pk_mdm!=null && + this.pk_mdm.equals(other.getPk_mdm()))) && + ((this.sort_order==null && other.getSort_order()==null) || + (this.sort_order!=null && + this.sort_order.equals(other.getSort_order()))) && + ((this.telephone_number==null && other.getTelephone_number()==null) || + (this.telephone_number!=null && + this.telephone_number.equals(other.getTelephone_number()))) && + ((this.ts==null && other.getTs()==null) || + (this.ts!=null && + this.ts.equals(other.getTs()))); + __equalsCalc = null; + return _equals; + } + + private boolean __hashCodeCalc = false; + public synchronized int hashCode() { + if (__hashCodeCalc) { + return 0; + } + __hashCodeCalc = true; + int _hashCode = 1; + if (getCompany_code() != null) { + _hashCode += getCompany_code().hashCode(); + } + if (getCompany_name() != null) { + _hashCode += getCompany_name().hashCode(); + } + if (getCreatetime() != null) { + _hashCode += getCreatetime().hashCode(); + } + if (getCreator() != null) { + _hashCode += getCreator().hashCode(); + } + if (getDepartment_code() != null) { + _hashCode += getDepartment_code().hashCode(); + } + if (getDepartment_head() != null) { + _hashCode += getDepartment_head().hashCode(); + } + if (getDepartment_head_code() != null) { + _hashCode += getDepartment_head_code().hashCode(); + } + if (getDepartment_level() != null) { + _hashCode += getDepartment_level().hashCode(); + } + if (getDepartment_name() != null) { + _hashCode += getDepartment_name().hashCode(); + } + if (getDepartment_status() != null) { + _hashCode += getDepartment_status().hashCode(); + } + if (getDepartment_type() != null) { + _hashCode += getDepartment_type().hashCode(); + } + if (getDiplay_status() != null) { + _hashCode += getDiplay_status().hashCode(); + } + _hashCode += getDr(); + if (getDr_ndm_code() != null) { + _hashCode += getDr_ndm_code().hashCode(); + } + _hashCode += getEnable_datus(); + if (getFloy_middatastatus() != null) { + _hashCode += getFloy_middatastatus().hashCode(); + } + if (getId_route() != null) { + _hashCode += getId_route().hashCode(); + } + if (getIs_virtual() != null) { + _hashCode += getIs_virtual().hashCode(); + } + if (getLink_fieldvalue() != null) { + _hashCode += getLink_fieldvalue().hashCode(); + } + if (getMdm_cleanstatus() != null) { + _hashCode += getMdm_cleanstatus().hashCode(); + } + if (getMdm_code() != null) { + _hashCode += getMdm_code().hashCode(); + } + if (getMdm_datastatus() != null) { + _hashCode += getMdm_datastatus().hashCode(); + } + if (getMdm_duplicate() != null) { + _hashCode += getMdm_duplicate().hashCode(); + } + if (getMdm_parentcode() != null) { + _hashCode += getMdm_parentcode().hashCode(); + } + if (getMdm_version() != null) { + _hashCode += getMdm_version().hashCode(); + } + _hashCode += getMdm_workflow_status(); + if (getModifier() != null) { + _hashCode += getModifier().hashCode(); + } + if (getModifytime() != null) { + _hashCode += getModifytime().hashCode(); + } + if (getName_route() != null) { + _hashCode += getName_route().hashCode(); + } + if (getNode_type() != null) { + _hashCode += getNode_type().hashCode(); + } + if (getOnginal_code() != null) { + _hashCode += getOnginal_code().hashCode(); + } + if (getOriginal_nane() != null) { + _hashCode += getOriginal_nane().hashCode(); + } + if (getOriginalcode() != null) { + _hashCode += getOriginalcode().hashCode(); + } + if (getParent_department_code() != null) { + _hashCode += getParent_department_code().hashCode(); + } + if (getParent_department_name() != null) { + _hashCode += getParent_department_name().hashCode(); + } + if (getPk_mdm() != null) { + _hashCode += getPk_mdm().hashCode(); + } + if (getSort_order() != null) { + _hashCode += getSort_order().hashCode(); + } + if (getTelephone_number() != null) { + _hashCode += getTelephone_number().hashCode(); + } + if (getTs() != null) { + _hashCode += getTs().hashCode(); + } + __hashCodeCalc = false; + return _hashCode; + } + + // Type metadata + private static org.apache.axis.description.TypeDesc typeDesc = + new org.apache.axis.description.TypeDesc(OrgMasterData.class, true); + + static { + typeDesc.setXmlType(new javax.xml.namespace.QName("http://code.ubcs.vci.com/", "orgMasterData")); + org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("company_code"); + elemField.setXmlName(new javax.xml.namespace.QName("", "company_code")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("company_name"); + elemField.setXmlName(new javax.xml.namespace.QName("", "company_name")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("createtime"); + elemField.setXmlName(new javax.xml.namespace.QName("", "createtime")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("creator"); + elemField.setXmlName(new javax.xml.namespace.QName("", "creator")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("department_code"); + elemField.setXmlName(new javax.xml.namespace.QName("", "department_code")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("department_head"); + elemField.setXmlName(new javax.xml.namespace.QName("", "department_head")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("department_head_code"); + elemField.setXmlName(new javax.xml.namespace.QName("", "department_head_code")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("department_level"); + elemField.setXmlName(new javax.xml.namespace.QName("", "department_level")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("department_name"); + elemField.setXmlName(new javax.xml.namespace.QName("", "department_name")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("department_status"); + elemField.setXmlName(new javax.xml.namespace.QName("", "department_status")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("department_type"); + elemField.setXmlName(new javax.xml.namespace.QName("", "department_type")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("diplay_status"); + elemField.setXmlName(new javax.xml.namespace.QName("", "diplay_status")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("dr"); + elemField.setXmlName(new javax.xml.namespace.QName("", "dr")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("dr_ndm_code"); + elemField.setXmlName(new javax.xml.namespace.QName("", "dr_ndm_code")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("enable_datus"); + elemField.setXmlName(new javax.xml.namespace.QName("", "enable_datus")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("floy_middatastatus"); + elemField.setXmlName(new javax.xml.namespace.QName("", "floy_middatastatus")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("id_route"); + elemField.setXmlName(new javax.xml.namespace.QName("", "id_route")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("is_virtual"); + elemField.setXmlName(new javax.xml.namespace.QName("", "is_virtual")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("link_fieldvalue"); + elemField.setXmlName(new javax.xml.namespace.QName("", "link_fieldvalue")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("mdm_cleanstatus"); + elemField.setXmlName(new javax.xml.namespace.QName("", "mdm_cleanstatus")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("mdm_code"); + elemField.setXmlName(new javax.xml.namespace.QName("", "mdm_code")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("mdm_datastatus"); + elemField.setXmlName(new javax.xml.namespace.QName("", "mdm_datastatus")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("mdm_duplicate"); + elemField.setXmlName(new javax.xml.namespace.QName("", "mdm_duplicate")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("mdm_parentcode"); + elemField.setXmlName(new javax.xml.namespace.QName("", "mdm_parentcode")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("mdm_version"); + elemField.setXmlName(new javax.xml.namespace.QName("", "mdm_version")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("mdm_workflow_status"); + elemField.setXmlName(new javax.xml.namespace.QName("", "mdm_workflow_status")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("modifier"); + elemField.setXmlName(new javax.xml.namespace.QName("", "modifier")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("modifytime"); + elemField.setXmlName(new javax.xml.namespace.QName("", "modifytime")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("name_route"); + elemField.setXmlName(new javax.xml.namespace.QName("", "name_route")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("node_type"); + elemField.setXmlName(new javax.xml.namespace.QName("", "node_type")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("onginal_code"); + elemField.setXmlName(new javax.xml.namespace.QName("", "onginal_code")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("original_nane"); + elemField.setXmlName(new javax.xml.namespace.QName("", "original_nane")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("originalcode"); + elemField.setXmlName(new javax.xml.namespace.QName("", "originalcode")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("parent_department_code"); + elemField.setXmlName(new javax.xml.namespace.QName("", "parent_department_code")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("parent_department_name"); + elemField.setXmlName(new javax.xml.namespace.QName("", "parent_department_name")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("pk_mdm"); + elemField.setXmlName(new javax.xml.namespace.QName("", "pk_mdm")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("sort_order"); + elemField.setXmlName(new javax.xml.namespace.QName("", "sort_order")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("telephone_number"); + elemField.setXmlName(new javax.xml.namespace.QName("", "telephone_number")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("ts"); + elemField.setXmlName(new javax.xml.namespace.QName("", "ts")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + } + + /** + * Return type metadata object + */ + public static org.apache.axis.description.TypeDesc getTypeDesc() { + return typeDesc; + } + + /** + * Get Custom Serializer + */ + public static org.apache.axis.encoding.Serializer getSerializer( + java.lang.String mechType, + java.lang.Class _javaType, + javax.xml.namespace.QName _xmlType) { + return + new org.apache.axis.encoding.ser.BeanSerializer( + _javaType, _xmlType, typeDesc); + } + + /** + * Get Custom Deserializer + */ + public static org.apache.axis.encoding.Deserializer getDeserializer( + java.lang.String mechType, + java.lang.Class _javaType, + javax.xml.namespace.QName _xmlType) { + return + new org.apache.axis.encoding.ser.BeanDeserializer( + _javaType, _xmlType, typeDesc); + } + +} diff --git a/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/entity/PersonData.java b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/entity/PersonData.java new file mode 100644 index 0000000..dbf4f15 --- /dev/null +++ b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/entity/PersonData.java @@ -0,0 +1,354 @@ +/** + * PersonData.java + * + * This file was auto-generated from WSDL + * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. + */ + +package com.vci.ubcs.example.entity; + +public class PersonData implements java.io.Serializable { + private java.lang.String action; + + private int code; + + private java.lang.String distributeToken; + + private PersonMasterData[] masterData; + + private java.lang.String mdType; + + private java.lang.String msg; + + private java.lang.String systemCode; + + public PersonData() { + } + + public PersonData( + java.lang.String action, + int code, + java.lang.String distributeToken, + PersonMasterData[] masterData, + java.lang.String mdType, + java.lang.String msg, + java.lang.String systemCode) { + this.action = action; + this.code = code; + this.distributeToken = distributeToken; + this.masterData = masterData; + this.mdType = mdType; + this.msg = msg; + this.systemCode = systemCode; + } + + + /** + * Gets the action value for this PersonData. + * + * @return action + */ + public java.lang.String getAction() { + return action; + } + + + /** + * Sets the action value for this PersonData. + * + * @param action + */ + public void setAction(java.lang.String action) { + this.action = action; + } + + + /** + * Gets the code value for this PersonData. + * + * @return code + */ + public int getCode() { + return code; + } + + + /** + * Sets the code value for this PersonData. + * + * @param code + */ + public void setCode(int code) { + this.code = code; + } + + + /** + * Gets the distributeToken value for this PersonData. + * + * @return distributeToken + */ + public java.lang.String getDistributeToken() { + return distributeToken; + } + + + /** + * Sets the distributeToken value for this PersonData. + * + * @param distributeToken + */ + public void setDistributeToken(java.lang.String distributeToken) { + this.distributeToken = distributeToken; + } + + + /** + * Gets the masterData value for this PersonData. + * + * @return masterData + */ + public PersonMasterData[] getMasterData() { + return masterData; + } + + + /** + * Sets the masterData value for this PersonData. + * + * @param masterData + */ + public void setMasterData(PersonMasterData[] masterData) { + this.masterData = masterData; + } + + public PersonMasterData getMasterData(int i) { + return this.masterData[i]; + } + + public void setMasterData(int i, PersonMasterData _value) { + this.masterData[i] = _value; + } + + + /** + * Gets the mdType value for this PersonData. + * + * @return mdType + */ + public java.lang.String getMdType() { + return mdType; + } + + + /** + * Sets the mdType value for this PersonData. + * + * @param mdType + */ + public void setMdType(java.lang.String mdType) { + this.mdType = mdType; + } + + + /** + * Gets the msg value for this PersonData. + * + * @return msg + */ + public java.lang.String getMsg() { + return msg; + } + + + /** + * Sets the msg value for this PersonData. + * + * @param msg + */ + public void setMsg(java.lang.String msg) { + this.msg = msg; + } + + + /** + * Gets the systemCode value for this PersonData. + * + * @return systemCode + */ + public java.lang.String getSystemCode() { + return systemCode; + } + + + /** + * Sets the systemCode value for this PersonData. + * + * @param systemCode + */ + public void setSystemCode(java.lang.String systemCode) { + this.systemCode = systemCode; + } + + private java.lang.Object __equalsCalc = null; + public synchronized boolean equals(java.lang.Object obj) { + if (!(obj instanceof PersonData)) return false; + PersonData other = (PersonData) obj; + if (obj == null) return false; + if (this == obj) return true; + if (__equalsCalc != null) { + return (__equalsCalc == obj); + } + __equalsCalc = obj; + boolean _equals; + _equals = true && + ((this.action==null && other.getAction()==null) || + (this.action!=null && + this.action.equals(other.getAction()))) && + this.code == other.getCode() && + ((this.distributeToken==null && other.getDistributeToken()==null) || + (this.distributeToken!=null && + this.distributeToken.equals(other.getDistributeToken()))) && + ((this.masterData==null && other.getMasterData()==null) || + (this.masterData!=null && + java.util.Arrays.equals(this.masterData, other.getMasterData()))) && + ((this.mdType==null && other.getMdType()==null) || + (this.mdType!=null && + this.mdType.equals(other.getMdType()))) && + ((this.msg==null && other.getMsg()==null) || + (this.msg!=null && + this.msg.equals(other.getMsg()))) && + ((this.systemCode==null && other.getSystemCode()==null) || + (this.systemCode!=null && + this.systemCode.equals(other.getSystemCode()))); + __equalsCalc = null; + return _equals; + } + + private boolean __hashCodeCalc = false; + public synchronized int hashCode() { + if (__hashCodeCalc) { + return 0; + } + __hashCodeCalc = true; + int _hashCode = 1; + if (getAction() != null) { + _hashCode += getAction().hashCode(); + } + _hashCode += getCode(); + if (getDistributeToken() != null) { + _hashCode += getDistributeToken().hashCode(); + } + if (getMasterData() != null) { + for (int i=0; + i<java.lang.reflect.Array.getLength(getMasterData()); + i++) { + java.lang.Object obj = java.lang.reflect.Array.get(getMasterData(), i); + if (obj != null && + !obj.getClass().isArray()) { + _hashCode += obj.hashCode(); + } + } + } + if (getMdType() != null) { + _hashCode += getMdType().hashCode(); + } + if (getMsg() != null) { + _hashCode += getMsg().hashCode(); + } + if (getSystemCode() != null) { + _hashCode += getSystemCode().hashCode(); + } + __hashCodeCalc = false; + return _hashCode; + } + + // Type metadata + private static org.apache.axis.description.TypeDesc typeDesc = + new org.apache.axis.description.TypeDesc(PersonData.class, true); + + static { + typeDesc.setXmlType(new javax.xml.namespace.QName("http://code.ubcs.vci.com/", "personData")); + org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("action"); + elemField.setXmlName(new javax.xml.namespace.QName("", "action")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("code"); + elemField.setXmlName(new javax.xml.namespace.QName("", "code")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("distributeToken"); + elemField.setXmlName(new javax.xml.namespace.QName("", "distributeToken")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("masterData"); + elemField.setXmlName(new javax.xml.namespace.QName("", "masterData")); + elemField.setXmlType(new javax.xml.namespace.QName("http://code.ubcs.vci.com/", "personMasterData")); + elemField.setMinOccurs(0); + elemField.setNillable(true); + elemField.setMaxOccursUnbounded(true); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("mdType"); + elemField.setXmlName(new javax.xml.namespace.QName("", "mdType")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("msg"); + elemField.setXmlName(new javax.xml.namespace.QName("", "msg")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("systemCode"); + elemField.setXmlName(new javax.xml.namespace.QName("", "systemCode")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + } + + /** + * Return type metadata object + */ + public static org.apache.axis.description.TypeDesc getTypeDesc() { + return typeDesc; + } + + /** + * Get Custom Serializer + */ + public static org.apache.axis.encoding.Serializer getSerializer( + java.lang.String mechType, + java.lang.Class _javaType, + javax.xml.namespace.QName _xmlType) { + return + new org.apache.axis.encoding.ser.BeanSerializer( + _javaType, _xmlType, typeDesc); + } + + /** + * Get Custom Deserializer + */ + public static org.apache.axis.encoding.Deserializer getDeserializer( + java.lang.String mechType, + java.lang.Class _javaType, + javax.xml.namespace.QName _xmlType) { + return + new org.apache.axis.encoding.ser.BeanDeserializer( + _javaType, _xmlType, typeDesc); + } + +} diff --git a/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/entity/PersonMasterData.java b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/entity/PersonMasterData.java new file mode 100644 index 0000000..9dfcc84 --- /dev/null +++ b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/entity/PersonMasterData.java @@ -0,0 +1,2172 @@ +/** + * PersonMasterData.java + * + * This file was auto-generated from WSDL + * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. + */ + +package com.vci.ubcs.example.entity; + +public class PersonMasterData implements java.io.Serializable { + private java.lang.String admin_division; + + private java.lang.String admin_division_code; + + private java.lang.String birthday; + + private java.lang.String birthplace; + + private java.lang.String cittizenship; + + private java.lang.String country; + + private java.lang.String createtime; + + private java.lang.String creator; + + private java.lang.String deptName; + + private java.lang.String dept_type; + + private int dr; + + private java.lang.String dr_mdm_code; + + private java.lang.String education; + + private java.lang.String employer; + + private java.lang.String employer_code; + + private java.lang.String employment_form; + + private java.lang.String employment_type; + + private EnumerableData employment_type_entity; + + private java.lang.String employment_type_nane; + + private java.lang.String flow_middatastatus; + + private EnumerableData gender_entity; + + private java.lang.String gender_name; + + private java.lang.String gerder; + + private java.lang.String group_code; + + private java.lang.String id; + + private java.lang.String id_number; + + private java.lang.String id_type; + + private java.lang.String is_keyposion; + + private java.lang.String link_fieldvalue; + + private java.lang.String lm_code; + + private java.lang.String marital_status; + + private java.lang.String mdm_cleanstatus; + + private java.lang.String mdm_code; + + private int mdm_datastatus; + + private int mdm_duplicate; + + private java.lang.String mdm_parentcode; + + private int mdm_workflow; + + private java.lang.String mdm_yersion; + + private java.lang.String mobile_phone; + + private java.lang.String modifier; + + private java.lang.String modifytime; + + private java.lang.String name; + + private java.lang.String nationality; + + private java.lang.String office_telephone; + + private java.lang.String outer_email; + + private java.lang.String parent_dept_code; + + private java.lang.String parent_dept_name; + + private java.lang.String pk_mdm; + + private java.lang.String politiccountenance; + + private java.lang.String position; + + private java.lang.String ts; + + private java.lang.String work_title; + + private java.lang.String worker_category; + + private java.lang.String worker_duty; + + private java.lang.String worker_email; + + private java.lang.String worker_level; + + private java.lang.String worker_security_level; + + public PersonMasterData() { + } + + public PersonMasterData( + java.lang.String admin_division, + java.lang.String admin_division_code, + java.lang.String birthday, + java.lang.String birthplace, + java.lang.String cittizenship, + java.lang.String country, + java.lang.String createtime, + java.lang.String creator, + java.lang.String deptName, + java.lang.String dept_type, + int dr, + java.lang.String dr_mdm_code, + java.lang.String education, + java.lang.String employer, + java.lang.String employer_code, + java.lang.String employment_form, + java.lang.String employment_type, + EnumerableData employment_type_entity, + java.lang.String employment_type_nane, + java.lang.String flow_middatastatus, + EnumerableData gender_entity, + java.lang.String gender_name, + java.lang.String gerder, + java.lang.String group_code, + java.lang.String id, + java.lang.String id_number, + java.lang.String id_type, + java.lang.String is_keyposion, + java.lang.String link_fieldvalue, + java.lang.String lm_code, + java.lang.String marital_status, + java.lang.String mdm_cleanstatus, + java.lang.String mdm_code, + int mdm_datastatus, + int mdm_duplicate, + java.lang.String mdm_parentcode, + int mdm_workflow, + java.lang.String mdm_yersion, + java.lang.String mobile_phone, + java.lang.String modifier, + java.lang.String modifytime, + java.lang.String name, + java.lang.String nationality, + java.lang.String office_telephone, + java.lang.String outer_email, + java.lang.String parent_dept_code, + java.lang.String parent_dept_name, + java.lang.String pk_mdm, + java.lang.String politiccountenance, + java.lang.String position, + java.lang.String ts, + java.lang.String work_title, + java.lang.String worker_category, + java.lang.String worker_duty, + java.lang.String worker_email, + java.lang.String worker_level, + java.lang.String worker_security_level) { + this.admin_division = admin_division; + this.admin_division_code = admin_division_code; + this.birthday = birthday; + this.birthplace = birthplace; + this.cittizenship = cittizenship; + this.country = country; + this.createtime = createtime; + this.creator = creator; + this.deptName = deptName; + this.dept_type = dept_type; + this.dr = dr; + this.dr_mdm_code = dr_mdm_code; + this.education = education; + this.employer = employer; + this.employer_code = employer_code; + this.employment_form = employment_form; + this.employment_type = employment_type; + this.employment_type_entity = employment_type_entity; + this.employment_type_nane = employment_type_nane; + this.flow_middatastatus = flow_middatastatus; + this.gender_entity = gender_entity; + this.gender_name = gender_name; + this.gerder = gerder; + this.group_code = group_code; + this.id = id; + this.id_number = id_number; + this.id_type = id_type; + this.is_keyposion = is_keyposion; + this.link_fieldvalue = link_fieldvalue; + this.lm_code = lm_code; + this.marital_status = marital_status; + this.mdm_cleanstatus = mdm_cleanstatus; + this.mdm_code = mdm_code; + this.mdm_datastatus = mdm_datastatus; + this.mdm_duplicate = mdm_duplicate; + this.mdm_parentcode = mdm_parentcode; + this.mdm_workflow = mdm_workflow; + this.mdm_yersion = mdm_yersion; + this.mobile_phone = mobile_phone; + this.modifier = modifier; + this.modifytime = modifytime; + this.name = name; + this.nationality = nationality; + this.office_telephone = office_telephone; + this.outer_email = outer_email; + this.parent_dept_code = parent_dept_code; + this.parent_dept_name = parent_dept_name; + this.pk_mdm = pk_mdm; + this.politiccountenance = politiccountenance; + this.position = position; + this.ts = ts; + this.work_title = work_title; + this.worker_category = worker_category; + this.worker_duty = worker_duty; + this.worker_email = worker_email; + this.worker_level = worker_level; + this.worker_security_level = worker_security_level; + } + + + /** + * Gets the admin_division value for this PersonMasterData. + * + * @return admin_division + */ + public java.lang.String getAdmin_division() { + return admin_division; + } + + + /** + * Sets the admin_division value for this PersonMasterData. + * + * @param admin_division + */ + public void setAdmin_division(java.lang.String admin_division) { + this.admin_division = admin_division; + } + + + /** + * Gets the admin_division_code value for this PersonMasterData. + * + * @return admin_division_code + */ + public java.lang.String getAdmin_division_code() { + return admin_division_code; + } + + + /** + * Sets the admin_division_code value for this PersonMasterData. + * + * @param admin_division_code + */ + public void setAdmin_division_code(java.lang.String admin_division_code) { + this.admin_division_code = admin_division_code; + } + + + /** + * Gets the birthday value for this PersonMasterData. + * + * @return birthday + */ + public java.lang.String getBirthday() { + return birthday; + } + + + /** + * Sets the birthday value for this PersonMasterData. + * + * @param birthday + */ + public void setBirthday(java.lang.String birthday) { + this.birthday = birthday; + } + + + /** + * Gets the birthplace value for this PersonMasterData. + * + * @return birthplace + */ + public java.lang.String getBirthplace() { + return birthplace; + } + + + /** + * Sets the birthplace value for this PersonMasterData. + * + * @param birthplace + */ + public void setBirthplace(java.lang.String birthplace) { + this.birthplace = birthplace; + } + + + /** + * Gets the cittizenship value for this PersonMasterData. + * + * @return cittizenship + */ + public java.lang.String getCittizenship() { + return cittizenship; + } + + + /** + * Sets the cittizenship value for this PersonMasterData. + * + * @param cittizenship + */ + public void setCittizenship(java.lang.String cittizenship) { + this.cittizenship = cittizenship; + } + + + /** + * Gets the country value for this PersonMasterData. + * + * @return country + */ + public java.lang.String getCountry() { + return country; + } + + + /** + * Sets the country value for this PersonMasterData. + * + * @param country + */ + public void setCountry(java.lang.String country) { + this.country = country; + } + + + /** + * Gets the createtime value for this PersonMasterData. + * + * @return createtime + */ + public java.lang.String getCreatetime() { + return createtime; + } + + + /** + * Sets the createtime value for this PersonMasterData. + * + * @param createtime + */ + public void setCreatetime(java.lang.String createtime) { + this.createtime = createtime; + } + + + /** + * Gets the creator value for this PersonMasterData. + * + * @return creator + */ + public java.lang.String getCreator() { + return creator; + } + + + /** + * Sets the creator value for this PersonMasterData. + * + * @param creator + */ + public void setCreator(java.lang.String creator) { + this.creator = creator; + } + + + /** + * Gets the deptName value for this PersonMasterData. + * + * @return deptName + */ + public java.lang.String getDeptName() { + return deptName; + } + + + /** + * Sets the deptName value for this PersonMasterData. + * + * @param deptName + */ + public void setDeptName(java.lang.String deptName) { + this.deptName = deptName; + } + + + /** + * Gets the dept_type value for this PersonMasterData. + * + * @return dept_type + */ + public java.lang.String getDept_type() { + return dept_type; + } + + + /** + * Sets the dept_type value for this PersonMasterData. + * + * @param dept_type + */ + public void setDept_type(java.lang.String dept_type) { + this.dept_type = dept_type; + } + + + /** + * Gets the dr value for this PersonMasterData. + * + * @return dr + */ + public int getDr() { + return dr; + } + + + /** + * Sets the dr value for this PersonMasterData. + * + * @param dr + */ + public void setDr(int dr) { + this.dr = dr; + } + + + /** + * Gets the dr_mdm_code value for this PersonMasterData. + * + * @return dr_mdm_code + */ + public java.lang.String getDr_mdm_code() { + return dr_mdm_code; + } + + + /** + * Sets the dr_mdm_code value for this PersonMasterData. + * + * @param dr_mdm_code + */ + public void setDr_mdm_code(java.lang.String dr_mdm_code) { + this.dr_mdm_code = dr_mdm_code; + } + + + /** + * Gets the education value for this PersonMasterData. + * + * @return education + */ + public java.lang.String getEducation() { + return education; + } + + + /** + * Sets the education value for this PersonMasterData. + * + * @param education + */ + public void setEducation(java.lang.String education) { + this.education = education; + } + + + /** + * Gets the employer value for this PersonMasterData. + * + * @return employer + */ + public java.lang.String getEmployer() { + return employer; + } + + + /** + * Sets the employer value for this PersonMasterData. + * + * @param employer + */ + public void setEmployer(java.lang.String employer) { + this.employer = employer; + } + + + /** + * Gets the employer_code value for this PersonMasterData. + * + * @return employer_code + */ + public java.lang.String getEmployer_code() { + return employer_code; + } + + + /** + * Sets the employer_code value for this PersonMasterData. + * + * @param employer_code + */ + public void setEmployer_code(java.lang.String employer_code) { + this.employer_code = employer_code; + } + + + /** + * Gets the employment_form value for this PersonMasterData. + * + * @return employment_form + */ + public java.lang.String getEmployment_form() { + return employment_form; + } + + + /** + * Sets the employment_form value for this PersonMasterData. + * + * @param employment_form + */ + public void setEmployment_form(java.lang.String employment_form) { + this.employment_form = employment_form; + } + + + /** + * Gets the employment_type value for this PersonMasterData. + * + * @return employment_type + */ + public java.lang.String getEmployment_type() { + return employment_type; + } + + + /** + * Sets the employment_type value for this PersonMasterData. + * + * @param employment_type + */ + public void setEmployment_type(java.lang.String employment_type) { + this.employment_type = employment_type; + } + + + /** + * Gets the employment_type_entity value for this PersonMasterData. + * + * @return employment_type_entity + */ + public EnumerableData getEmployment_type_entity() { + return employment_type_entity; + } + + + /** + * Sets the employment_type_entity value for this PersonMasterData. + * + * @param employment_type_entity + */ + public void setEmployment_type_entity(EnumerableData employment_type_entity) { + this.employment_type_entity = employment_type_entity; + } + + + /** + * Gets the employment_type_nane value for this PersonMasterData. + * + * @return employment_type_nane + */ + public java.lang.String getEmployment_type_nane() { + return employment_type_nane; + } + + + /** + * Sets the employment_type_nane value for this PersonMasterData. + * + * @param employment_type_nane + */ + public void setEmployment_type_nane(java.lang.String employment_type_nane) { + this.employment_type_nane = employment_type_nane; + } + + + /** + * Gets the flow_middatastatus value for this PersonMasterData. + * + * @return flow_middatastatus + */ + public java.lang.String getFlow_middatastatus() { + return flow_middatastatus; + } + + + /** + * Sets the flow_middatastatus value for this PersonMasterData. + * + * @param flow_middatastatus + */ + public void setFlow_middatastatus(java.lang.String flow_middatastatus) { + this.flow_middatastatus = flow_middatastatus; + } + + + /** + * Gets the gender_entity value for this PersonMasterData. + * + * @return gender_entity + */ + public EnumerableData getGender_entity() { + return gender_entity; + } + + + /** + * Sets the gender_entity value for this PersonMasterData. + * + * @param gender_entity + */ + public void setGender_entity(EnumerableData gender_entity) { + this.gender_entity = gender_entity; + } + + + /** + * Gets the gender_name value for this PersonMasterData. + * + * @return gender_name + */ + public java.lang.String getGender_name() { + return gender_name; + } + + + /** + * Sets the gender_name value for this PersonMasterData. + * + * @param gender_name + */ + public void setGender_name(java.lang.String gender_name) { + this.gender_name = gender_name; + } + + + /** + * Gets the gerder value for this PersonMasterData. + * + * @return gerder + */ + public java.lang.String getGerder() { + return gerder; + } + + + /** + * Sets the gerder value for this PersonMasterData. + * + * @param gerder + */ + public void setGerder(java.lang.String gerder) { + this.gerder = gerder; + } + + + /** + * Gets the group_code value for this PersonMasterData. + * + * @return group_code + */ + public java.lang.String getGroup_code() { + return group_code; + } + + + /** + * Sets the group_code value for this PersonMasterData. + * + * @param group_code + */ + public void setGroup_code(java.lang.String group_code) { + this.group_code = group_code; + } + + + /** + * Gets the id value for this PersonMasterData. + * + * @return id + */ + public java.lang.String getId() { + return id; + } + + + /** + * Sets the id value for this PersonMasterData. + * + * @param id + */ + public void setId(java.lang.String id) { + this.id = id; + } + + + /** + * Gets the id_number value for this PersonMasterData. + * + * @return id_number + */ + public java.lang.String getId_number() { + return id_number; + } + + + /** + * Sets the id_number value for this PersonMasterData. + * + * @param id_number + */ + public void setId_number(java.lang.String id_number) { + this.id_number = id_number; + } + + + /** + * Gets the id_type value for this PersonMasterData. + * + * @return id_type + */ + public java.lang.String getId_type() { + return id_type; + } + + + /** + * Sets the id_type value for this PersonMasterData. + * + * @param id_type + */ + public void setId_type(java.lang.String id_type) { + this.id_type = id_type; + } + + + /** + * Gets the is_keyposion value for this PersonMasterData. + * + * @return is_keyposion + */ + public java.lang.String getIs_keyposion() { + return is_keyposion; + } + + + /** + * Sets the is_keyposion value for this PersonMasterData. + * + * @param is_keyposion + */ + public void setIs_keyposion(java.lang.String is_keyposion) { + this.is_keyposion = is_keyposion; + } + + + /** + * Gets the link_fieldvalue value for this PersonMasterData. + * + * @return link_fieldvalue + */ + public java.lang.String getLink_fieldvalue() { + return link_fieldvalue; + } + + + /** + * Sets the link_fieldvalue value for this PersonMasterData. + * + * @param link_fieldvalue + */ + public void setLink_fieldvalue(java.lang.String link_fieldvalue) { + this.link_fieldvalue = link_fieldvalue; + } + + + /** + * Gets the lm_code value for this PersonMasterData. + * + * @return lm_code + */ + public java.lang.String getLm_code() { + return lm_code; + } + + + /** + * Sets the lm_code value for this PersonMasterData. + * + * @param lm_code + */ + public void setLm_code(java.lang.String lm_code) { + this.lm_code = lm_code; + } + + + /** + * Gets the marital_status value for this PersonMasterData. + * + * @return marital_status + */ + public java.lang.String getMarital_status() { + return marital_status; + } + + + /** + * Sets the marital_status value for this PersonMasterData. + * + * @param marital_status + */ + public void setMarital_status(java.lang.String marital_status) { + this.marital_status = marital_status; + } + + + /** + * Gets the mdm_cleanstatus value for this PersonMasterData. + * + * @return mdm_cleanstatus + */ + public java.lang.String getMdm_cleanstatus() { + return mdm_cleanstatus; + } + + + /** + * Sets the mdm_cleanstatus value for this PersonMasterData. + * + * @param mdm_cleanstatus + */ + public void setMdm_cleanstatus(java.lang.String mdm_cleanstatus) { + this.mdm_cleanstatus = mdm_cleanstatus; + } + + + /** + * Gets the mdm_code value for this PersonMasterData. + * + * @return mdm_code + */ + public java.lang.String getMdm_code() { + return mdm_code; + } + + + /** + * Sets the mdm_code value for this PersonMasterData. + * + * @param mdm_code + */ + public void setMdm_code(java.lang.String mdm_code) { + this.mdm_code = mdm_code; + } + + + /** + * Gets the mdm_datastatus value for this PersonMasterData. + * + * @return mdm_datastatus + */ + public int getMdm_datastatus() { + return mdm_datastatus; + } + + + /** + * Sets the mdm_datastatus value for this PersonMasterData. + * + * @param mdm_datastatus + */ + public void setMdm_datastatus(int mdm_datastatus) { + this.mdm_datastatus = mdm_datastatus; + } + + + /** + * Gets the mdm_duplicate value for this PersonMasterData. + * + * @return mdm_duplicate + */ + public int getMdm_duplicate() { + return mdm_duplicate; + } + + + /** + * Sets the mdm_duplicate value for this PersonMasterData. + * + * @param mdm_duplicate + */ + public void setMdm_duplicate(int mdm_duplicate) { + this.mdm_duplicate = mdm_duplicate; + } + + + /** + * Gets the mdm_parentcode value for this PersonMasterData. + * + * @return mdm_parentcode + */ + public java.lang.String getMdm_parentcode() { + return mdm_parentcode; + } + + + /** + * Sets the mdm_parentcode value for this PersonMasterData. + * + * @param mdm_parentcode + */ + public void setMdm_parentcode(java.lang.String mdm_parentcode) { + this.mdm_parentcode = mdm_parentcode; + } + + + /** + * Gets the mdm_workflow value for this PersonMasterData. + * + * @return mdm_workflow + */ + public int getMdm_workflow() { + return mdm_workflow; + } + + + /** + * Sets the mdm_workflow value for this PersonMasterData. + * + * @param mdm_workflow + */ + public void setMdm_workflow(int mdm_workflow) { + this.mdm_workflow = mdm_workflow; + } + + + /** + * Gets the mdm_yersion value for this PersonMasterData. + * + * @return mdm_yersion + */ + public java.lang.String getMdm_yersion() { + return mdm_yersion; + } + + + /** + * Sets the mdm_yersion value for this PersonMasterData. + * + * @param mdm_yersion + */ + public void setMdm_yersion(java.lang.String mdm_yersion) { + this.mdm_yersion = mdm_yersion; + } + + + /** + * Gets the mobile_phone value for this PersonMasterData. + * + * @return mobile_phone + */ + public java.lang.String getMobile_phone() { + return mobile_phone; + } + + + /** + * Sets the mobile_phone value for this PersonMasterData. + * + * @param mobile_phone + */ + public void setMobile_phone(java.lang.String mobile_phone) { + this.mobile_phone = mobile_phone; + } + + + /** + * Gets the modifier value for this PersonMasterData. + * + * @return modifier + */ + public java.lang.String getModifier() { + return modifier; + } + + + /** + * Sets the modifier value for this PersonMasterData. + * + * @param modifier + */ + public void setModifier(java.lang.String modifier) { + this.modifier = modifier; + } + + + /** + * Gets the modifytime value for this PersonMasterData. + * + * @return modifytime + */ + public java.lang.String getModifytime() { + return modifytime; + } + + + /** + * Sets the modifytime value for this PersonMasterData. + * + * @param modifytime + */ + public void setModifytime(java.lang.String modifytime) { + this.modifytime = modifytime; + } + + + /** + * Gets the name value for this PersonMasterData. + * + * @return name + */ + public java.lang.String getName() { + return name; + } + + + /** + * Sets the name value for this PersonMasterData. + * + * @param name + */ + public void setName(java.lang.String name) { + this.name = name; + } + + + /** + * Gets the nationality value for this PersonMasterData. + * + * @return nationality + */ + public java.lang.String getNationality() { + return nationality; + } + + + /** + * Sets the nationality value for this PersonMasterData. + * + * @param nationality + */ + public void setNationality(java.lang.String nationality) { + this.nationality = nationality; + } + + + /** + * Gets the office_telephone value for this PersonMasterData. + * + * @return office_telephone + */ + public java.lang.String getOffice_telephone() { + return office_telephone; + } + + + /** + * Sets the office_telephone value for this PersonMasterData. + * + * @param office_telephone + */ + public void setOffice_telephone(java.lang.String office_telephone) { + this.office_telephone = office_telephone; + } + + + /** + * Gets the outer_email value for this PersonMasterData. + * + * @return outer_email + */ + public java.lang.String getOuter_email() { + return outer_email; + } + + + /** + * Sets the outer_email value for this PersonMasterData. + * + * @param outer_email + */ + public void setOuter_email(java.lang.String outer_email) { + this.outer_email = outer_email; + } + + + /** + * Gets the parent_dept_code value for this PersonMasterData. + * + * @return parent_dept_code + */ + public java.lang.String getParent_dept_code() { + return parent_dept_code; + } + + + /** + * Sets the parent_dept_code value for this PersonMasterData. + * + * @param parent_dept_code + */ + public void setParent_dept_code(java.lang.String parent_dept_code) { + this.parent_dept_code = parent_dept_code; + } + + + /** + * Gets the parent_dept_name value for this PersonMasterData. + * + * @return parent_dept_name + */ + public java.lang.String getParent_dept_name() { + return parent_dept_name; + } + + + /** + * Sets the parent_dept_name value for this PersonMasterData. + * + * @param parent_dept_name + */ + public void setParent_dept_name(java.lang.String parent_dept_name) { + this.parent_dept_name = parent_dept_name; + } + + + /** + * Gets the pk_mdm value for this PersonMasterData. + * + * @return pk_mdm + */ + public java.lang.String getPk_mdm() { + return pk_mdm; + } + + + /** + * Sets the pk_mdm value for this PersonMasterData. + * + * @param pk_mdm + */ + public void setPk_mdm(java.lang.String pk_mdm) { + this.pk_mdm = pk_mdm; + } + + + /** + * Gets the politiccountenance value for this PersonMasterData. + * + * @return politiccountenance + */ + public java.lang.String getPoliticcountenance() { + return politiccountenance; + } + + + /** + * Sets the politiccountenance value for this PersonMasterData. + * + * @param politiccountenance + */ + public void setPoliticcountenance(java.lang.String politiccountenance) { + this.politiccountenance = politiccountenance; + } + + + /** + * Gets the position value for this PersonMasterData. + * + * @return position + */ + public java.lang.String getPosition() { + return position; + } + + + /** + * Sets the position value for this PersonMasterData. + * + * @param position + */ + public void setPosition(java.lang.String position) { + this.position = position; + } + + + /** + * Gets the ts value for this PersonMasterData. + * + * @return ts + */ + public java.lang.String getTs() { + return ts; + } + + + /** + * Sets the ts value for this PersonMasterData. + * + * @param ts + */ + public void setTs(java.lang.String ts) { + this.ts = ts; + } + + + /** + * Gets the work_title value for this PersonMasterData. + * + * @return work_title + */ + public java.lang.String getWork_title() { + return work_title; + } + + + /** + * Sets the work_title value for this PersonMasterData. + * + * @param work_title + */ + public void setWork_title(java.lang.String work_title) { + this.work_title = work_title; + } + + + /** + * Gets the worker_category value for this PersonMasterData. + * + * @return worker_category + */ + public java.lang.String getWorker_category() { + return worker_category; + } + + + /** + * Sets the worker_category value for this PersonMasterData. + * + * @param worker_category + */ + public void setWorker_category(java.lang.String worker_category) { + this.worker_category = worker_category; + } + + + /** + * Gets the worker_duty value for this PersonMasterData. + * + * @return worker_duty + */ + public java.lang.String getWorker_duty() { + return worker_duty; + } + + + /** + * Sets the worker_duty value for this PersonMasterData. + * + * @param worker_duty + */ + public void setWorker_duty(java.lang.String worker_duty) { + this.worker_duty = worker_duty; + } + + + /** + * Gets the worker_email value for this PersonMasterData. + * + * @return worker_email + */ + public java.lang.String getWorker_email() { + return worker_email; + } + + + /** + * Sets the worker_email value for this PersonMasterData. + * + * @param worker_email + */ + public void setWorker_email(java.lang.String worker_email) { + this.worker_email = worker_email; + } + + + /** + * Gets the worker_level value for this PersonMasterData. + * + * @return worker_level + */ + public java.lang.String getWorker_level() { + return worker_level; + } + + + /** + * Sets the worker_level value for this PersonMasterData. + * + * @param worker_level + */ + public void setWorker_level(java.lang.String worker_level) { + this.worker_level = worker_level; + } + + + /** + * Gets the worker_security_level value for this PersonMasterData. + * + * @return worker_security_level + */ + public java.lang.String getWorker_security_level() { + return worker_security_level; + } + + + /** + * Sets the worker_security_level value for this PersonMasterData. + * + * @param worker_security_level + */ + public void setWorker_security_level(java.lang.String worker_security_level) { + this.worker_security_level = worker_security_level; + } + + private java.lang.Object __equalsCalc = null; + public synchronized boolean equals(java.lang.Object obj) { + if (!(obj instanceof PersonMasterData)) return false; + PersonMasterData other = (PersonMasterData) obj; + if (obj == null) return false; + if (this == obj) return true; + if (__equalsCalc != null) { + return (__equalsCalc == obj); + } + __equalsCalc = obj; + boolean _equals; + _equals = true && + ((this.admin_division==null && other.getAdmin_division()==null) || + (this.admin_division!=null && + this.admin_division.equals(other.getAdmin_division()))) && + ((this.admin_division_code==null && other.getAdmin_division_code()==null) || + (this.admin_division_code!=null && + this.admin_division_code.equals(other.getAdmin_division_code()))) && + ((this.birthday==null && other.getBirthday()==null) || + (this.birthday!=null && + this.birthday.equals(other.getBirthday()))) && + ((this.birthplace==null && other.getBirthplace()==null) || + (this.birthplace!=null && + this.birthplace.equals(other.getBirthplace()))) && + ((this.cittizenship==null && other.getCittizenship()==null) || + (this.cittizenship!=null && + this.cittizenship.equals(other.getCittizenship()))) && + ((this.country==null && other.getCountry()==null) || + (this.country!=null && + this.country.equals(other.getCountry()))) && + ((this.createtime==null && other.getCreatetime()==null) || + (this.createtime!=null && + this.createtime.equals(other.getCreatetime()))) && + ((this.creator==null && other.getCreator()==null) || + (this.creator!=null && + this.creator.equals(other.getCreator()))) && + ((this.deptName==null && other.getDeptName()==null) || + (this.deptName!=null && + this.deptName.equals(other.getDeptName()))) && + ((this.dept_type==null && other.getDept_type()==null) || + (this.dept_type!=null && + this.dept_type.equals(other.getDept_type()))) && + this.dr == other.getDr() && + ((this.dr_mdm_code==null && other.getDr_mdm_code()==null) || + (this.dr_mdm_code!=null && + this.dr_mdm_code.equals(other.getDr_mdm_code()))) && + ((this.education==null && other.getEducation()==null) || + (this.education!=null && + this.education.equals(other.getEducation()))) && + ((this.employer==null && other.getEmployer()==null) || + (this.employer!=null && + this.employer.equals(other.getEmployer()))) && + ((this.employer_code==null && other.getEmployer_code()==null) || + (this.employer_code!=null && + this.employer_code.equals(other.getEmployer_code()))) && + ((this.employment_form==null && other.getEmployment_form()==null) || + (this.employment_form!=null && + this.employment_form.equals(other.getEmployment_form()))) && + ((this.employment_type==null && other.getEmployment_type()==null) || + (this.employment_type!=null && + this.employment_type.equals(other.getEmployment_type()))) && + ((this.employment_type_entity==null && other.getEmployment_type_entity()==null) || + (this.employment_type_entity!=null && + this.employment_type_entity.equals(other.getEmployment_type_entity()))) && + ((this.employment_type_nane==null && other.getEmployment_type_nane()==null) || + (this.employment_type_nane!=null && + this.employment_type_nane.equals(other.getEmployment_type_nane()))) && + ((this.flow_middatastatus==null && other.getFlow_middatastatus()==null) || + (this.flow_middatastatus!=null && + this.flow_middatastatus.equals(other.getFlow_middatastatus()))) && + ((this.gender_entity==null && other.getGender_entity()==null) || + (this.gender_entity!=null && + this.gender_entity.equals(other.getGender_entity()))) && + ((this.gender_name==null && other.getGender_name()==null) || + (this.gender_name!=null && + this.gender_name.equals(other.getGender_name()))) && + ((this.gerder==null && other.getGerder()==null) || + (this.gerder!=null && + this.gerder.equals(other.getGerder()))) && + ((this.group_code==null && other.getGroup_code()==null) || + (this.group_code!=null && + this.group_code.equals(other.getGroup_code()))) && + ((this.id==null && other.getId()==null) || + (this.id!=null && + this.id.equals(other.getId()))) && + ((this.id_number==null && other.getId_number()==null) || + (this.id_number!=null && + this.id_number.equals(other.getId_number()))) && + ((this.id_type==null && other.getId_type()==null) || + (this.id_type!=null && + this.id_type.equals(other.getId_type()))) && + ((this.is_keyposion==null && other.getIs_keyposion()==null) || + (this.is_keyposion!=null && + this.is_keyposion.equals(other.getIs_keyposion()))) && + ((this.link_fieldvalue==null && other.getLink_fieldvalue()==null) || + (this.link_fieldvalue!=null && + this.link_fieldvalue.equals(other.getLink_fieldvalue()))) && + ((this.lm_code==null && other.getLm_code()==null) || + (this.lm_code!=null && + this.lm_code.equals(other.getLm_code()))) && + ((this.marital_status==null && other.getMarital_status()==null) || + (this.marital_status!=null && + this.marital_status.equals(other.getMarital_status()))) && + ((this.mdm_cleanstatus==null && other.getMdm_cleanstatus()==null) || + (this.mdm_cleanstatus!=null && + this.mdm_cleanstatus.equals(other.getMdm_cleanstatus()))) && + ((this.mdm_code==null && other.getMdm_code()==null) || + (this.mdm_code!=null && + this.mdm_code.equals(other.getMdm_code()))) && + this.mdm_datastatus == other.getMdm_datastatus() && + this.mdm_duplicate == other.getMdm_duplicate() && + ((this.mdm_parentcode==null && other.getMdm_parentcode()==null) || + (this.mdm_parentcode!=null && + this.mdm_parentcode.equals(other.getMdm_parentcode()))) && + this.mdm_workflow == other.getMdm_workflow() && + ((this.mdm_yersion==null && other.getMdm_yersion()==null) || + (this.mdm_yersion!=null && + this.mdm_yersion.equals(other.getMdm_yersion()))) && + ((this.mobile_phone==null && other.getMobile_phone()==null) || + (this.mobile_phone!=null && + this.mobile_phone.equals(other.getMobile_phone()))) && + ((this.modifier==null && other.getModifier()==null) || + (this.modifier!=null && + this.modifier.equals(other.getModifier()))) && + ((this.modifytime==null && other.getModifytime()==null) || + (this.modifytime!=null && + this.modifytime.equals(other.getModifytime()))) && + ((this.name==null && other.getName()==null) || + (this.name!=null && + this.name.equals(other.getName()))) && + ((this.nationality==null && other.getNationality()==null) || + (this.nationality!=null && + this.nationality.equals(other.getNationality()))) && + ((this.office_telephone==null && other.getOffice_telephone()==null) || + (this.office_telephone!=null && + this.office_telephone.equals(other.getOffice_telephone()))) && + ((this.outer_email==null && other.getOuter_email()==null) || + (this.outer_email!=null && + this.outer_email.equals(other.getOuter_email()))) && + ((this.parent_dept_code==null && other.getParent_dept_code()==null) || + (this.parent_dept_code!=null && + this.parent_dept_code.equals(other.getParent_dept_code()))) && + ((this.parent_dept_name==null && other.getParent_dept_name()==null) || + (this.parent_dept_name!=null && + this.parent_dept_name.equals(other.getParent_dept_name()))) && + ((this.pk_mdm==null && other.getPk_mdm()==null) || + (this.pk_mdm!=null && + this.pk_mdm.equals(other.getPk_mdm()))) && + ((this.politiccountenance==null && other.getPoliticcountenance()==null) || + (this.politiccountenance!=null && + this.politiccountenance.equals(other.getPoliticcountenance()))) && + ((this.position==null && other.getPosition()==null) || + (this.position!=null && + this.position.equals(other.getPosition()))) && + ((this.ts==null && other.getTs()==null) || + (this.ts!=null && + this.ts.equals(other.getTs()))) && + ((this.work_title==null && other.getWork_title()==null) || + (this.work_title!=null && + this.work_title.equals(other.getWork_title()))) && + ((this.worker_category==null && other.getWorker_category()==null) || + (this.worker_category!=null && + this.worker_category.equals(other.getWorker_category()))) && + ((this.worker_duty==null && other.getWorker_duty()==null) || + (this.worker_duty!=null && + this.worker_duty.equals(other.getWorker_duty()))) && + ((this.worker_email==null && other.getWorker_email()==null) || + (this.worker_email!=null && + this.worker_email.equals(other.getWorker_email()))) && + ((this.worker_level==null && other.getWorker_level()==null) || + (this.worker_level!=null && + this.worker_level.equals(other.getWorker_level()))) && + ((this.worker_security_level==null && other.getWorker_security_level()==null) || + (this.worker_security_level!=null && + this.worker_security_level.equals(other.getWorker_security_level()))); + __equalsCalc = null; + return _equals; + } + + private boolean __hashCodeCalc = false; + public synchronized int hashCode() { + if (__hashCodeCalc) { + return 0; + } + __hashCodeCalc = true; + int _hashCode = 1; + if (getAdmin_division() != null) { + _hashCode += getAdmin_division().hashCode(); + } + if (getAdmin_division_code() != null) { + _hashCode += getAdmin_division_code().hashCode(); + } + if (getBirthday() != null) { + _hashCode += getBirthday().hashCode(); + } + if (getBirthplace() != null) { + _hashCode += getBirthplace().hashCode(); + } + if (getCittizenship() != null) { + _hashCode += getCittizenship().hashCode(); + } + if (getCountry() != null) { + _hashCode += getCountry().hashCode(); + } + if (getCreatetime() != null) { + _hashCode += getCreatetime().hashCode(); + } + if (getCreator() != null) { + _hashCode += getCreator().hashCode(); + } + if (getDeptName() != null) { + _hashCode += getDeptName().hashCode(); + } + if (getDept_type() != null) { + _hashCode += getDept_type().hashCode(); + } + _hashCode += getDr(); + if (getDr_mdm_code() != null) { + _hashCode += getDr_mdm_code().hashCode(); + } + if (getEducation() != null) { + _hashCode += getEducation().hashCode(); + } + if (getEmployer() != null) { + _hashCode += getEmployer().hashCode(); + } + if (getEmployer_code() != null) { + _hashCode += getEmployer_code().hashCode(); + } + if (getEmployment_form() != null) { + _hashCode += getEmployment_form().hashCode(); + } + if (getEmployment_type() != null) { + _hashCode += getEmployment_type().hashCode(); + } + if (getEmployment_type_entity() != null) { + _hashCode += getEmployment_type_entity().hashCode(); + } + if (getEmployment_type_nane() != null) { + _hashCode += getEmployment_type_nane().hashCode(); + } + if (getFlow_middatastatus() != null) { + _hashCode += getFlow_middatastatus().hashCode(); + } + if (getGender_entity() != null) { + _hashCode += getGender_entity().hashCode(); + } + if (getGender_name() != null) { + _hashCode += getGender_name().hashCode(); + } + if (getGerder() != null) { + _hashCode += getGerder().hashCode(); + } + if (getGroup_code() != null) { + _hashCode += getGroup_code().hashCode(); + } + if (getId() != null) { + _hashCode += getId().hashCode(); + } + if (getId_number() != null) { + _hashCode += getId_number().hashCode(); + } + if (getId_type() != null) { + _hashCode += getId_type().hashCode(); + } + if (getIs_keyposion() != null) { + _hashCode += getIs_keyposion().hashCode(); + } + if (getLink_fieldvalue() != null) { + _hashCode += getLink_fieldvalue().hashCode(); + } + if (getLm_code() != null) { + _hashCode += getLm_code().hashCode(); + } + if (getMarital_status() != null) { + _hashCode += getMarital_status().hashCode(); + } + if (getMdm_cleanstatus() != null) { + _hashCode += getMdm_cleanstatus().hashCode(); + } + if (getMdm_code() != null) { + _hashCode += getMdm_code().hashCode(); + } + _hashCode += getMdm_datastatus(); + _hashCode += getMdm_duplicate(); + if (getMdm_parentcode() != null) { + _hashCode += getMdm_parentcode().hashCode(); + } + _hashCode += getMdm_workflow(); + if (getMdm_yersion() != null) { + _hashCode += getMdm_yersion().hashCode(); + } + if (getMobile_phone() != null) { + _hashCode += getMobile_phone().hashCode(); + } + if (getModifier() != null) { + _hashCode += getModifier().hashCode(); + } + if (getModifytime() != null) { + _hashCode += getModifytime().hashCode(); + } + if (getName() != null) { + _hashCode += getName().hashCode(); + } + if (getNationality() != null) { + _hashCode += getNationality().hashCode(); + } + if (getOffice_telephone() != null) { + _hashCode += getOffice_telephone().hashCode(); + } + if (getOuter_email() != null) { + _hashCode += getOuter_email().hashCode(); + } + if (getParent_dept_code() != null) { + _hashCode += getParent_dept_code().hashCode(); + } + if (getParent_dept_name() != null) { + _hashCode += getParent_dept_name().hashCode(); + } + if (getPk_mdm() != null) { + _hashCode += getPk_mdm().hashCode(); + } + if (getPoliticcountenance() != null) { + _hashCode += getPoliticcountenance().hashCode(); + } + if (getPosition() != null) { + _hashCode += getPosition().hashCode(); + } + if (getTs() != null) { + _hashCode += getTs().hashCode(); + } + if (getWork_title() != null) { + _hashCode += getWork_title().hashCode(); + } + if (getWorker_category() != null) { + _hashCode += getWorker_category().hashCode(); + } + if (getWorker_duty() != null) { + _hashCode += getWorker_duty().hashCode(); + } + if (getWorker_email() != null) { + _hashCode += getWorker_email().hashCode(); + } + if (getWorker_level() != null) { + _hashCode += getWorker_level().hashCode(); + } + if (getWorker_security_level() != null) { + _hashCode += getWorker_security_level().hashCode(); + } + __hashCodeCalc = false; + return _hashCode; + } + + // Type metadata + private static org.apache.axis.description.TypeDesc typeDesc = + new org.apache.axis.description.TypeDesc(PersonMasterData.class, true); + + static { + typeDesc.setXmlType(new javax.xml.namespace.QName("http://code.ubcs.vci.com/", "personMasterData")); + org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("admin_division"); + elemField.setXmlName(new javax.xml.namespace.QName("", "admin_division")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("admin_division_code"); + elemField.setXmlName(new javax.xml.namespace.QName("", "admin_division_code")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("birthday"); + elemField.setXmlName(new javax.xml.namespace.QName("", "birthday")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("birthplace"); + elemField.setXmlName(new javax.xml.namespace.QName("", "birthplace")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("cittizenship"); + elemField.setXmlName(new javax.xml.namespace.QName("", "cittizenship")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("country"); + elemField.setXmlName(new javax.xml.namespace.QName("", "country")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("createtime"); + elemField.setXmlName(new javax.xml.namespace.QName("", "createtime")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("creator"); + elemField.setXmlName(new javax.xml.namespace.QName("", "creator")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("deptName"); + elemField.setXmlName(new javax.xml.namespace.QName("", "deptName")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("dept_type"); + elemField.setXmlName(new javax.xml.namespace.QName("", "dept_type")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("dr"); + elemField.setXmlName(new javax.xml.namespace.QName("", "dr")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("dr_mdm_code"); + elemField.setXmlName(new javax.xml.namespace.QName("", "dr_mdm_code")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("education"); + elemField.setXmlName(new javax.xml.namespace.QName("", "education")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("employer"); + elemField.setXmlName(new javax.xml.namespace.QName("", "employer")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("employer_code"); + elemField.setXmlName(new javax.xml.namespace.QName("", "employer_code")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("employment_form"); + elemField.setXmlName(new javax.xml.namespace.QName("", "employment_form")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("employment_type"); + elemField.setXmlName(new javax.xml.namespace.QName("", "employment_type")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("employment_type_entity"); + elemField.setXmlName(new javax.xml.namespace.QName("", "employment_type_entity")); + elemField.setXmlType(new javax.xml.namespace.QName("http://code.ubcs.vci.com/", "enumerableData")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("employment_type_nane"); + elemField.setXmlName(new javax.xml.namespace.QName("", "employment_type_nane")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("flow_middatastatus"); + elemField.setXmlName(new javax.xml.namespace.QName("", "flow_middatastatus")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("gender_entity"); + elemField.setXmlName(new javax.xml.namespace.QName("", "gender_entity")); + elemField.setXmlType(new javax.xml.namespace.QName("http://code.ubcs.vci.com/", "enumerableData")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("gender_name"); + elemField.setXmlName(new javax.xml.namespace.QName("", "gender_name")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("gerder"); + elemField.setXmlName(new javax.xml.namespace.QName("", "gerder")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("group_code"); + elemField.setXmlName(new javax.xml.namespace.QName("", "group_code")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("id"); + elemField.setXmlName(new javax.xml.namespace.QName("", "id")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("id_number"); + elemField.setXmlName(new javax.xml.namespace.QName("", "id_number")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("id_type"); + elemField.setXmlName(new javax.xml.namespace.QName("", "id_type")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("is_keyposion"); + elemField.setXmlName(new javax.xml.namespace.QName("", "is_keyposion")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("link_fieldvalue"); + elemField.setXmlName(new javax.xml.namespace.QName("", "link_fieldvalue")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("lm_code"); + elemField.setXmlName(new javax.xml.namespace.QName("", "lm_code")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("marital_status"); + elemField.setXmlName(new javax.xml.namespace.QName("", "marital_status")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("mdm_cleanstatus"); + elemField.setXmlName(new javax.xml.namespace.QName("", "mdm_cleanstatus")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("mdm_code"); + elemField.setXmlName(new javax.xml.namespace.QName("", "mdm_code")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("mdm_datastatus"); + elemField.setXmlName(new javax.xml.namespace.QName("", "mdm_datastatus")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("mdm_duplicate"); + elemField.setXmlName(new javax.xml.namespace.QName("", "mdm_duplicate")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("mdm_parentcode"); + elemField.setXmlName(new javax.xml.namespace.QName("", "mdm_parentcode")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("mdm_workflow"); + elemField.setXmlName(new javax.xml.namespace.QName("", "mdm_workflow")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("mdm_yersion"); + elemField.setXmlName(new javax.xml.namespace.QName("", "mdm_yersion")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("mobile_phone"); + elemField.setXmlName(new javax.xml.namespace.QName("", "mobile_phone")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("modifier"); + elemField.setXmlName(new javax.xml.namespace.QName("", "modifier")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("modifytime"); + elemField.setXmlName(new javax.xml.namespace.QName("", "modifytime")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("name"); + elemField.setXmlName(new javax.xml.namespace.QName("", "name")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("nationality"); + elemField.setXmlName(new javax.xml.namespace.QName("", "nationality")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("office_telephone"); + elemField.setXmlName(new javax.xml.namespace.QName("", "office_telephone")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("outer_email"); + elemField.setXmlName(new javax.xml.namespace.QName("", "outer_email")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("parent_dept_code"); + elemField.setXmlName(new javax.xml.namespace.QName("", "parent_dept_code")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("parent_dept_name"); + elemField.setXmlName(new javax.xml.namespace.QName("", "parent_dept_name")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("pk_mdm"); + elemField.setXmlName(new javax.xml.namespace.QName("", "pk_mdm")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("politiccountenance"); + elemField.setXmlName(new javax.xml.namespace.QName("", "politiccountenance")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("position"); + elemField.setXmlName(new javax.xml.namespace.QName("", "position")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("ts"); + elemField.setXmlName(new javax.xml.namespace.QName("", "ts")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("work_title"); + elemField.setXmlName(new javax.xml.namespace.QName("", "work_title")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("worker_category"); + elemField.setXmlName(new javax.xml.namespace.QName("", "worker_category")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("worker_duty"); + elemField.setXmlName(new javax.xml.namespace.QName("", "worker_duty")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("worker_email"); + elemField.setXmlName(new javax.xml.namespace.QName("", "worker_email")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("worker_level"); + elemField.setXmlName(new javax.xml.namespace.QName("", "worker_level")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("worker_security_level"); + elemField.setXmlName(new javax.xml.namespace.QName("", "worker_security_level")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + } + + /** + * Return type metadata object + */ + public static org.apache.axis.description.TypeDesc getTypeDesc() { + return typeDesc; + } + + /** + * Get Custom Serializer + */ + public static org.apache.axis.encoding.Serializer getSerializer( + java.lang.String mechType, + java.lang.Class _javaType, + javax.xml.namespace.QName _xmlType) { + return + new org.apache.axis.encoding.ser.BeanSerializer( + _javaType, _xmlType, typeDesc); + } + + /** + * Get Custom Deserializer + */ + public static org.apache.axis.encoding.Deserializer getDeserializer( + java.lang.String mechType, + java.lang.Class _javaType, + javax.xml.namespace.QName _xmlType) { + return + new org.apache.axis.encoding.ser.BeanDeserializer( + _javaType, _xmlType, typeDesc); + } + +} diff --git a/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/entity/ResultMdMapping.java b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/entity/ResultMdMapping.java new file mode 100644 index 0000000..897b155 --- /dev/null +++ b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/entity/ResultMdMapping.java @@ -0,0 +1,300 @@ +/** + * ResultMdMapping.java + * + * This file was auto-generated from WSDL + * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. + */ + +package com.vci.ubcs.example.entity; + +public class ResultMdMapping implements java.io.Serializable { + private java.lang.String busiDataId; + + private java.lang.String entityCode; + + private java.lang.String mdmCode; + + private java.lang.String message; + + private ResultMdMapping subMdMappings; + + private boolean success; + + public ResultMdMapping() { + } + + public ResultMdMapping( + java.lang.String busiDataId, + java.lang.String entityCode, + java.lang.String mdmCode, + java.lang.String message, + ResultMdMapping subMdMappings, + boolean success) { + this.busiDataId = busiDataId; + this.entityCode = entityCode; + this.mdmCode = mdmCode; + this.message = message; + this.subMdMappings = subMdMappings; + this.success = success; + } + + + /** + * Gets the busiDataId value for this ResultMdMapping. + * + * @return busiDataId + */ + public java.lang.String getBusiDataId() { + return busiDataId; + } + + + /** + * Sets the busiDataId value for this ResultMdMapping. + * + * @param busiDataId + */ + public void setBusiDataId(java.lang.String busiDataId) { + this.busiDataId = busiDataId; + } + + + /** + * Gets the entityCode value for this ResultMdMapping. + * + * @return entityCode + */ + public java.lang.String getEntityCode() { + return entityCode; + } + + + /** + * Sets the entityCode value for this ResultMdMapping. + * + * @param entityCode + */ + public void setEntityCode(java.lang.String entityCode) { + this.entityCode = entityCode; + } + + + /** + * Gets the mdmCode value for this ResultMdMapping. + * + * @return mdmCode + */ + public java.lang.String getMdmCode() { + return mdmCode; + } + + + /** + * Sets the mdmCode value for this ResultMdMapping. + * + * @param mdmCode + */ + public void setMdmCode(java.lang.String mdmCode) { + this.mdmCode = mdmCode; + } + + + /** + * Gets the message value for this ResultMdMapping. + * + * @return message + */ + public java.lang.String getMessage() { + return message; + } + + + /** + * Sets the message value for this ResultMdMapping. + * + * @param message + */ + public void setMessage(java.lang.String message) { + this.message = message; + } + + + /** + * Gets the subMdMappings value for this ResultMdMapping. + * + * @return subMdMappings + */ + public ResultMdMapping getSubMdMappings() { + return subMdMappings; + } + + + /** + * Sets the subMdMappings value for this ResultMdMapping. + * + * @param subMdMappings + */ + public void setSubMdMappings(ResultMdMapping subMdMappings) { + this.subMdMappings = subMdMappings; + } + + + /** + * Gets the success value for this ResultMdMapping. + * + * @return success + */ + public boolean isSuccess() { + return success; + } + + + /** + * Sets the success value for this ResultMdMapping. + * + * @param success + */ + public void setSuccess(boolean success) { + this.success = success; + } + + private java.lang.Object __equalsCalc = null; + public synchronized boolean equals(java.lang.Object obj) { + if (!(obj instanceof ResultMdMapping)) return false; + ResultMdMapping other = (ResultMdMapping) obj; + if (obj == null) return false; + if (this == obj) return true; + if (__equalsCalc != null) { + return (__equalsCalc == obj); + } + __equalsCalc = obj; + boolean _equals; + _equals = true && + ((this.busiDataId==null && other.getBusiDataId()==null) || + (this.busiDataId!=null && + this.busiDataId.equals(other.getBusiDataId()))) && + ((this.entityCode==null && other.getEntityCode()==null) || + (this.entityCode!=null && + this.entityCode.equals(other.getEntityCode()))) && + ((this.mdmCode==null && other.getMdmCode()==null) || + (this.mdmCode!=null && + this.mdmCode.equals(other.getMdmCode()))) && + ((this.message==null && other.getMessage()==null) || + (this.message!=null && + this.message.equals(other.getMessage()))) && + ((this.subMdMappings==null && other.getSubMdMappings()==null) || + (this.subMdMappings!=null && + this.subMdMappings.equals(other.getSubMdMappings()))) && + this.success == other.isSuccess(); + __equalsCalc = null; + return _equals; + } + + private boolean __hashCodeCalc = false; + public synchronized int hashCode() { + if (__hashCodeCalc) { + return 0; + } + __hashCodeCalc = true; + int _hashCode = 1; + if (getBusiDataId() != null) { + _hashCode += getBusiDataId().hashCode(); + } + if (getEntityCode() != null) { + _hashCode += getEntityCode().hashCode(); + } + if (getMdmCode() != null) { + _hashCode += getMdmCode().hashCode(); + } + if (getMessage() != null) { + _hashCode += getMessage().hashCode(); + } + if (getSubMdMappings() != null) { + _hashCode += getSubMdMappings().hashCode(); + } + _hashCode += (isSuccess() ? Boolean.TRUE : Boolean.FALSE).hashCode(); + __hashCodeCalc = false; + return _hashCode; + } + + // Type metadata + private static org.apache.axis.description.TypeDesc typeDesc = + new org.apache.axis.description.TypeDesc(ResultMdMapping.class, true); + + static { + typeDesc.setXmlType(new javax.xml.namespace.QName("http://code.ubcs.vci.com/", "resultMdMapping")); + org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("busiDataId"); + elemField.setXmlName(new javax.xml.namespace.QName("", "busiDataId")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("entityCode"); + elemField.setXmlName(new javax.xml.namespace.QName("", "entityCode")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("mdmCode"); + elemField.setXmlName(new javax.xml.namespace.QName("", "mdmCode")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("message"); + elemField.setXmlName(new javax.xml.namespace.QName("", "message")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("subMdMappings"); + elemField.setXmlName(new javax.xml.namespace.QName("", "subMdMappings")); + elemField.setXmlType(new javax.xml.namespace.QName("http://code.ubcs.vci.com/", "resultMdMapping")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("success"); + elemField.setXmlName(new javax.xml.namespace.QName("", "success")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + } + + /** + * Return type metadata object + */ + public static org.apache.axis.description.TypeDesc getTypeDesc() { + return typeDesc; + } + + /** + * Get Custom Serializer + */ + public static org.apache.axis.encoding.Serializer getSerializer( + java.lang.String mechType, + java.lang.Class _javaType, + javax.xml.namespace.QName _xmlType) { + return + new org.apache.axis.encoding.ser.BeanSerializer( + _javaType, _xmlType, typeDesc); + } + + /** + * Get Custom Deserializer + */ + public static org.apache.axis.encoding.Deserializer getDeserializer( + java.lang.String mechType, + java.lang.Class _javaType, + javax.xml.namespace.QName _xmlType) { + return + new org.apache.axis.encoding.ser.BeanDeserializer( + _javaType, _xmlType, typeDesc); + } + +} diff --git a/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/entity/ResultOrgData.java b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/entity/ResultOrgData.java new file mode 100644 index 0000000..7b4d350 --- /dev/null +++ b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/entity/ResultOrgData.java @@ -0,0 +1,206 @@ +/** + * ResultOrgData.java + * + * This file was auto-generated from WSDL + * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. + */ + +package com.vci.ubcs.example.entity; + +public class ResultOrgData implements java.io.Serializable { + private ResultMdMapping[] mdMappings; + + private java.lang.String message; + + private boolean success; + + public ResultOrgData() { + } + + public ResultOrgData( + ResultMdMapping[] mdMappings, + java.lang.String message, + boolean success) { + this.mdMappings = mdMappings; + this.message = message; + this.success = success; + } + + + /** + * Gets the mdMappings value for this ResultOrgData. + * + * @return mdMappings + */ + public ResultMdMapping[] getMdMappings() { + return mdMappings; + } + + + /** + * Sets the mdMappings value for this ResultOrgData. + * + * @param mdMappings + */ + public void setMdMappings(ResultMdMapping[] mdMappings) { + this.mdMappings = mdMappings; + } + + public ResultMdMapping getMdMappings(int i) { + return this.mdMappings[i]; + } + + public void setMdMappings(int i, ResultMdMapping _value) { + this.mdMappings[i] = _value; + } + + + /** + * Gets the message value for this ResultOrgData. + * + * @return message + */ + public java.lang.String getMessage() { + return message; + } + + + /** + * Sets the message value for this ResultOrgData. + * + * @param message + */ + public void setMessage(java.lang.String message) { + this.message = message; + } + + + /** + * Gets the success value for this ResultOrgData. + * + * @return success + */ + public boolean isSuccess() { + return success; + } + + + /** + * Sets the success value for this ResultOrgData. + * + * @param success + */ + public void setSuccess(boolean success) { + this.success = success; + } + + private java.lang.Object __equalsCalc = null; + public synchronized boolean equals(java.lang.Object obj) { + if (!(obj instanceof ResultOrgData)) return false; + ResultOrgData other = (ResultOrgData) obj; + if (obj == null) return false; + if (this == obj) return true; + if (__equalsCalc != null) { + return (__equalsCalc == obj); + } + __equalsCalc = obj; + boolean _equals; + _equals = true && + ((this.mdMappings==null && other.getMdMappings()==null) || + (this.mdMappings!=null && + java.util.Arrays.equals(this.mdMappings, other.getMdMappings()))) && + ((this.message==null && other.getMessage()==null) || + (this.message!=null && + this.message.equals(other.getMessage()))) && + this.success == other.isSuccess(); + __equalsCalc = null; + return _equals; + } + + private boolean __hashCodeCalc = false; + public synchronized int hashCode() { + if (__hashCodeCalc) { + return 0; + } + __hashCodeCalc = true; + int _hashCode = 1; + if (getMdMappings() != null) { + for (int i=0; + i<java.lang.reflect.Array.getLength(getMdMappings()); + i++) { + java.lang.Object obj = java.lang.reflect.Array.get(getMdMappings(), i); + if (obj != null && + !obj.getClass().isArray()) { + _hashCode += obj.hashCode(); + } + } + } + if (getMessage() != null) { + _hashCode += getMessage().hashCode(); + } + _hashCode += (isSuccess() ? Boolean.TRUE : Boolean.FALSE).hashCode(); + __hashCodeCalc = false; + return _hashCode; + } + + // Type metadata + private static org.apache.axis.description.TypeDesc typeDesc = + new org.apache.axis.description.TypeDesc(ResultOrgData.class, true); + + static { + typeDesc.setXmlType(new javax.xml.namespace.QName("http://code.ubcs.vci.com/", "resultOrgData")); + org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("mdMappings"); + elemField.setXmlName(new javax.xml.namespace.QName("", "mdMappings")); + elemField.setXmlType(new javax.xml.namespace.QName("http://code.ubcs.vci.com/", "resultMdMapping")); + elemField.setMinOccurs(0); + elemField.setNillable(true); + elemField.setMaxOccursUnbounded(true); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("message"); + elemField.setXmlName(new javax.xml.namespace.QName("", "message")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + elemField.setMinOccurs(0); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("success"); + elemField.setXmlName(new javax.xml.namespace.QName("", "success")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean")); + elemField.setNillable(false); + typeDesc.addFieldDesc(elemField); + } + + /** + * Return type metadata object + */ + public static org.apache.axis.description.TypeDesc getTypeDesc() { + return typeDesc; + } + + /** + * Get Custom Serializer + */ + public static org.apache.axis.encoding.Serializer getSerializer( + java.lang.String mechType, + java.lang.Class _javaType, + javax.xml.namespace.QName _xmlType) { + return + new org.apache.axis.encoding.ser.BeanSerializer( + _javaType, _xmlType, typeDesc); + } + + /** + * Get Custom Deserializer + */ + public static org.apache.axis.encoding.Deserializer getDeserializer( + java.lang.String mechType, + java.lang.Class _javaType, + javax.xml.namespace.QName _xmlType) { + return + new org.apache.axis.encoding.ser.BeanDeserializer( + _javaType, _xmlType, typeDesc); + } + +} diff --git a/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/entity/ThreadLocal.java b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/entity/ThreadLocal.java new file mode 100644 index 0000000..4151780 --- /dev/null +++ b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/entity/ThreadLocal.java @@ -0,0 +1,80 @@ +/** + * ThreadLocal.java + * + * This file was auto-generated from WSDL + * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. + */ + +package com.vci.ubcs.example.entity; + +public class ThreadLocal implements java.io.Serializable { + public ThreadLocal() { + } + + private java.lang.Object __equalsCalc = null; + public synchronized boolean equals(java.lang.Object obj) { + if (!(obj instanceof ThreadLocal)) return false; + ThreadLocal other = (ThreadLocal) obj; + if (obj == null) return false; + if (this == obj) return true; + if (__equalsCalc != null) { + return (__equalsCalc == obj); + } + __equalsCalc = obj; + boolean _equals; + _equals = true; + __equalsCalc = null; + return _equals; + } + + private boolean __hashCodeCalc = false; + public synchronized int hashCode() { + if (__hashCodeCalc) { + return 0; + } + __hashCodeCalc = true; + int _hashCode = 1; + __hashCodeCalc = false; + return _hashCode; + } + + // Type metadata + private static org.apache.axis.description.TypeDesc typeDesc = + new org.apache.axis.description.TypeDesc(ThreadLocal.class, true); + + static { + typeDesc.setXmlType(new javax.xml.namespace.QName("http://code.ubcs.vci.com/", "threadLocal")); + } + + /** + * Return type metadata object + */ + public static org.apache.axis.description.TypeDesc getTypeDesc() { + return typeDesc; + } + + /** + * Get Custom Serializer + */ + public static org.apache.axis.encoding.Serializer getSerializer( + java.lang.String mechType, + java.lang.Class _javaType, + javax.xml.namespace.QName _xmlType) { + return + new org.apache.axis.encoding.ser.BeanSerializer( + _javaType, _xmlType, typeDesc); + } + + /** + * Get Custom Deserializer + */ + public static org.apache.axis.encoding.Deserializer getDeserializer( + java.lang.String mechType, + java.lang.Class _javaType, + javax.xml.namespace.QName _xmlType) { + return + new org.apache.axis.encoding.ser.BeanDeserializer( + _javaType, _xmlType, typeDesc); + } + +} diff --git a/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/service/ICalledIntegrationService.java b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/service/ICalledIntegrationService.java index 891d4fe..e6e8d9c 100644 --- a/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/service/ICalledIntegrationService.java +++ b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/service/ICalledIntegrationService.java @@ -1,5 +1,8 @@ package com.vci.ubcs.example.service; +import java.net.MalformedURLException; +import java.rmi.RemoteException; + /** * 缁熶竴鐢宠鎺ュ彛锛歎BCS缂栫爜璧勬簮绠$悊绯荤粺锛岃鍏朵粬闆嗘垚鐨勭郴缁熺殑閫氱敤鎺ュ彛璋冪敤绀轰緥 * @author ludc @@ -15,7 +18,7 @@ /** * 缂栫爜绯荤粺锛岀粺涓�鐢宠鎺ュ彛,鐢╓ebService鏂瑰紡璋冪敤 */ - void sendApplyCodeByWebService(); + void sendApplyCodeByWebService() throws MalformedURLException, RemoteException; diff --git a/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/service/UniversalInterface.java b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/service/UniversalInterface.java new file mode 100644 index 0000000..c3aa4ca --- /dev/null +++ b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/service/UniversalInterface.java @@ -0,0 +1,25 @@ +/** + * UniversalInterface.java + * + * This file was auto-generated from WSDL + * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. + */ + +package com.vci.ubcs.example.service; + +import com.vci.ubcs.example.entity.OrgData; +import com.vci.ubcs.example.entity.PersonData; +import com.vci.ubcs.example.entity.ResultOrgData; + +import java.rmi.Remote; + +public interface UniversalInterface extends Remote { + public java.lang.String queryClassify(java.lang.String arg0, java.lang.String arg1) throws java.rmi.RemoteException; + public java.lang.String syncEditData(java.lang.String arg0, java.lang.String arg1) throws java.rmi.RemoteException; + public java.lang.String queryData(java.lang.String arg0, java.lang.String arg1) throws java.rmi.RemoteException; + public java.lang.String applyCode(java.lang.String arg0, java.lang.String arg1) throws java.rmi.RemoteException; + public ResultOrgData syncDataForPerson(PersonData arg0) throws java.rmi.RemoteException; + public java.lang.String queryClassifyRule(java.lang.String arg0, java.lang.String arg1) throws java.rmi.RemoteException; + public java.lang.String applyCodeForBZ(java.lang.String arg0, java.lang.String arg1) throws java.rmi.RemoteException; + public ResultOrgData syncDataForOrg(OrgData arg0) throws java.rmi.RemoteException; +} diff --git a/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/service/UniversalInterfaceImplService.java b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/service/UniversalInterfaceImplService.java new file mode 100644 index 0000000..cd97428 --- /dev/null +++ b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/service/UniversalInterfaceImplService.java @@ -0,0 +1,18 @@ +/** + * UniversalInterfaceImplService.java + * + * This file was auto-generated from WSDL + * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. + */ + +package com.vci.ubcs.example.service; + +import javax.xml.rpc.Service; + +public interface UniversalInterfaceImplService extends Service { + public java.lang.String getUniversalInterfaceImplPortAddress(); + + public UniversalInterface getUniversalInterfaceImplPort() throws javax.xml.rpc.ServiceException; + + public UniversalInterface getUniversalInterfaceImplPort(java.net.URL portAddress) throws javax.xml.rpc.ServiceException; +} diff --git a/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/service/impl/CalledIntegrationServiceImpl.java b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/service/impl/CalledIntegrationServiceImpl.java index 48c593a..8f42089 100644 --- a/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/service/impl/CalledIntegrationServiceImpl.java +++ b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/service/impl/CalledIntegrationServiceImpl.java @@ -1,12 +1,22 @@ package com.vci.ubcs.example.service.impl; +import com.alibaba.fastjson.JSON; +import com.thoughtworks.xstream.XStream; +import com.thoughtworks.xstream.io.xml.DomDriver; +import com.vci.ubcs.example.apply.*; +import com.vci.ubcs.example.applybz.*; import com.vci.ubcs.example.service.ICalledIntegrationService; +import com.vci.ubcs.example.service.UniversalInterface; import com.vci.ubcs.example.util.HttpUtils; -import com.vci.ubcs.example.util.WsClientUtil; -import org.springframework.http.MediaType; +import lombok.AllArgsConstructor; import org.springframework.stereotype.Service; import org.springframework.util.LinkedMultiValueMap; import org.springframework.util.MultiValueMap; + +import java.net.MalformedURLException; +import java.rmi.RemoteException; +import java.util.ArrayList; +import java.util.List; /** * 缁熶竴鐢宠鎺ュ彛锛歎BCS缂栫爜璧勬簮绠$悊绯荤粺锛岃鍏朵粬闆嗘垚鐨勭郴缁熺殑閫氱敤鎺ュ彛璋冪敤绀轰緥 @@ -14,17 +24,20 @@ * @date 2024/2/27 20:34 */ @Service +@AllArgsConstructor public class CalledIntegrationServiceImpl implements ICalledIntegrationService { /** * 缁熶竴鐢宠鎺ュ彛URL */ - private String UNIAPPLYURL = "http://localhost/ubcs-code/applyCode"; + private final String UNIAPPLYURL = "http://localhost:37000/ubcs-code/applyCode"; /** * 鏍囧噯鐢宠鎺ュ彛URL */ - private String UNIAPPLYBZURL = "http://localhost/ubcs-code/applyCodeBZ"; + private final String UNIAPPLYBZURL = "http://localhost:37000/ubcs-code/applyCodeBZ"; + + private final UniversalInterface universalInterface; /** * 瀵圭紪鐮佺郴缁熺殑缁熶竴鐢宠鎺ュ彛璋冪敤锛宺est鏂瑰紡 @@ -72,12 +85,245 @@ * 瀵圭紪鐮佺郴缁熺粺涓�鐢宠鎺ュ彛璋冪敤,WebService鏂瑰紡 */ @Override - public void sendApplyCodeByWebService() { + public void sendApplyCodeByWebService() throws MalformedURLException, RemoteException { + //浣跨敤sopui鐢熸垚璋冪敤webservice鎺ュ彛鐨勪唬鐮� + String dataType = "json"; //鎴栬�厁ml + //String dataString = "\"data\": {\"classifys\": {\"classify\": [{\"classCode\": \"1025\",\"fullclsfNamePath\": \"\",\"library\": \"10\",\"sections\": {\"section\": [{\"name\": \"鍒嗙被鍙穃",\"value\": \"1025\"},{\"name\": \"椤哄簭鍙穃",\"value\": \"\"}]},\"obejects\": {\"obeject\": [{\"code\": \"\",\"id\": \"\",\"status\": \"Released\",\"operate\": \"create\",\"creator\": \"0000\",\"prop\": [{\"key\": \"name\",\"text\": \"鍚嶇О\",\"value\": \"\"}]}]}}],\"systemId\": \"ERP\",\"user\": {\"ip\": \"127.0.0.1\",\"trueName\": \"00000\",\"userName\": \"test\"}}}"; + + // 璇锋眰鐨勪富瑕佸弬鏁扮粍寤� + InterParameterVO interParameterVO = new InterParameterVO(); + RootDataVO rootDataVO = new RootDataVO(); + + ClassfysVO classfysVO = new ClassfysVO(); + List<ClassfyVO> classfyVOList = new ArrayList<>(); + ClassfyVO classfyVO = new ClassfyVO(); + classfyVO.setLibrary("10"); + classfyVO.setClassCode("1025"); + + ApplyDatasVO applyDatasVO = new ApplyDatasVO(); + List<ApplyDataVO> applyDataVOList = new ArrayList<>(); + ApplyDataVO applyDataVO = new ApplyDataVO(); + applyDataVO.setCode(""); + applyDataVO.setCreator("0000"); + applyDataVO.setEditor("0000"); + applyDataVO.setId(""); + applyDataVO.setOperate("create"); + applyDataVO.setStatus("Released"); + ArrayList<ProppertyVO> proppertyVOS = new ArrayList<>(); + ProppertyVO proppertyVO = new ProppertyVO(); + proppertyVO.setKey("name"); + proppertyVO.setText("鍚嶇О"); + proppertyVO.setValue(""); + proppertyVOS.add(proppertyVO); + applyDataVO.setProp(proppertyVOS); + + applyDataVOList.add(applyDataVO); + applyDatasVO.setObject(applyDataVOList); + classfyVO.setObjects(applyDatasVO); + + + SectionsVO sectionsVO = new SectionsVO(); + List<SectionVO> sectionVOList = new ArrayList<>(); + sectionVOList.add(new SectionVO("鍒嗙被鍙�","1025")); + sectionVOList.add(new SectionVO("椤哄簭鍙�","1025")); + sectionsVO.setSection(sectionVOList); + classfyVO.setSections(sectionsVO); + + classfysVO.setClassify(classfyVOList); + rootDataVO.setClassifys(classfysVO); + + UserVO userVO = new UserVO(); + userVO.setIp("127.0.0.1"); + userVO.setTrueName("19861111"); + userVO.setUserName("19861111"); + rootDataVO.setUser(userVO); + rootDataVO.setSystemId("PDM"); + + interParameterVO.setData(rootDataVO); + + // 濡傛灉鏄痻ml璇疯嚜琛屾瀯寤簒ml鏍煎紡锛屽苟灏哾ataType鏀逛负xml + String dataString = JSON.toJSONString(interParameterVO); + // xml鍙傛暟褰㈠紡绀轰緥 + XStream xStream = new XStream(new DomDriver()); + String dataString1 = xStream.toXML(interParameterVO); + + String res = universalInterface.applyCode(dataString,dataType); + } + + /** + * 瀵规爣鍑嗙敵鐮佹帴鍙h皟鐢ㄧず渚嬶細rest鏂瑰紡锛岃皟鐢ㄦ柟寮忓拰缁熶竴鐢崇爜鎺ュ彛娌℃湁鍖哄埆锛屽彧鏄弬鏁颁笂鏈夋墍璋冩暣 + */ + public void sendApplyCodeBZByRest(){ + // 缁勭粐鏁版嵁 MultiValueMap<String, String> params = new LinkedMultiValueMap<>(); params.add("dataType","json"); + //params.add("dataType","xml");鏍规嵁闇�姹傝嚜琛岄�夋嫨 + // 鏄痡son鏃剁殑鏍煎紡绀轰緥 + ApplyBZParamVO applyBZParamVO = new ApplyBZParamVO(); + ApplyBZVO applyBZVO = new ApplyBZVO(); + ClassfyBZVO classfyBZVO = new ClassfyBZVO(); + classfyBZVO.setClassCode("BZHWJ"); + classfyBZVO.setLibrary("standard"); + + SectionsVO sectionsVO = new SectionsVO(); + List<SectionVO> sectionVOList = new ArrayList<>(); + SectionVO sectionVO = new SectionVO(); + sectionVO.setName("鏂囦欢鍒嗙被"); + sectionVO.setValue("BJT"); + sectionVOList.add(sectionVO); + + SectionVO sectionVO1 = new SectionVO(); + sectionVO.setName("鏂囦欢鍒嗙被"); + sectionVO.setValue("BJT"); + sectionVOList.add(sectionVO1); + + SectionVO sectionVO2 = new SectionVO(); + sectionVO.setName("鍒嗛殧绗�"); + sectionVO.setValue("-"); + sectionVOList.add(sectionVO2); + + SectionVO sectionVO3 = new SectionVO(); + sectionVO.setName("骞翠唬鍙�"); + sectionVO.setValue("2024"); + sectionVOList.add(sectionVO3); + + SectionVO sectionVO4 = new SectionVO(); + sectionVO.setName("椤哄簭鍙�"); + sectionVO.setValue(""); + sectionVOList.add(sectionVO3); + + sectionsVO.setSection(sectionVOList); + classfyBZVO.setSections(sectionsVO); + + ApplyBZDatasVO applyBZDatasVO = new ApplyBZDatasVO(); + ArrayList<ApplyBZDataVO> applyBZDataVOS = new ArrayList<>(); + ApplyBZDataVO applyBZDataVO = new ApplyBZDataVO(); + applyBZDataVO.setCode(""); + // 淇鏃跺繀浼� + applyBZDataVO.setOldCode(""); + applyBZDataVO.setCreator("19822111"); + // 鏄惁淇涓虹郴鍒� + applyBZDataVO.setEditSeriesFlag(false); + // 鏄惁涓虹郴鍒楃敵璇� + applyBZDataVO.setSeriesFlag(false); + // 鍙戝竷鏃堕棿 + applyBZDataVO.setReleaseTime("2024-3-21"); + applyBZDataVO.setId("cassafaf11332213678sdf12673626222"); + // 鏂囨。涓�氬父浼氭湁鎻忚堪锛�1鏄敵鐮侊紝2鏄慨璁� + applyBZDataVO.setOperationType("1"); + applyBZDataVO.setStatus("Released"); + // 骞翠唬鍙� + applyBZDataVO.setYearNumber("2024"); + // 娴佹按鍙� + applyBZDataVO.setSeriesFlow(""); + + List<ProppertyVO> proppertyVOS = new ArrayList<>(); + ProppertyVO proppertyVO = new ProppertyVO(); + proppertyVO.setText("鍚嶇О"); + proppertyVO.setKey("娴嬭瘯-棣栦欢閴村畾"); + proppertyVO.setValue("standardName"); + proppertyVOS.add(proppertyVO); + ProppertyVO proppertyVO1 = new ProppertyVO(); + proppertyVO1.setText("鍙戝竷鏃ユ湡"); + proppertyVO1.setKey("2024-3-21"); + proppertyVO1.setValue("publishDate"); + proppertyVOS.add(proppertyVO1); + applyBZDataVO.setProp(proppertyVOS); + applyBZDatasVO.setObject(applyBZDataVOS); + + classfyBZVO.setObjects(applyBZDatasVO); + applyBZVO.setClassify(classfyBZVO); + UserVO userVO = new UserVO(); + userVO.setIp("127.0.0.1"); + userVO.setTrueName("19861111"); + userVO.setUserName("19861111"); + applyBZVO.setUser(userVO); + applyBZVO.setSystemId("standardization"); + applyBZParamVO.setData(applyBZVO); + + // xml鍙傛暟褰㈠紡绀轰緥 + XStream xStream = new XStream(new DomDriver()); + String dataString1 = xStream.toXML(applyBZParamVO); + + params.add("dataString",JSON.toJSONString(applyBZParamVO)); + MultiValueMap<String, String> headers = new LinkedMultiValueMap<>(); + String res = HttpUtils.post(UNIAPPLYBZURL,params,headers); + } + /** + * 瀵规爣鍑嗙敵鐮佹帴鍙h皟鐢ㄧず渚嬶細webservice鏂瑰紡,璋冪敤鏂瑰紡鍜岀粺涓�鐢崇爜鎺ュ彛娌℃湁鍖哄埆锛屽彧鏄弬鏁颁笂鏈夋墍璋冩暣 + */ + public void sendApplyCodeBZWebservice() throws RemoteException { + //浣跨敤sopui鐢熸垚璋冪敤webservice鎺ュ彛鐨勪唬鐮� + String dataType = "json"; //鎴栬�厁ml + // 鏄痡son鏃剁殑鏍煎紡绀轰緥 + ApplyBZParamVO applyBZParamVO = new ApplyBZParamVO(); + ApplyBZVO applyBZVO = new ApplyBZVO(); + ClassfyBZVO classfyBZVO = new ClassfyBZVO(); + classfyBZVO.setClassCode("BZHWJ"); + classfyBZVO.setLibrary("standard"); + SectionsVO sectionsVO = new SectionsVO(); + List<SectionVO> sectionVOList = new ArrayList<>(); + sectionsVO.setSection(sectionVOList); + classfyBZVO.setSections(sectionsVO); + + ApplyBZDatasVO applyBZDatasVO = new ApplyBZDatasVO(); + ArrayList<ApplyBZDataVO> applyBZDataVOS = new ArrayList<>(); + ApplyBZDataVO applyBZDataVO = new ApplyBZDataVO(); + applyBZDataVO.setCode(""); + // 淇鏃跺繀浼� + applyBZDataVO.setOldCode(""); + applyBZDataVO.setCreator("19822111"); + // 鏄惁淇涓虹郴鍒� + applyBZDataVO.setEditSeriesFlag(false); + // 鏄惁涓虹郴鍒楃敵璇� + applyBZDataVO.setSeriesFlag(false); + // 鍙戝竷鏃堕棿 + applyBZDataVO.setReleaseTime("2024-3-21"); + applyBZDataVO.setId("cassafaf11332213678sdf12673626222"); + // 鏂囨。涓�氬父浼氭湁鎻忚堪锛�1鏄敵鐮侊紝2鏄慨璁� + applyBZDataVO.setOperationType("1"); + applyBZDataVO.setStatus("Released"); + // 骞翠唬鍙� + applyBZDataVO.setYearNumber("2024"); + // 娴佹按鍙� + applyBZDataVO.setSeriesFlow(""); + + List<ProppertyVO> proppertyVOS = new ArrayList<>(); + ProppertyVO proppertyVO = new ProppertyVO(); + proppertyVO.setText("鍚嶇О"); + proppertyVO.setKey("娴嬭瘯-棣栦欢閴村畾"); + proppertyVO.setValue("standardName"); + proppertyVOS.add(proppertyVO); + ProppertyVO proppertyVO1 = new ProppertyVO(); + proppertyVO1.setText("鍙戝竷鏃ユ湡"); + proppertyVO1.setKey("2024-3-21"); + proppertyVO1.setValue("publishDate"); + proppertyVOS.add(proppertyVO1); + applyBZDataVO.setProp(proppertyVOS); + applyBZDatasVO.setObject(applyBZDataVOS); + + classfyBZVO.setObjects(applyBZDatasVO); + applyBZVO.setClassify(classfyBZVO); + UserVO userVO = new UserVO(); + userVO.setIp("127.0.0.1"); + userVO.setTrueName("19861111"); + userVO.setUserName("19861111"); + applyBZVO.setUser(userVO); + applyBZVO.setSystemId("standardization"); + applyBZParamVO.setData(applyBZVO); + + // 濡傛灉鏄痻ml璇疯嚜琛屾瀯寤簒ml鏍煎紡锛屽苟灏哾ataType鏀逛负xml + String dataString = JSON.toJSONString(applyBZParamVO); + // xml鍙傛暟褰㈠紡绀轰緥 + XStream xStream = new XStream(new DomDriver()); + String dataString1 = xStream.toXML(applyBZParamVO); + + String res = universalInterface.applyCodeForBZ(dataString,dataType); } + + } diff --git a/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/service/impl/UniversalInterfaceImplServiceLocator.java b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/service/impl/UniversalInterfaceImplServiceLocator.java new file mode 100644 index 0000000..eff3ad7 --- /dev/null +++ b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/service/impl/UniversalInterfaceImplServiceLocator.java @@ -0,0 +1,152 @@ +/** + * UniversalInterfaceImplServiceLocator.java + * + * This file was auto-generated from WSDL + * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. + */ + +package com.vci.ubcs.example.service.impl; + +import com.vci.ubcs.example.service.UniversalInterface; +import com.vci.ubcs.example.service.UniversalInterfaceImplService; +import org.apache.axis.EngineConfiguration; +import org.apache.axis.client.Service; + +import javax.xml.namespace.QName; +import javax.xml.rpc.ServiceException; +import java.net.URL; +import java.rmi.Remote; +import java.util.HashSet; +import java.util.Iterator; + +@org.springframework.stereotype.Service +public class UniversalInterfaceImplServiceLocator extends Service implements UniversalInterfaceImplService { + + public UniversalInterfaceImplServiceLocator() { + } + + public UniversalInterfaceImplServiceLocator(EngineConfiguration config) { + super(config); + } + + public UniversalInterfaceImplServiceLocator(String wsdlLoc, QName sName) throws ServiceException { + super(wsdlLoc, sName); + } + + // Use to get a proxy class for UniversalInterfaceImplPort + private String UniversalInterfaceImplPort_address = "http://localhost:37000/ubcs-code/services/universalInterface"; + + public String getUniversalInterfaceImplPortAddress() { + return UniversalInterfaceImplPort_address; + } + + // The WSDD service name defaults to the port name. + private String UniversalInterfaceImplPortWSDDServiceName = "UniversalInterfaceImplPort"; + + public String getUniversalInterfaceImplPortWSDDServiceName() { + return UniversalInterfaceImplPortWSDDServiceName; + } + + public void setUniversalInterfaceImplPortWSDDServiceName(String name) { + UniversalInterfaceImplPortWSDDServiceName = name; + } + + public UniversalInterface getUniversalInterfaceImplPort() throws javax.xml.rpc.ServiceException { + java.net.URL endpoint; + try { + endpoint = new java.net.URL(UniversalInterfaceImplPort_address); + } + catch (java.net.MalformedURLException e) { + throw new javax.xml.rpc.ServiceException(e); + } + return getUniversalInterfaceImplPort(endpoint); + } + + public UniversalInterface getUniversalInterfaceImplPort(URL portAddress) throws javax.xml.rpc.ServiceException { + try { + UniversalInterfaceImplServiceSoapBindingStub _stub = new UniversalInterfaceImplServiceSoapBindingStub(portAddress, this); + _stub.setPortName(getUniversalInterfaceImplPortWSDDServiceName()); + return _stub; + } + catch (org.apache.axis.AxisFault e) { + return null; + } + } + + public void setUniversalInterfaceImplPortEndpointAddress(String address) { + UniversalInterfaceImplPort_address = address; + } + + /** + * For the given interface, get the stub implementation. + * If this service has no port for the given interface, + * then ServiceException is thrown. + */ + public Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException { + try { + if (UniversalInterface.class.isAssignableFrom(serviceEndpointInterface)) { + UniversalInterfaceImplServiceSoapBindingStub _stub = new UniversalInterfaceImplServiceSoapBindingStub(new java.net.URL(UniversalInterfaceImplPort_address), this); + _stub.setPortName(getUniversalInterfaceImplPortWSDDServiceName()); + return _stub; + } + } + catch (java.lang.Throwable t) { + throw new javax.xml.rpc.ServiceException(t); + } + throw new javax.xml.rpc.ServiceException("There is no stub implementation for the interface: " + (serviceEndpointInterface == null ? "null" : serviceEndpointInterface.getName())); + } + + /** + * For the given interface, get the stub implementation. + * If this service has no port for the given interface, + * then ServiceException is thrown. + */ + public Remote getPort(QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException { + if (portName == null) { + return getPort(serviceEndpointInterface); + } + java.lang.String inputPortName = portName.getLocalPart(); + if ("UniversalInterfaceImplPort".equals(inputPortName)) { + return getUniversalInterfaceImplPort(); + } + else { + java.rmi.Remote _stub = getPort(serviceEndpointInterface); + ((org.apache.axis.client.Stub) _stub).setPortName(portName); + return _stub; + } + } + + public QName getServiceName() { + return new javax.xml.namespace.QName("http://impl.service.code.ubcs.vci.com/", "UniversalInterfaceImplService"); + } + + private HashSet ports = null; + + public Iterator getPorts() { + if (ports == null) { + ports = new java.util.HashSet(); + ports.add(new javax.xml.namespace.QName("http://impl.service.code.ubcs.vci.com/", "UniversalInterfaceImplPort")); + } + return ports.iterator(); + } + + /** + * Set the endpoint address for the specified port name. + */ + public void setEndpointAddress(String portName, String address) throws ServiceException { + if ("UniversalInterfaceImplPort".equals(portName)) { + setUniversalInterfaceImplPortEndpointAddress(address); + }else{ + // Unknown Port Name + throw new javax.xml.rpc.ServiceException("Cannot set Endpoint Address for Unknown Port" + portName); + } + } + + /** + * Set the endpoint address for the specified port name. + */ + public void setEndpointAddress(QName portName, String address) throws ServiceException { + setEndpointAddress(portName.getLocalPart(), address); + } + +} diff --git a/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/service/impl/UniversalInterfaceImplServiceSoapBindingStub.java b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/service/impl/UniversalInterfaceImplServiceSoapBindingStub.java new file mode 100644 index 0000000..5c1d72e --- /dev/null +++ b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/service/impl/UniversalInterfaceImplServiceSoapBindingStub.java @@ -0,0 +1,592 @@ +/** + * UniversalInterfaceImplServiceSoapBindingStub.java + * + * This file was auto-generated from WSDL + * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. + */ + +package com.vci.ubcs.example.service.impl; + +import com.vci.ubcs.example.entity.*; +import com.vci.ubcs.example.service.UniversalInterface; +import lombok.AllArgsConstructor; +import org.apache.axis.AxisEngine; +import org.apache.axis.AxisFault; +import org.apache.axis.NoEndPointException; +import org.apache.axis.client.Call; +import org.apache.axis.client.Stub; +import org.apache.axis.soap.SOAPConstants; +import org.apache.axis.utils.JavaUtils; +import org.springframework.stereotype.Service; + +import javax.xml.namespace.QName; +import java.lang.ThreadLocal; +import java.rmi.RemoteException; + +import static jdk.nashorn.api.scripting.ScriptUtils.convert; + +public class UniversalInterfaceImplServiceSoapBindingStub extends Stub implements UniversalInterface { + private java.util.Vector cachedSerClasses = new java.util.Vector(); + private java.util.Vector cachedSerQNames = new java.util.Vector(); + private java.util.Vector cachedSerFactories = new java.util.Vector(); + private java.util.Vector cachedDeserFactories = new java.util.Vector(); + + static org.apache.axis.description.OperationDesc [] _operations; + + static { + _operations = new org.apache.axis.description.OperationDesc[9]; + _initOperationDesc1(); + } + + private static void _initOperationDesc1(){ + org.apache.axis.description.OperationDesc oper; + org.apache.axis.description.ParameterDesc param; + oper = new org.apache.axis.description.OperationDesc(); + oper.setName("queryClassify"); + param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "arg0"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); + param.setOmittable(true); + oper.addParameter(param); + param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "arg1"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); + param.setOmittable(true); + oper.addParameter(param); + oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + oper.setReturnClass(java.lang.String.class); + oper.setReturnQName(new javax.xml.namespace.QName("", "return")); + oper.setStyle(org.apache.axis.constants.Style.WRAPPED); + oper.setUse(org.apache.axis.constants.Use.LITERAL); + _operations[0] = oper; + + oper = new org.apache.axis.description.OperationDesc(); + oper.setName("syncEditData"); + param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "arg0"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); + param.setOmittable(true); + oper.addParameter(param); + param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "arg1"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); + param.setOmittable(true); + oper.addParameter(param); + oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + oper.setReturnClass(java.lang.String.class); + oper.setReturnQName(new javax.xml.namespace.QName("", "return")); + oper.setStyle(org.apache.axis.constants.Style.WRAPPED); + oper.setUse(org.apache.axis.constants.Use.LITERAL); + _operations[1] = oper; + + oper = new org.apache.axis.description.OperationDesc(); + oper.setName("queryData"); + param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "arg0"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); + param.setOmittable(true); + oper.addParameter(param); + param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "arg1"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); + param.setOmittable(true); + oper.addParameter(param); + oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + oper.setReturnClass(java.lang.String.class); + oper.setReturnQName(new javax.xml.namespace.QName("", "return")); + oper.setStyle(org.apache.axis.constants.Style.WRAPPED); + oper.setUse(org.apache.axis.constants.Use.LITERAL); + _operations[2] = oper; + + oper = new org.apache.axis.description.OperationDesc(); + oper.setName("setThreadLocal"); + param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "arg0"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://code.ubcs.vci.com/", "threadLocal"), ThreadLocal.class, false, false); + param.setOmittable(true); + oper.addParameter(param); + oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID); + oper.setStyle(org.apache.axis.constants.Style.WRAPPED); + oper.setUse(org.apache.axis.constants.Use.LITERAL); + _operations[3] = oper; + + oper = new org.apache.axis.description.OperationDesc(); + oper.setName("applyCode"); + param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "arg0"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); + param.setOmittable(true); + oper.addParameter(param); + param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "arg1"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); + param.setOmittable(true); + oper.addParameter(param); + oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + oper.setReturnClass(java.lang.String.class); + oper.setReturnQName(new javax.xml.namespace.QName("", "return")); + oper.setStyle(org.apache.axis.constants.Style.WRAPPED); + oper.setUse(org.apache.axis.constants.Use.LITERAL); + _operations[4] = oper; + + oper = new org.apache.axis.description.OperationDesc(); + oper.setName("syncDataForPerson"); + param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "arg0"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://code.ubcs.vci.com/", "personData"), PersonData.class, false, false); + param.setOmittable(true); + oper.addParameter(param); + oper.setReturnType(new javax.xml.namespace.QName("http://code.ubcs.vci.com/", "resultOrgData")); + oper.setReturnClass(ResultOrgData.class); + oper.setReturnQName(new javax.xml.namespace.QName("", "return")); + oper.setStyle(org.apache.axis.constants.Style.WRAPPED); + oper.setUse(org.apache.axis.constants.Use.LITERAL); + _operations[5] = oper; + + oper = new org.apache.axis.description.OperationDesc(); + oper.setName("queryClassifyRule"); + param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "arg0"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); + param.setOmittable(true); + oper.addParameter(param); + param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "arg1"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); + param.setOmittable(true); + oper.addParameter(param); + oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + oper.setReturnClass(java.lang.String.class); + oper.setReturnQName(new javax.xml.namespace.QName("", "return")); + oper.setStyle(org.apache.axis.constants.Style.WRAPPED); + oper.setUse(org.apache.axis.constants.Use.LITERAL); + _operations[6] = oper; + + oper = new org.apache.axis.description.OperationDesc(); + oper.setName("applyCodeForBZ"); + param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "arg0"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); + param.setOmittable(true); + oper.addParameter(param); + param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "arg1"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false); + param.setOmittable(true); + oper.addParameter(param); + oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + oper.setReturnClass(java.lang.String.class); + oper.setReturnQName(new javax.xml.namespace.QName("", "return")); + oper.setStyle(org.apache.axis.constants.Style.WRAPPED); + oper.setUse(org.apache.axis.constants.Use.LITERAL); + _operations[7] = oper; + + oper = new org.apache.axis.description.OperationDesc(); + oper.setName("syncDataForOrg"); + param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "arg0"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://code.ubcs.vci.com/", "orgData"), OrgData.class, false, false); + param.setOmittable(true); + oper.addParameter(param); + oper.setReturnType(new javax.xml.namespace.QName("http://code.ubcs.vci.com/", "resultOrgData")); + oper.setReturnClass(ResultOrgData.class); + oper.setReturnQName(new javax.xml.namespace.QName("", "return")); + oper.setStyle(org.apache.axis.constants.Style.WRAPPED); + oper.setUse(org.apache.axis.constants.Use.LITERAL); + _operations[8] = oper; + + } + + public UniversalInterfaceImplServiceSoapBindingStub() throws org.apache.axis.AxisFault { + this(null); + } + + public UniversalInterfaceImplServiceSoapBindingStub(java.net.URL endpointURL, javax.xml.rpc.Service service) throws org.apache.axis.AxisFault { + this(service); + super.cachedEndpoint = endpointURL; + } + + public UniversalInterfaceImplServiceSoapBindingStub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault { + if (service == null) { + super.service = new org.apache.axis.client.Service(); + } else { + super.service = service; + } + ((org.apache.axis.client.Service)super.service).setTypeMappingVersion("1.2"); + java.lang.Class cls; + javax.xml.namespace.QName qName; + javax.xml.namespace.QName qName2; + java.lang.Class beansf = org.apache.axis.encoding.ser.BeanSerializerFactory.class; + java.lang.Class beandf = org.apache.axis.encoding.ser.BeanDeserializerFactory.class; + java.lang.Class enumsf = org.apache.axis.encoding.ser.EnumSerializerFactory.class; + java.lang.Class enumdf = org.apache.axis.encoding.ser.EnumDeserializerFactory.class; + java.lang.Class arraysf = org.apache.axis.encoding.ser.ArraySerializerFactory.class; + java.lang.Class arraydf = org.apache.axis.encoding.ser.ArrayDeserializerFactory.class; + java.lang.Class simplesf = org.apache.axis.encoding.ser.SimpleSerializerFactory.class; + java.lang.Class simpledf = org.apache.axis.encoding.ser.SimpleDeserializerFactory.class; + java.lang.Class simplelistsf = org.apache.axis.encoding.ser.SimpleListSerializerFactory.class; + java.lang.Class simplelistdf = org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class; + qName = new javax.xml.namespace.QName("http://code.ubcs.vci.com/", "enumerableData"); + cachedSerQNames.add(qName); + cls = EnumerableData.class; + cachedSerClasses.add(cls); + cachedSerFactories.add(beansf); + cachedDeserFactories.add(beandf); + + qName = new javax.xml.namespace.QName("http://code.ubcs.vci.com/", "orgData"); + cachedSerQNames.add(qName); + cls = OrgData.class; + cachedSerClasses.add(cls); + cachedSerFactories.add(beansf); + cachedDeserFactories.add(beandf); + + qName = new javax.xml.namespace.QName("http://code.ubcs.vci.com/", "orgMasterData"); + cachedSerQNames.add(qName); + cls = OrgMasterData.class; + cachedSerClasses.add(cls); + cachedSerFactories.add(beansf); + cachedDeserFactories.add(beandf); + + qName = new javax.xml.namespace.QName("http://code.ubcs.vci.com/", "personData"); + cachedSerQNames.add(qName); + cls = PersonData.class; + cachedSerClasses.add(cls); + cachedSerFactories.add(beansf); + cachedDeserFactories.add(beandf); + + qName = new javax.xml.namespace.QName("http://code.ubcs.vci.com/", "personMasterData"); + cachedSerQNames.add(qName); + cls = PersonMasterData.class; + cachedSerClasses.add(cls); + cachedSerFactories.add(beansf); + cachedDeserFactories.add(beandf); + + qName = new javax.xml.namespace.QName("http://code.ubcs.vci.com/", "resultMdMapping"); + cachedSerQNames.add(qName); + cls = ResultMdMapping.class; + cachedSerClasses.add(cls); + cachedSerFactories.add(beansf); + cachedDeserFactories.add(beandf); + + qName = new javax.xml.namespace.QName("http://code.ubcs.vci.com/", "resultOrgData"); + cachedSerQNames.add(qName); + cls = ResultOrgData.class; + cachedSerClasses.add(cls); + cachedSerFactories.add(beansf); + cachedDeserFactories.add(beandf); + + qName = new javax.xml.namespace.QName("http://code.ubcs.vci.com/", "threadLocal"); + cachedSerQNames.add(qName); + cls = ThreadLocal.class; + cachedSerClasses.add(cls); + cachedSerFactories.add(beansf); + cachedDeserFactories.add(beandf); + + } + + protected Call createCall() throws RemoteException { + try { + org.apache.axis.client.Call _call = super._createCall(); + if (super.maintainSessionSet) { + _call.setMaintainSession(super.maintainSession); + } + if (super.cachedUsername != null) { + _call.setUsername(super.cachedUsername); + } + if (super.cachedPassword != null) { + _call.setPassword(super.cachedPassword); + } + if (super.cachedEndpoint != null) { + _call.setTargetEndpointAddress(super.cachedEndpoint); + } + if (super.cachedTimeout != null) { + _call.setTimeout(super.cachedTimeout); + } + if (super.cachedPortName != null) { + _call.setPortName(super.cachedPortName); + } + java.util.Enumeration keys = super.cachedProperties.keys(); + while (keys.hasMoreElements()) { + java.lang.String key = (java.lang.String) keys.nextElement(); + _call.setProperty(key, super.cachedProperties.get(key)); + } + // All the type mapping information is registered + // when the first call is made. + // The type mapping information is actually registered in + // the TypeMappingRegistry of the service, which + // is the reason why registration is only needed for the first call. + synchronized (this) { + if (firstCall()) { + // must set encoding style before registering serializers + _call.setEncodingStyle(null); + for (int i = 0; i < cachedSerFactories.size(); ++i) { + java.lang.Class cls = (java.lang.Class) cachedSerClasses.get(i); + javax.xml.namespace.QName qName = + (javax.xml.namespace.QName) cachedSerQNames.get(i); + java.lang.Object x = cachedSerFactories.get(i); + if (x instanceof Class) { + java.lang.Class sf = (java.lang.Class) + cachedSerFactories.get(i); + java.lang.Class df = (java.lang.Class) + cachedDeserFactories.get(i); + _call.registerTypeMapping(cls, qName, sf, df, false); + } + else if (x instanceof javax.xml.rpc.encoding.SerializerFactory) { + org.apache.axis.encoding.SerializerFactory sf = (org.apache.axis.encoding.SerializerFactory) + cachedSerFactories.get(i); + org.apache.axis.encoding.DeserializerFactory df = (org.apache.axis.encoding.DeserializerFactory) + cachedDeserFactories.get(i); + _call.registerTypeMapping(cls, qName, sf, df, false); + } + } + } + } + return _call; + } + catch (java.lang.Throwable _t) { + throw new org.apache.axis.AxisFault("Failure trying to get the Call object", _t); + } + } + + public String queryClassify(String arg0, String arg1) throws RemoteException { + if (super.cachedEndpoint == null) { + throw new org.apache.axis.NoEndPointException(); + } + org.apache.axis.client.Call _call = createCall(); + _call.setOperation(_operations[0]); + _call.setUseSOAPAction(true); + _call.setSOAPActionURI(""); + _call.setEncodingStyle(null); + _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); + _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); + _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); + _call.setOperationName(new javax.xml.namespace.QName("http://code.ubcs.vci.com/", "queryClassify")); + + setRequestHeaders(_call); + setAttachments(_call); + try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {arg0, arg1}); + + if (_resp instanceof java.rmi.RemoteException) { + throw (java.rmi.RemoteException)_resp; + } + else { + extractAttachments(_call); + try { + return (java.lang.String) _resp; + } catch (java.lang.Exception _exception) { + return (java.lang.String) org.apache.axis.utils.JavaUtils.convert(_resp, java.lang.String.class); + } + } + } catch (org.apache.axis.AxisFault axisFaultException) { + throw axisFaultException; +} + } + + public String syncEditData(String arg0, String arg1) throws RemoteException { + if (super.cachedEndpoint == null) { + throw new org.apache.axis.NoEndPointException(); + } + org.apache.axis.client.Call _call = createCall(); + _call.setOperation(_operations[1]); + _call.setUseSOAPAction(true); + _call.setSOAPActionURI(""); + _call.setEncodingStyle(null); + _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); + _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); + _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); + _call.setOperationName(new javax.xml.namespace.QName("http://code.ubcs.vci.com/", "syncEditData")); + + setRequestHeaders(_call); + setAttachments(_call); + try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {arg0, arg1}); + + if (_resp instanceof java.rmi.RemoteException) { + throw (java.rmi.RemoteException)_resp; + } + else { + extractAttachments(_call); + try { + return (java.lang.String) _resp; + } catch (java.lang.Exception _exception) { + return (java.lang.String) org.apache.axis.utils.JavaUtils.convert(_resp, java.lang.String.class); + } + } + } catch (org.apache.axis.AxisFault axisFaultException) { + throw axisFaultException; +} + } + + public String queryData(String arg0, String arg1) throws RemoteException { + if (super.cachedEndpoint == null) { + throw new org.apache.axis.NoEndPointException(); + } + org.apache.axis.client.Call _call = createCall(); + _call.setOperation(_operations[2]); + _call.setUseSOAPAction(true); + _call.setSOAPActionURI(""); + _call.setEncodingStyle(null); + _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); + _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); + _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); + _call.setOperationName(new javax.xml.namespace.QName("http://code.ubcs.vci.com/", "queryData")); + + setRequestHeaders(_call); + setAttachments(_call); + try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {arg0, arg1}); + + if (_resp instanceof java.rmi.RemoteException) { + throw (java.rmi.RemoteException)_resp; + } + else { + extractAttachments(_call); + try { + return (java.lang.String) _resp; + } catch (java.lang.Exception _exception) { + return (java.lang.String) org.apache.axis.utils.JavaUtils.convert(_resp, java.lang.String.class); + } + } + } catch (org.apache.axis.AxisFault axisFaultException) { + throw axisFaultException; +} + } + + public String applyCode(String arg0, String arg1) throws RemoteException { + if (super.cachedEndpoint == null) { + throw new org.apache.axis.NoEndPointException(); + } + org.apache.axis.client.Call _call = createCall(); + _call.setOperation(_operations[4]); + _call.setUseSOAPAction(true); + _call.setSOAPActionURI(""); + _call.setEncodingStyle(null); + _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); + _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); + _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); + _call.setOperationName(new javax.xml.namespace.QName("http://code.ubcs.vci.com/", "applyCode")); + + setRequestHeaders(_call); + setAttachments(_call); + try { + java.lang.Object _resp = _call.invoke(new java.lang.Object[] {arg0, arg1}); + + if (_resp instanceof java.rmi.RemoteException) { + throw (java.rmi.RemoteException)_resp; + } + else { + extractAttachments(_call); + try { + return (java.lang.String) _resp; + } catch (java.lang.Exception _exception) { + return (java.lang.String) org.apache.axis.utils.JavaUtils.convert(_resp, java.lang.String.class); + } + } + } catch (org.apache.axis.AxisFault axisFaultException) { + throw axisFaultException; + } + } + + public ResultOrgData syncDataForPerson(PersonData arg0) throws RemoteException { + if (super.cachedEndpoint == null) { + throw new NoEndPointException(); + } + Call _call = createCall(); + _call.setOperation(_operations[5]); + _call.setUseSOAPAction(true); + _call.setSOAPActionURI(""); + _call.setEncodingStyle(null); + _call.setProperty(Call.SEND_TYPE_ATTR, Boolean.FALSE); + _call.setProperty(AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); + _call.setSOAPVersion(SOAPConstants.SOAP11_CONSTANTS); + _call.setOperationName(new QName("http://code.ubcs.vci.com/", "syncDataForPerson")); + + setRequestHeaders(_call); + setAttachments(_call); + try { + java.lang.Object _resp = _call.invoke(new java.lang.Object[] {arg0}); + if (_resp instanceof java.rmi.RemoteException) { + throw (java.rmi.RemoteException)_resp; + }else { + extractAttachments(_call); + try { + return (ResultOrgData) _resp; + } catch (java.lang.Exception _exception) { + return (ResultOrgData) org.apache.axis.utils.JavaUtils.convert(_resp, ResultOrgData.class); + } + } + } catch (org.apache.axis.AxisFault axisFaultException) { + throw axisFaultException; + } + } + + public String queryClassifyRule(String arg0, String arg1) throws RemoteException { + if (super.cachedEndpoint == null) { + throw new org.apache.axis.NoEndPointException(); + } + org.apache.axis.client.Call _call = createCall(); + _call.setOperation(_operations[6]); + _call.setUseSOAPAction(true); + _call.setSOAPActionURI(""); + _call.setEncodingStyle(null); + _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); + _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); + _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); + _call.setOperationName(new javax.xml.namespace.QName("http://code.ubcs.vci.com/", "queryClassifyRule")); + + setRequestHeaders(_call); + setAttachments(_call); + try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {arg0, arg1}); + + if (_resp instanceof java.rmi.RemoteException) { + throw (java.rmi.RemoteException)_resp; + } + else { + extractAttachments(_call); + try { + return (java.lang.String) _resp; + } catch (java.lang.Exception _exception) { + return (java.lang.String) org.apache.axis.utils.JavaUtils.convert(_resp, java.lang.String.class); + } + } + } catch (org.apache.axis.AxisFault axisFaultException) { + throw axisFaultException; +} + } + + public String applyCodeForBZ(String arg0, String arg1) throws RemoteException { + if (super.cachedEndpoint == null) { + throw new NoEndPointException(); + } + Call _call = createCall(); + _call.setOperation(_operations[7]); + _call.setUseSOAPAction(true); + _call.setSOAPActionURI(""); + _call.setEncodingStyle(null); + _call.setProperty(Call.SEND_TYPE_ATTR, Boolean.FALSE); + _call.setProperty(AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); + _call.setSOAPVersion(SOAPConstants.SOAP11_CONSTANTS); + _call.setOperationName(new QName("http://code.ubcs.vci.com/", "applyCodeForBZ")); + + setRequestHeaders(_call); + setAttachments(_call); + try { + Object _resp = _call.invoke(new Object[] {arg0, arg1}); + if (_resp instanceof RemoteException) { + throw (RemoteException)_resp; + } + else { + extractAttachments(_call); + try { + return (String) _resp; + } catch (Exception _exception) { + return (String) convert(_resp, String.class); + } + } + } catch (AxisFault axisFaultException) { + throw axisFaultException; + } + } + + public ResultOrgData syncDataForOrg(OrgData arg0) throws RemoteException { + if (super.cachedEndpoint == null) { + throw new NoEndPointException(); + } + Call _call = createCall(); + _call.setOperation(_operations[8]); + _call.setUseSOAPAction(true); + _call.setSOAPActionURI(""); + _call.setEncodingStyle(null); + _call.setProperty(Call.SEND_TYPE_ATTR, Boolean.FALSE); + _call.setProperty(AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); + _call.setSOAPVersion(SOAPConstants.SOAP11_CONSTANTS); + _call.setOperationName(new QName("http://code.ubcs.vci.com/", "syncDataForOrg")); + + setRequestHeaders(_call); + setAttachments(_call); + try { + Object _resp = _call.invoke(new Object[] {arg0}); + if (_resp instanceof java.rmi.RemoteException) { + throw (java.rmi.RemoteException)_resp; + }else { + extractAttachments(_call); + try { + return (ResultOrgData) _resp; + } catch (java.lang.Exception _exception) { + return (ResultOrgData) JavaUtils.convert(_resp, ResultOrgData.class); + } + } + } catch (AxisFault axisFaultException) { + throw axisFaultException; + } + } + +} diff --git "a/Source/ExampleIntegratedPushCalled/\347\274\226\347\240\201\350\265\204\346\272\220\347\256\241\347\220\206\347\263\273\347\273\237\351\233\206\346\210\220\347\273\237\344\270\200\346\216\245\345\217\243json\345\217\202\346\225\260\347\244\272\344\276\213" "b/Source/ExampleIntegratedPushCalled/\347\274\226\347\240\201\350\265\204\346\272\220\347\256\241\347\220\206\347\263\273\347\273\237\351\233\206\346\210\220\347\273\237\344\270\200\346\216\245\345\217\243json\345\217\202\346\225\260\347\244\272\344\276\213" deleted file mode 100644 index e69de29..0000000 --- "a/Source/ExampleIntegratedPushCalled/\347\274\226\347\240\201\350\265\204\346\272\220\347\256\241\347\220\206\347\263\273\347\273\237\351\233\206\346\210\220\347\273\237\344\270\200\346\216\245\345\217\243json\345\217\202\346\225\260\347\244\272\344\276\213" +++ /dev/null diff --git a/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/vo/webserviceModel/applybz/ApplyBZDataVO.java b/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/vo/webserviceModel/applybz/ApplyBZDataVO.java index 6766feb..eff9497 100644 --- a/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/vo/webserviceModel/applybz/ApplyBZDataVO.java +++ b/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/vo/webserviceModel/applybz/ApplyBZDataVO.java @@ -4,7 +4,6 @@ import com.thoughtworks.xstream.annotations.XStreamAsAttribute; import com.thoughtworks.xstream.annotations.XStreamImplicit; import com.vci.ubcs.code.vo.webserviceModel.apply.ProppertyVO; -import org.springframework.beans.factory.annotation.Value; import java.util.List; diff --git a/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/vo/webserviceModel/applybz/ApplyBZVO.java b/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/vo/webserviceModel/applybz/ApplyBZVO.java index f3a302a..09b079a 100644 --- a/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/vo/webserviceModel/applybz/ApplyBZVO.java +++ b/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/vo/webserviceModel/applybz/ApplyBZVO.java @@ -2,7 +2,6 @@ import com.thoughtworks.xstream.annotations.XStreamAlias; import com.thoughtworks.xstream.annotations.XStreamAsAttribute; -import com.vci.ubcs.code.vo.webserviceModel.apply.ClassfyVO; import com.vci.ubcs.code.vo.webserviceModel.apply.UserVO; /** diff --git a/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/vo/webserviceModel/applybz/ClassfyBZVO.java b/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/vo/webserviceModel/applybz/ClassfyBZVO.java index 6110e1f..40a9bfb 100644 --- a/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/vo/webserviceModel/applybz/ClassfyBZVO.java +++ b/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/vo/webserviceModel/applybz/ClassfyBZVO.java @@ -2,7 +2,6 @@ import com.thoughtworks.xstream.annotations.XStreamAlias; import com.thoughtworks.xstream.annotations.XStreamAsAttribute; -import com.vci.ubcs.code.vo.webserviceModel.apply.ApplyDatasVO; import com.vci.ubcs.code.vo.webserviceModel.apply.SectionsVO; /** diff --git a/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/constant/MdmEngineConstant.java b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/constant/MdmEngineConstant.java index d941f9a..b56c17a 100644 --- a/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/constant/MdmEngineConstant.java +++ b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/constant/MdmEngineConstant.java @@ -142,7 +142,7 @@ public static final List DEFAULT_ATTR_LIST = new ArrayList(){{ add(CODE_FIELD); add(CODE_STATUS_FILED); - add(CODE_GROUP_FIELD); + // add(CODE_GROUP_FIELD); add(CODE_CLASSIFY_OID_FIELD); add(CODE_TEMPLATE_OID_FIELD); add(CODE_FULL_PATH_FILED); diff --git a/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/controller/MdmCountController.java b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/controller/MdmCountController.java index 96497ad..c874b40 100644 --- a/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/controller/MdmCountController.java +++ b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/controller/MdmCountController.java @@ -2,7 +2,6 @@ import com.vci.ubcs.code.entity.MdmCount; import com.vci.ubcs.code.service.IMdmCountService; -import com.vci.ubcs.code.service.MdmProductCodeService; import io.swagger.annotations.Api; import lombok.AllArgsConstructor; import org.apache.ibatis.annotations.Param; diff --git a/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/impl/MdmProductCodeServiceImpl.java b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/impl/MdmProductCodeServiceImpl.java index e7a1835..9a6311d 100644 --- a/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/impl/MdmProductCodeServiceImpl.java +++ b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/impl/MdmProductCodeServiceImpl.java @@ -360,7 +360,11 @@ List<CodeBasicSecVO> attrSecVOList = new ArrayList<>(); for (int i = 0; i < secVOList.size(); i++) { CodeBasicSecVO secVO = secVOList.get(i); - switchSecValue(secVO, secValueMap, classifyFullInfoBO, serialSecVOList, attrSecVOList, serialUnitList, secValueList); + try { + switchSecValue(secVO, secValueMap, classifyFullInfoBO, serialSecVOList, attrSecVOList, serialUnitList, secValueList); + }catch (Exception e){ + throw new ServiceException("鐮佸�艰浆鎹㈡椂鍑虹幇閿欒锛屽師鍥狅細"+e.getMessage()); + } } //澶勭悊灞炴�х爜娈靛拰娴佹按鐮佹 Map<String/**娴佹按鐮佹鐨勪富閿�**/, Map<String/**娴佹按渚濇嵁**/, String>> lastMaxSerialValueMap = new HashMap<>(); @@ -884,7 +888,7 @@ case CODE_VARIABLE_SEC: //鍙彉鐮佹锛屾槸鍦ㄩ〉闈笂杈撳叆鍐呭 if (secValue.length() > VciBaseUtil.getInt(secVO.getCodeSecLength())) { - throw new VciBaseException("銆恵0}銆戣繖涓爜娈垫槸鍙彉鐮佹锛屼絾鏄幇鍦ㄨ緭鍏ョ殑鐮佸�肩殑闀垮害({1})瓒呰繃浜嗚瀹氱殑闀垮害{2}", new String[]{secVO.getName(), String.valueOf(secValue.length()), secVO.getCodeSecLength()}); + throw new ServiceException(String.format("銆恵%s}銆戣繖涓爜娈垫槸鍙彉鐮佹锛屼絾鏄幇鍦ㄨ緭鍏ョ殑鐮佸�肩殑闀垮害({%s})瓒呰繃浜嗚瀹氱殑闀垮害{%s}", secVO.getName(), secValue.length(), secVO.getCodeSecLength())); } OsCodeFillTypeEnum fillTypeEnum = OsCodeFillTypeEnum.forValue(secVO.getCodeFillType()); secValue = fillString(VciBaseUtil.getInt(secVO.getCodeSecLength()), fillTypeEnum, secValue, secVO.getCodeFillSeparator()); diff --git a/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/impl/UniversalInterfaceImpl.java b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/impl/UniversalInterfaceImpl.java index 9528c9e..ea79cdb 100644 --- a/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/impl/UniversalInterfaceImpl.java +++ b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/impl/UniversalInterfaceImpl.java @@ -668,6 +668,7 @@ } catch (Exception e) { mesg=e.getMessage(); e.printStackTrace(); + throw new ServiceException(e.getMessage()); }finally { XMLResultDataObjectDetailDO x=new XMLResultDataObjectDetailDO(); x.setId(rowData.getOid()); @@ -694,7 +695,7 @@ } }catch (Throwable e){ success.set(false); - message="浜哄憳鏁版嵁鎺ュ彈澶辫触:"+e.getMessage(); + message="浜哄憳鏁版嵁鎺ユ敹澶辫触:"+e.getMessage(); //缁勭粐杩斿洖缁撴灉 boolean finalSuccess = success.get(); String finalMessage = message; @@ -944,8 +945,8 @@ } } catch (Exception e) { mesg=e.getMessage(); - e.getMessage(); e.printStackTrace(); + throw new ServiceException(e.getMessage()); }finally { XMLResultDataObjectDetailDO x=new XMLResultDataObjectDetailDO(); x.setId(rowData.getOid()); -- Gitblit v1.9.3