From 4a073dbf8c37277324dde716cd96d88285d941ea Mon Sep 17 00:00:00 2001 From: sunhongfei01 Date: Wed, 26 Jun 2024 16:58:19 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=8A=9B=E5=87=BA=E5=BC=82=E5=B8=B8?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=E8=87=AA=E5=AE=9A=E4=B9=89=E5=BC=82=E5=B8=B8?= =?UTF-8?q?CefGenException?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../variable/dtgenerator/VariableGeneratorContext.java | 3 ++- .../variable/dtgenerator/config/VarConfigGenerator.java | 3 ++- .../cmpgenerators/CommonOperationComponentGenerator.java | 9 ++++----- .../JavaBaseCommonCompCodeGenerator.java | 7 ++++--- 4 files changed, 12 insertions(+), 10 deletions(-) diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/VariableGeneratorContext.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/VariableGeneratorContext.java index 932968c..4b3111e 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/VariableGeneratorContext.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/VariableGeneratorContext.java @@ -34,6 +34,7 @@ package com.inspur.edp.cef.variable.dtgenerator; import com.inspur.edp.cef.designtime.api.IGspCommonDataType; import com.inspur.edp.cef.designtime.api.variable.CommonVariableEntity; import com.inspur.edp.cef.entity.dependenceTemp.DataValidator; +import com.inspur.edp.cef.generator.exception.CefGenException; import com.inspur.edp.cef.generator.overall.CefGeneratorContext; import com.inspur.edp.cef.generator.overall.ICefGeneratorContext; import com.inspur.edp.cef.variable.dtgenerator.core.VariableCoreGenCtx; @@ -67,7 +68,7 @@ public class VariableGeneratorContext extends CefGeneratorContext { @Override public String getDataTypeNamespace() { - throw new RuntimeException("变量不能持久化"); + throw new CefGenException("变量不能持久化"); } @Override diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/config/VarConfigGenerator.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/config/VarConfigGenerator.java index 988dd7f..1344795 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/config/VarConfigGenerator.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/config/VarConfigGenerator.java @@ -34,6 +34,7 @@ import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.module.SimpleModule; import com.inspur.edp.cef.entity.config.MgrConfig; +import com.inspur.edp.cef.generator.exception.CefGenException; import com.inspur.edp.cef.variable.dtgenerator.VariableGeneratorContext; import org.springframework.core.serializer.Serializer; @@ -66,7 +67,7 @@ public class VarConfigGenerator try { return (mapper.writeValueAsString(config)); } catch (JsonProcessingException e) { - throw new RuntimeException(e); + throw new CefGenException(e); } } diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/vardtmGenerate/cmpgenerators/CommonOperationComponentGenerator.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/vardtmGenerate/cmpgenerators/CommonOperationComponentGenerator.java index 42458d9..7bbd3c4 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/vardtmGenerate/cmpgenerators/CommonOperationComponentGenerator.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/vardtmGenerate/cmpgenerators/CommonOperationComponentGenerator.java @@ -33,7 +33,7 @@ package com.inspur.edp.cef.variable.dtgenerator.vardtmGenerate.cmpgenerators; import com.inspur.edp.bef.component.base.GspComponent; import com.inspur.edp.cef.designtime.api.operation.CommonOperation; import com.inspur.edp.cef.generator.DotNetToJavaStringHelper; -import com.inspur.edp.cef.variable.dtgenerator.vardtmGenerate.CompCodeNames; +import com.inspur.edp.cef.generator.exception.CefGenException; import com.inspur.edp.cef.variable.dtgenerator.vardtmGenerate.JavaCompCodeNames; import com.inspur.edp.das.commonmodel.entity.GspCommonModel; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; @@ -115,7 +115,7 @@ public abstract class CommonOperationComponentGenerator public GspMetadata createComponent(GspCommonModel model, CommonOperation operation, String path, String varEntityCode, String assemblyName, String defaultNamespace, String bizObjectID) { if(!StringUtils.isEmpty(operation.getComponentId())) { - throw new RuntimeException(operation.getCode()+"构件上已存在构件"); + throw new CefGenException(operation.getCode()+"构件上已存在构件"); } this.varEntityCode = varEntityCode; this.assemblyName = assemblyName; @@ -178,9 +178,8 @@ public abstract class CommonOperationComponentGenerator MetadataService metadataService = SpringBeanUtils.getBean(MetadataService.class); // 带针对不同类型构件的扩展名的文件全名 String metadataFileNameWithExtendName = operation.getComponentName()+ JavaCompCodeNames.UDTDtmCmpExtendName; - if (!metadataService.isMetadataExist(path, metadataFileNameWithExtendName)) - { - throw new RuntimeException("构件元数据" + metadataFileNameWithExtendName + "不存在!"); + if (!metadataService.isMetadataExist(path, metadataFileNameWithExtendName)) { + throw new CefGenException("构件元数据" + metadataFileNameWithExtendName + "不存在!"); } fullPath = path + "\\" + metadataFileNameWithExtendName; GspComponent originalComponent = GetOriginalComponent(path, metadataFileNameWithExtendName); diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/vardtmGenerate/javageneratecmpcode/JavaBaseCommonCompCodeGenerator.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/vardtmGenerate/javageneratecmpcode/JavaBaseCommonCompCodeGenerator.java index 756d88f..4f1ba9a 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/vardtmGenerate/javageneratecmpcode/JavaBaseCommonCompCodeGenerator.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/vardtmGenerate/javageneratecmpcode/JavaBaseCommonCompCodeGenerator.java @@ -33,6 +33,7 @@ package com.inspur.edp.cef.variable.dtgenerator.vardtmGenerate.javageneratecmpco import com.google.common.util.concurrent.ServiceManager; import com.inspur.edp.bef.component.base.GspComponent; import com.inspur.edp.cef.designtime.api.operation.CommonOperation; +import com.inspur.edp.cef.generator.exception.CefGenException; import com.inspur.edp.cef.variable.dtgenerator.vardtmGenerate.JavaCompCodeNames; import com.inspur.edp.das.commonmodel.entity.GspCommonModel; import com.inspur.edp.lcm.metadata.api.IMetadataContent; @@ -110,11 +111,11 @@ public abstract class JavaBaseCommonCompCodeGenerator implements JavaIBaseCompCo GspMetadata metadata = getLcmDtService().getRefMetadata(operation.getComponentId()); if (metadata == null) { - throw new RuntimeException("没有生成构件,无法继续生成代码"); + throw new CefGenException("没有生成构件,无法继续生成代码"); } IMetadataContent content = metadata.getContent(); - String fullClassName = ""; + String fullClassName; if (content instanceof GspComponent) { GspComponent component = (GspComponent)((metadata.getContent() instanceof GspComponent) ? metadata.getContent() : null); @@ -122,7 +123,7 @@ public abstract class JavaBaseCommonCompCodeGenerator implements JavaIBaseCompCo } else { - throw new RuntimeException("当前元数据不属于构件元数据"); + throw new CefGenException("当前元数据不属于构件元数据"); } String[] sections = fullClassName.split("[.]", -1); -- Gitee From e6ad4102adc324601b2e9c5abc877cafd49d37bd Mon Sep 17 00:00:00 2001 From: sunhongfei01 Date: Wed, 26 Jun 2024 17:04:54 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E6=97=A0=E7=94=A8copyrig?= =?UTF-8?q?ht=E5=92=8Cimport?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dtgenerator/VariableGenerator.java | 14 -------- .../dtgenerator/VariableGeneratorContext.java | 14 -------- .../variable/dtgenerator/api/ApiHelper.java | 14 -------- .../api/VariableApiGenContext.java | 14 -------- .../dtgenerator/api/VariableApiGenerator.java | 14 -------- .../VariableMgrInerfaceGenCtx.java | 14 -------- .../VariableMgrInterfaceGenerator.java | 16 --------- .../resinfo/VarModelInfoCtorGenerator.java | 15 --------- .../resinfo/VarModelInfoGenerator.java | 15 --------- .../VarModelInfoGetResourceGenerator.java | 15 --------- .../VariableMgrAllInterfaceGenerator.java | 14 -------- .../VariableMgrInerfaceGenCtx.java | 25 +++----------- .../VariableAllInterfaceGenerator.java | 14 -------- .../VariableInterfaceGenerator.java | 14 -------- .../VariableResInfoCtorGenerator.java | 18 +--------- .../VariableResourceInfoGenerator.java | 14 -------- .../config/VarConfigGenerator.java | 33 ------------------- .../dtgenerator/core/VariableCoreGenCtx.java | 15 --------- .../core/VariableCoreGenerator.java | 15 --------- .../rtgenerator/entity/VarEntityGenCtx.java | 14 -------- .../entity/VarEntityGenerator.java | 14 -------- .../rtgenerator/entity/VarImplGenerator.java | 16 --------- .../cacheinfo/GetCacheInfoFieldGenerator.java | 14 -------- .../GetCacheInfoMethodGenerator.java | 14 -------- .../entity/data/VarDataImplGenCtx.java | 14 -------- .../entity/data/VarDataImplGenerator.java | 14 -------- .../entity/data/VariableAcsGenerator.java | 14 -------- ...reateAfterModifyDtmAssMethodGenerator.java | 18 ---------- .../entity/method/VarCtorGenerator.java | 14 -------- .../manager/CreateAbstractUdtGenerator.java | 14 -------- .../rtgenerator/manager/MgrImplGenCtx.java | 14 -------- .../manager/VarManagerGenerator.java | 14 -------- .../manager/VarManagerImplGenerator.java | 14 -------- .../rtgenerator/manager/VarMgrGenContext.java | 14 -------- .../VarAccessorCreatorGenerator.java | 14 -------- .../VarCreateAccessorGenerator.java | 14 -------- .../VarCreateReadonlyAccessorGenerator.java | 14 -------- .../VarRepositoryPropertyGenerator.java | 14 -------- .../serialize/GetChangeDeserGenerator.java | 16 --------- .../GetChangeSerializerGenerator.java | 14 -------- .../entity/VarEntityGenContext.java | 14 -------- .../entity/VariableEntityGenerator.java | 14 -------- .../entity/VariableNodeGenerator.java | 14 -------- .../entity/VariableNodeGeneratorContext.java | 14 -------- .../entity/data/VariableDataGenerator.java | 16 +-------- .../vardtmGenerate/CompCodeNames.java | 14 -------- .../vardtmGenerate/JavaCompCodeNames.java | 14 -------- .../cmpgenerators/CommonDtmGenerator.java | 14 -------- .../CommonOperationComponentGenerator.java | 24 -------------- .../ComponentClassNameGenerator.java | 15 --------- .../DtmMetadataExchangeUtil.java | 16 --------- .../generatecmpcode/IBaseCompCodeGen.java | 14 -------- .../JavaBaseCommonCompCodeGenerator.java | 31 ----------------- .../JavaCommonDeterminationGenerator.java | 14 -------- .../edp/udt/generator/UdtGenerator.java | 15 --------- .../edp/udt/generator/UdtJitAction.java | 23 ++----------- .../edp/udt/generator/api/ApiHelper.java | 14 -------- .../edp/udt/generator/api/UdtApiGenCtx.java | 18 ++-------- .../udt/generator/api/UdtApiGenerator.java | 14 -------- .../UdtEntityAllInterfaceGenerator.java | 14 -------- .../UdtEntityInterfaceGenerator.java | 18 ---------- .../UdtResourcceInfoGenerator.java | 14 -------- .../UdtResourceInfoCtorGenerator.java | 14 -------- .../ComplexUdtAssoInfoGenerator.java | 14 -------- .../complexudt/ComplexUdtInfoGenerator.java | 14 -------- .../ComplexUdtPropInfoGenerator.java | 14 -------- .../ComplexUdtRefPropGenerator.java | 14 -------- .../simpleudt/SimpleUdtAssoInfoGenerator.java | 15 --------- .../simpleudt/SimpleUdtInfoGenerator.java | 14 -------- .../simpleudt/SimpleUdtPropInfoGenerator.java | 15 --------- .../simpleudt/SimpleUdtRefPropGenerator.java | 14 -------- .../valueobjinfo/ValueObjInfoGenerator.java | 14 -------- ...PropInfoRequiredAsConstraintGenerator.java | 14 -------- .../propinfo/UdtAssoInfoGenerator.java | 14 -------- .../propinfo/UdtPropInfoGenerator.java | 15 --------- .../propinfo/UdtRefPropInfoGenerator.java | 14 -------- .../UdtMgrAllInterfaceGenerator.java | 14 -------- .../mgrinterface/UdtGetResInfoGenerator.java | 15 --------- .../mgrinterface/UdtMgrInerfaceGenCtx.java | 14 -------- .../UdtMgrInterfaceGenerator.java | 17 ---------- .../UdtModelInfoCtorGenerator.java | 15 --------- .../mgrinterface/UdtModelInfoGenerator.java | 15 --------- .../UdtModelInfoGetResourceGenerator.java | 16 --------- .../UdtResourceInfoFieldGenerator.java | 15 --------- ...erializePersistenceValueReadGenerator.java | 16 --------- ...eTransPersistenceValueReaderGenerator.java | 14 -------- .../PersistenceValueReaderGenerator.java | 14 -------- .../PersistenceValueReadersGenCtx.java | 14 -------- .../PersistenceValueReadersGenerator.java | 14 -------- .../SimpleUdtEnumPersistanceGenerator.java | 14 -------- ...essersPersistenceValueReaderGenerator.java | 22 ------------- .../UdtAssPersistenceValueGenerator.java | 14 -------- .../UdtEnumPersistenceValueGenerator.java | 15 --------- ...UdtGetPersistenceValueMethodGenerator.java | 14 -------- .../generator/config/UdtConfigGenerator.java | 14 -------- .../edp/udt/generator/core/UdtCoreGenCtx.java | 14 -------- .../udt/generator/core/UdtCoreGenerator.java | 14 -------- .../core/config/UdtConfigClassGenerator.java | 15 --------- .../config/UdtGetConfigTypeGenerator.java | 14 -------- .../config/UdtGetConfigsMethodGenerator.java | 14 -------- .../UdtGetExtendConfigsMethodGenerator.java | 14 -------- .../rtgenerator/common/UdtConfigManager.java | 14 -------- .../rtgenerator/entity/UdtEntityGenCtx.java | 15 --------- .../entity/UdtEntityGenerator.java | 14 -------- .../rtgenerator/entity/UdtImplGenerator.java | 15 --------- .../entity/data/UdtAcsGenerator.java | 14 -------- .../entity/data/UdtDataGetValueGenerator.java | 14 -------- .../entity/data/UdtDataImplGenCtx.java | 14 -------- .../entity/data/UdtDataImplGenerator.java | 14 -------- .../entity/data/UdtDataSetValueGenerator.java | 16 +-------- .../entity/data/UdtReadonlyAcsGenerator.java | 15 --------- ...reateAfterCreateDtmAssMethodGenerator.java | 20 ----------- ...reateAfterModifyDtmAssMethodGenerator.java | 22 ------------- ...CreateBeforeSaveDtmAssMethodGenerator.java | 18 ---------- .../method/GetCacheInfoMethodGenerator.java | 14 -------- .../entity/method/UdtCtorGenerator.java | 14 -------- .../method/UdtGetCacheInfoFieldGenerator.java | 14 -------- ...reateAfterModifyValAssMethodGenerator.java | 19 ----------- ...CreateBeforeSaveValAssMethodGenerator.java | 20 ----------- .../manager/CreateAbstractUdtGenerator.java | 14 -------- .../manager/CreateDataConverterGenerator.java | 20 ----------- .../manager/GetDataDeserializerGenerator.java | 14 -------- .../rtgenerator/manager/MgrImplGenCtx.java | 14 -------- .../UdtGetModelInfosMethodGenerator.java | 14 -------- .../manager/UdtManagerImplGenerator.java | 16 --------- .../rtgenerator/manager/UdtMgrGenCtx.java | 14 -------- .../rtgenerator/manager/UdtMgrGenerator.java | 14 -------- .../manager/UdtMgrGetRepositoryGenerator.java | 14 -------- .../UdtAccessorCreatorGenerator.java | 14 -------- .../UdtCreateAccessorGenerator.java | 14 -------- .../UdtCreateReadonlyAccessorGenerator.java | 14 -------- .../CreateDataMethodGenerator.java | 14 -------- .../dataconverter/DataConverterGenerator.java | 14 -------- .../DataDeSerializerGenerator.java | 14 -------- .../GetChangeDeserGenerator.java | 16 --------- .../GetChangeSerializerGenerator.java | 15 --------- .../UdtDataGetTypesGenerator.java | 16 --------- .../dataconverter/UdtDataSerGenerator.java | 15 --------- .../repository/UdtGetManagerGenerator.java | 14 -------- .../rtgenerator/repository/UdtRepoGenCtx.java | 14 -------- .../repository/UdtRepoGenerator.java | 16 --------- .../repository/UdtRepositoryGenCtx.java | 17 ---------- .../repository/UdtRepositoryGenerator.java | 16 +-------- .../adapter/UdtAdapterGenerator.java | 16 --------- .../repository/dac/UDTDacGenerator.java | 21 ------------ .../repository/dac/UdtDacGenCtx.java | 14 -------- .../entity/UdtConfigNamesGenerator.java | 14 -------- .../generator/entity/UdtEntityGenerator.java | 14 -------- .../entity/UdtEntityGeneratorContext.java | 14 -------- .../generator/entity/UdtNodeGenerator.java | 14 -------- .../entity/UdtNodeGeneratorContext.java | 14 -------- .../entity/data/UdtDataGenerator.java | 16 --------- .../generator/repository/UdtRepoGenCtx.java | 30 ++++------------- .../method/ComplexUdtInitColumnGenerator.java | 17 ---------- .../method/SimpleUdtInitColumnGenerator.java | 14 -------- .../property/ColumnMapTypePropGenerator.java | 14 -------- 156 files changed, 19 insertions(+), 2373 deletions(-) diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/VariableGenerator.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/VariableGenerator.java index 8853ec1..1bb7128 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/VariableGenerator.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/VariableGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator; diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/VariableGeneratorContext.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/VariableGeneratorContext.java index 4b3111e..456e8d0 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/VariableGeneratorContext.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/VariableGeneratorContext.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator; diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/ApiHelper.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/ApiHelper.java index 6d3e134..02e18c4 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/ApiHelper.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/ApiHelper.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.api; diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/VariableApiGenContext.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/VariableApiGenContext.java index f4dbdec..4a6aeb2 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/VariableApiGenContext.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/VariableApiGenContext.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.api; diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/VariableApiGenerator.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/VariableApiGenerator.java index e8d701c..e5b7d35 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/VariableApiGenerator.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/VariableApiGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.api; diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/mginterface/VariableMgrInerfaceGenCtx.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/mginterface/VariableMgrInerfaceGenCtx.java index 29ce707..fd77a21 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/mginterface/VariableMgrInerfaceGenCtx.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/mginterface/VariableMgrInerfaceGenCtx.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.api.mginterface; diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/mginterface/VariableMgrInterfaceGenerator.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/mginterface/VariableMgrInterfaceGenerator.java index 4342610..32b3783 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/mginterface/VariableMgrInterfaceGenerator.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/mginterface/VariableMgrInterfaceGenerator.java @@ -14,28 +14,12 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.api.mginterface; import com.inspur.edp.cef.generator.apiGenerator.dataType.mgrInterface.MgrInterfaceGenerator; import com.inspur.edp.cef.generator.apiGenerator.dataType.mgrInterface.MgrInterfaceGeneratorContext; -import com.inspur.edp.cef.generator.apiGenerator.dataType.mgrInterface.resourceInfo.ModelInfoBaseGenerator; import com.inspur.edp.cef.variable.dtgenerator.api.ApiHelper; import com.inspur.edp.cef.variable.dtgenerator.api.VariableApiGenContext; -import com.inspur.edp.cef.variable.dtgenerator.api.mginterface.resinfo.VarModelInfoGenerator; public class VariableMgrInterfaceGenerator extends MgrInterfaceGenerator { diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/mginterface/resinfo/VarModelInfoCtorGenerator.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/mginterface/resinfo/VarModelInfoCtorGenerator.java index 25c58f5..e1dd976 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/mginterface/resinfo/VarModelInfoCtorGenerator.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/mginterface/resinfo/VarModelInfoCtorGenerator.java @@ -14,25 +14,10 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.api.mginterface.resinfo; import com.inspur.edp.caf.generator.utils.ExpressionUtils; import com.inspur.edp.cef.generator.apiGenerator.CefApiGeneratorContext; -import com.inspur.edp.cef.generator.apiGenerator.dataType.mgrInterface.MgrInterfaceGeneratorContext; import com.inspur.edp.cef.generator.apiGenerator.dataType.mgrInterface.resourceInfo.ModelInfoCtorGenerator; import org.eclipse.jdt.core.dom.Block; import org.eclipse.jdt.core.dom.SuperConstructorInvocation; diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/mginterface/resinfo/VarModelInfoGenerator.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/mginterface/resinfo/VarModelInfoGenerator.java index 43cd981..18199f5 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/mginterface/resinfo/VarModelInfoGenerator.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/mginterface/resinfo/VarModelInfoGenerator.java @@ -14,26 +14,11 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.api.mginterface.resinfo; import com.inspur.edp.caf.generator.method.ClassMethodGenerator; import com.inspur.edp.cef.designtime.api.variable.CommonVariableEntity; import com.inspur.edp.cef.generator.apiGenerator.CefApiGeneratorContext; -import com.inspur.edp.cef.generator.apiGenerator.dataType.mgrInterface.MgrInterfaceGeneratorContext; import com.inspur.edp.cef.generator.apiGenerator.dataType.mgrInterface.resourceInfo.ModelInfoBaseGenerator; import com.inspur.edp.cef.generator.apiGenerator.dataType.mgrInterface.resourceInfo.ModelInfoCtorGenerator; import com.inspur.edp.cef.variable.core.manager.VarMgrResInfoImpl; diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/mginterface/resinfo/VarModelInfoGetResourceGenerator.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/mginterface/resinfo/VarModelInfoGetResourceGenerator.java index fa51137..f90bc96 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/mginterface/resinfo/VarModelInfoGetResourceGenerator.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/mginterface/resinfo/VarModelInfoGetResourceGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.api.mginterface.resinfo; import com.inspur.edp.caf.generator.baseInfo.ParameterInfo; @@ -35,7 +21,6 @@ import com.inspur.edp.caf.generator.baseInfo.TypeInfo; import com.inspur.edp.caf.generator.method.ClassMethodGenerator; import com.inspur.edp.cef.gencommon.MediateType; import com.inspur.edp.cef.generator.apiGenerator.CefApiGeneratorContext; -import com.inspur.edp.cef.generator.apiGenerator.dataType.mgrInterface.MgrInterfaceGeneratorContext; import com.inspur.edp.cef.spi.entity.resourceInfo.builinImpls.CefValueObjResInfo; import java.util.ArrayList; import org.eclipse.jdt.core.dom.Block; diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/mgrallinterface/VariableMgrAllInterfaceGenerator.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/mgrallinterface/VariableMgrAllInterfaceGenerator.java index 8bff963..139ddaa 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/mgrallinterface/VariableMgrAllInterfaceGenerator.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/mgrallinterface/VariableMgrAllInterfaceGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.api.mgrallinterface; import com.inspur.edp.cef.generator.apiGenerator.dataType.mgrAllInterface.MgrAllInterfaceGenerator; diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/mgrallinterface/VariableMgrInerfaceGenCtx.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/mgrallinterface/VariableMgrInerfaceGenCtx.java index 9589643..bb73e9b 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/mgrallinterface/VariableMgrInerfaceGenCtx.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/mgrallinterface/VariableMgrInerfaceGenCtx.java @@ -14,30 +14,13 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.api.mgrallinterface; import com.inspur.edp.cef.generator.apiGenerator.dataType.mgrInterface.MgrInterfaceGeneratorContext; import com.inspur.edp.cef.variable.dtgenerator.api.VariableApiGenContext; -public class VariableMgrInerfaceGenCtx extends MgrInterfaceGeneratorContext -{ - public VariableMgrInerfaceGenCtx(VariableApiGenContext apiGenContext) - { - super(apiGenContext); - - } +public class VariableMgrInerfaceGenCtx extends MgrInterfaceGeneratorContext { + public VariableMgrInerfaceGenCtx(VariableApiGenContext apiGenContext) { + super(apiGenContext); + } } diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/variableinterface/VariableAllInterfaceGenerator.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/variableinterface/VariableAllInterfaceGenerator.java index a4aa072..3024cfe 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/variableinterface/VariableAllInterfaceGenerator.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/variableinterface/VariableAllInterfaceGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.api.variableinterface; import com.inspur.edp.cef.generator.apiGenerator.dataType.entityAllInterface.DataTypeAllInterfaceGenerator; diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/variableinterface/VariableInterfaceGenerator.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/variableinterface/VariableInterfaceGenerator.java index 0d62e38..ce500ee 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/variableinterface/VariableInterfaceGenerator.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/variableinterface/VariableInterfaceGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.api.variableinterface; diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/variableinterface/VariableResInfoCtorGenerator.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/variableinterface/VariableResInfoCtorGenerator.java index c6c389e..d439ab5 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/variableinterface/VariableResInfoCtorGenerator.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/variableinterface/VariableResInfoCtorGenerator.java @@ -14,30 +14,14 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.api.variableinterface; import com.inspur.edp.caf.generator.baseInfo.ParameterInfo; import com.inspur.edp.caf.generator.baseInfo.TypeInfo; import com.inspur.edp.caf.generator.method.ClassMethodGenerator; import com.inspur.edp.caf.generator.utils.ExpressionUtils; -import com.inspur.edp.cef.designtime.api.IGspCommonDataType; import com.inspur.edp.cef.designtime.api.variable.CommonVariableEntity; -import com.inspur.edp.cef.generator.apiGenerator.dataType.entityInterface.resourceInfo.ResourceInfoCtorGenerator; -import com.inspur.edp.cef.spi.entity.resourceInfo.builinImpls.CefModelResInfoImpl; + import java.util.ArrayList; import org.eclipse.jdt.core.dom.Block; import org.eclipse.jdt.core.dom.Modifier.ModifierKeyword; diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/variableinterface/VariableResourceInfoGenerator.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/variableinterface/VariableResourceInfoGenerator.java index 092ac9f..1f87d47 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/variableinterface/VariableResourceInfoGenerator.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/variableinterface/VariableResourceInfoGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.api.variableinterface; import com.inspur.edp.caf.generator.baseInfo.TypeInfo; diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/config/VarConfigGenerator.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/config/VarConfigGenerator.java index 1344795..7b534b8 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/config/VarConfigGenerator.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/config/VarConfigGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.config; import com.fasterxml.jackson.core.JsonProcessingException; @@ -36,7 +22,6 @@ import com.fasterxml.jackson.databind.module.SimpleModule; import com.inspur.edp.cef.entity.config.MgrConfig; import com.inspur.edp.cef.generator.exception.CefGenException; import com.inspur.edp.cef.variable.dtgenerator.VariableGeneratorContext; -import org.springframework.core.serializer.Serializer; public class VarConfigGenerator { @@ -82,22 +67,4 @@ public class VarConfigGenerator { return privateCoreAssemblyName; } - - //public void Generate() - //{ - // config = new MgrConfig - // { - // AllInterfaceAssembly = parentContext.MgrAllInterfaceType.Assembly.FullName, - // Assembly = parentContext.MgrInterfaceType.Assembly.FullName, - // AllInterfaceClassName = parentContext.MgrAllInterfaceType.FullName, - // Class = parentContext.MgrInterfaceType.FullName, - // ImpAssembly = parentContext.MgrAssemblyName, - // ImpClass = parentContext.MgrImplType.FullName - // }; - //} - //public void ConfigToStr() - //{ - // Generate(); - // parentContext.VarConfigAttrStr=Serializer.JsonSerialize(config); - //} } diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/VariableCoreGenCtx.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/VariableCoreGenCtx.java index 5dd4e56..ea1bf57 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/VariableCoreGenCtx.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/VariableCoreGenCtx.java @@ -14,25 +14,10 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.core; import com.inspur.edp.cef.gencommon.MediateType; import com.inspur.edp.cef.generator.coreGenerator.base.CefCoreGeneratorContext; -import com.inspur.edp.cef.generator.overall.CefGeneratorContext; import com.inspur.edp.cef.variable.dtgenerator.VariableGeneratorContext; public class VariableCoreGenCtx extends CefCoreGeneratorContext diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/VariableCoreGenerator.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/VariableCoreGenerator.java index 54502cb..f949e84 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/VariableCoreGenerator.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/VariableCoreGenerator.java @@ -14,27 +14,12 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.core; import com.inspur.edp.cef.generator.coreGenerator.base.CefCoreGenerator; import com.inspur.edp.cef.generator.coreGenerator.base.CefCoreGeneratorContext; import com.inspur.edp.cef.generator.coreGenerator.base.mgrGenerator.ManagerGenerator; -import com.inspur.edp.cef.generator.coreGenerator.entityGenerator.CommonModelCoreGeneratorContext; import com.inspur.edp.cef.variable.dtgenerator.VariableGeneratorContext; import com.inspur.edp.cef.variable.dtgenerator.core.rtgenerator.manager.VarManagerGenerator; diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/entity/VarEntityGenCtx.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/entity/VarEntityGenCtx.java index 94a2c88..6c432ca 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/entity/VarEntityGenCtx.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/entity/VarEntityGenCtx.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.core.rtgenerator.entity; import com.inspur.edp.cef.generator.coreGenerator.base.entitygen.EntityGeneratorContext; diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/entity/VarEntityGenerator.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/entity/VarEntityGenerator.java index 318f1d7..525f35a 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/entity/VarEntityGenerator.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/entity/VarEntityGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.core.rtgenerator.entity; diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/entity/VarImplGenerator.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/entity/VarImplGenerator.java index ad3324f..8a532fd 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/entity/VarImplGenerator.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/entity/VarImplGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.core.rtgenerator.entity; @@ -36,11 +22,9 @@ import com.inspur.edp.caf.generator.baseInfo.TypeInfo; import com.inspur.edp.caf.generator.field.FieldGenerator; import com.inspur.edp.caf.generator.method.ClassMethodGenerator; import com.inspur.edp.cef.designtime.api.IGspCommonDataType; -import com.inspur.edp.cef.designtime.api.variable.CommonVariableEntity; import com.inspur.edp.cef.gencommon.MediateType; import com.inspur.edp.cef.generator.coreGenerator.base.entitygen.EntityDataImplGenerator; import com.inspur.edp.cef.generator.coreGenerator.base.entitygen.ValueObjectImplGenerator; -import com.inspur.edp.cef.generator.overall.GeneratorUtil; import com.inspur.edp.cef.variable.api.variable.IVariable; import com.inspur.edp.cef.variable.core.variable.AbstractVariable; import com.inspur.edp.cef.variable.dtgenerator.core.rtgenerator.entity.cacheinfo.GetCacheInfoFieldGenerator; diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/entity/cacheinfo/GetCacheInfoFieldGenerator.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/entity/cacheinfo/GetCacheInfoFieldGenerator.java index bfd75f0..da44084 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/entity/cacheinfo/GetCacheInfoFieldGenerator.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/entity/cacheinfo/GetCacheInfoFieldGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.core.rtgenerator.entity.cacheinfo; import com.inspur.edp.caf.generator.baseInfo.TypeInfo; diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/entity/cacheinfo/GetCacheInfoMethodGenerator.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/entity/cacheinfo/GetCacheInfoMethodGenerator.java index 43990f4..bdf1f67 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/entity/cacheinfo/GetCacheInfoMethodGenerator.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/entity/cacheinfo/GetCacheInfoMethodGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.core.rtgenerator.entity.cacheinfo; import com.inspur.edp.caf.generator.baseInfo.TypeInfo; diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/entity/data/VarDataImplGenCtx.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/entity/data/VarDataImplGenCtx.java index 6e55494..003cb0b 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/entity/data/VarDataImplGenCtx.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/entity/data/VarDataImplGenCtx.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.core.rtgenerator.entity.data; diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/entity/data/VarDataImplGenerator.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/entity/data/VarDataImplGenerator.java index 8bcf4b5..9fda064 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/entity/data/VarDataImplGenerator.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/entity/data/VarDataImplGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.core.rtgenerator.entity.data; import com.inspur.edp.caf.generator.BaseGenerator; diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/entity/data/VariableAcsGenerator.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/entity/data/VariableAcsGenerator.java index a0131fe..a3c4a76 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/entity/data/VariableAcsGenerator.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/entity/data/VariableAcsGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.core.rtgenerator.entity.data; import com.inspur.edp.cef.designtime.api.IGspCommonDataType; diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/entity/dtm/VarCreateAfterModifyDtmAssMethodGenerator.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/entity/dtm/VarCreateAfterModifyDtmAssMethodGenerator.java index 919c174..c732d92 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/entity/dtm/VarCreateAfterModifyDtmAssMethodGenerator.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/entity/dtm/VarCreateAfterModifyDtmAssMethodGenerator.java @@ -14,31 +14,13 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.core.rtgenerator.entity.dtm; import com.inspur.edp.caf.generator.baseInfo.TypeInfo; -import com.inspur.edp.cef.designtime.api.operation.CommonDetermination; import com.inspur.edp.cef.generator.coreGenerator.base.entitygen.DataTypeImpContext; import com.inspur.edp.cef.generator.coreGenerator.base.entitygen.createdtmassmethod.ValueObjCreateAfterModifyDtmAsseMethodGenerator; -import com.inspur.edp.cef.variable.core.determination.builtinimpls.VarAfterModifyDtmAssembler; import com.inspur.edp.cef.variable.core.determination.builtinimpls.adaptors.VarAftModifyDtmAdaptor; -import java.util.List; -import javax.ws.rs.NotSupportedException; public class VarCreateAfterModifyDtmAssMethodGenerator extends ValueObjCreateAfterModifyDtmAsseMethodGenerator { diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/entity/method/VarCtorGenerator.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/entity/method/VarCtorGenerator.java index 87a9b41..863f4a1 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/entity/method/VarCtorGenerator.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/entity/method/VarCtorGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.core.rtgenerator.entity.method; diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/manager/CreateAbstractUdtGenerator.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/manager/CreateAbstractUdtGenerator.java index 6e60c91..1bb6b81 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/manager/CreateAbstractUdtGenerator.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/manager/CreateAbstractUdtGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.core.rtgenerator.manager; import com.inspur.edp.caf.generator.baseInfo.ParameterInfo; diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/manager/MgrImplGenCtx.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/manager/MgrImplGenCtx.java index 03e80d2..78776d8 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/manager/MgrImplGenCtx.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/manager/MgrImplGenCtx.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.core.rtgenerator.manager; diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/manager/VarManagerGenerator.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/manager/VarManagerGenerator.java index ba0a91f..b0b9dfd 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/manager/VarManagerGenerator.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/manager/VarManagerGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.core.rtgenerator.manager; diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/manager/VarManagerImplGenerator.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/manager/VarManagerImplGenerator.java index 1a26a6d..90cc0a2 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/manager/VarManagerImplGenerator.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/manager/VarManagerImplGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.core.rtgenerator.manager; diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/manager/VarMgrGenContext.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/manager/VarMgrGenContext.java index dac26fd..3aa70da 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/manager/VarMgrGenContext.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/manager/VarMgrGenContext.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.core.rtgenerator.manager; diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/manager/acccessorcreator/VarAccessorCreatorGenerator.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/manager/acccessorcreator/VarAccessorCreatorGenerator.java index 5504a58..9b03645 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/manager/acccessorcreator/VarAccessorCreatorGenerator.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/manager/acccessorcreator/VarAccessorCreatorGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.core.rtgenerator.manager.acccessorcreator; diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/manager/acccessorcreator/VarCreateAccessorGenerator.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/manager/acccessorcreator/VarCreateAccessorGenerator.java index df5450b..16170fa 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/manager/acccessorcreator/VarCreateAccessorGenerator.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/manager/acccessorcreator/VarCreateAccessorGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.core.rtgenerator.manager.acccessorcreator; import com.inspur.edp.cef.generator.coreGenerator.base.accessorcreatorgen.method.CreateAccessorGenerator; diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/manager/acccessorcreator/VarCreateReadonlyAccessorGenerator.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/manager/acccessorcreator/VarCreateReadonlyAccessorGenerator.java index 0d0f66c..9b5ef0a 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/manager/acccessorcreator/VarCreateReadonlyAccessorGenerator.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/manager/acccessorcreator/VarCreateReadonlyAccessorGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.core.rtgenerator.manager.acccessorcreator; import com.inspur.edp.cef.generator.coreGenerator.base.accessorcreatorgen.method.CreateReadonlyAccessorGenerator; diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/manager/repository/VarRepositoryPropertyGenerator.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/manager/repository/VarRepositoryPropertyGenerator.java index a101d73..2389d48 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/manager/repository/VarRepositoryPropertyGenerator.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/manager/repository/VarRepositoryPropertyGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.core.rtgenerator.manager.repository; diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/manager/serialize/GetChangeDeserGenerator.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/manager/serialize/GetChangeDeserGenerator.java index 3a1d398..8be9c37 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/manager/serialize/GetChangeDeserGenerator.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/manager/serialize/GetChangeDeserGenerator.java @@ -14,33 +14,17 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.core.rtgenerator.manager.serialize; import com.inspur.edp.caf.generator.baseInfo.ParameterInfo; import com.inspur.edp.caf.generator.baseInfo.TypeInfo; import com.inspur.edp.caf.generator.method.ClassMethodGenerator; import com.inspur.edp.cef.spi.jsonser.abstractcefchange.AbstractCefChangeJsonDeserializer; -import com.inspur.edp.cef.spi.jsonser.abstractcefchange.AbstractCefChangeSerializer; import com.inspur.edp.cef.variable.dtgenerator.core.rtgenerator.manager.VarMgrGenContext; import java.util.ArrayList; import org.eclipse.jdt.core.dom.Block; import org.eclipse.jdt.core.dom.ClassInstanceCreation; import org.eclipse.jdt.core.dom.Modifier; -import org.eclipse.jdt.core.dom.Modifier.ModifierKeyword; import org.eclipse.jdt.core.dom.ReturnStatement; public class GetChangeDeserGenerator extends ClassMethodGenerator { diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/manager/serialize/GetChangeSerializerGenerator.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/manager/serialize/GetChangeSerializerGenerator.java index 090a6a8..f75339f 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/manager/serialize/GetChangeSerializerGenerator.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/core/rtgenerator/manager/serialize/GetChangeSerializerGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.core.rtgenerator.manager.serialize; import com.inspur.edp.caf.generator.baseInfo.ParameterInfo; diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/entity/VarEntityGenContext.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/entity/VarEntityGenContext.java index 4a63a49..567a253 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/entity/VarEntityGenContext.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/entity/VarEntityGenContext.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.entity; diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/entity/VariableEntityGenerator.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/entity/VariableEntityGenerator.java index 66a7662..37c0919 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/entity/VariableEntityGenerator.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/entity/VariableEntityGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.entity; diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/entity/VariableNodeGenerator.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/entity/VariableNodeGenerator.java index dee2d3b..a61e36c 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/entity/VariableNodeGenerator.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/entity/VariableNodeGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.entity; import com.inspur.edp.cef.generator.entityGenerator.base.dataTypeData.DataTypeDataGenerator; diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/entity/VariableNodeGeneratorContext.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/entity/VariableNodeGeneratorContext.java index 723c2de..65b60fd 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/entity/VariableNodeGeneratorContext.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/entity/VariableNodeGeneratorContext.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.entity; import com.inspur.edp.cef.generator.entityGenerator.valueObject.ValueObjectGeneratorContext; diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/entity/data/VariableDataGenerator.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/entity/data/VariableDataGenerator.java index c0281ea..6245821 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/entity/data/VariableDataGenerator.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/entity/data/VariableDataGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.entity.data; @@ -64,7 +50,7 @@ public class VariableDataGenerator extends DataTypeDataGenerator ArrayList list = super.addParentInterfaces(); if (list == null) { - list = new java.util.ArrayList(); + list = new java.util.ArrayList<>(); } list.add(new TypeInfo(IVariableData.class)); return list; diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/vardtmGenerate/CompCodeNames.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/vardtmGenerate/CompCodeNames.java index ae6d104..91b05dc 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/vardtmGenerate/CompCodeNames.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/vardtmGenerate/CompCodeNames.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.vardtmGenerate; public class CompCodeNames diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/vardtmGenerate/JavaCompCodeNames.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/vardtmGenerate/JavaCompCodeNames.java index 7f38c8a..28b2ed7 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/vardtmGenerate/JavaCompCodeNames.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/vardtmGenerate/JavaCompCodeNames.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.vardtmGenerate; public class JavaCompCodeNames { diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/vardtmGenerate/cmpgenerators/CommonDtmGenerator.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/vardtmGenerate/cmpgenerators/CommonDtmGenerator.java index c35e688..c1c70eb 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/vardtmGenerate/cmpgenerators/CommonDtmGenerator.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/vardtmGenerate/cmpgenerators/CommonDtmGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.vardtmGenerate.cmpgenerators; diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/vardtmGenerate/cmpgenerators/CommonOperationComponentGenerator.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/vardtmGenerate/cmpgenerators/CommonOperationComponentGenerator.java index 7bbd3c4..3b81c88 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/vardtmGenerate/cmpgenerators/CommonOperationComponentGenerator.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/vardtmGenerate/cmpgenerators/CommonOperationComponentGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.vardtmGenerate.cmpgenerators; import com.inspur.edp.bef.component.base.GspComponent; @@ -38,9 +24,7 @@ import com.inspur.edp.cef.variable.dtgenerator.vardtmGenerate.JavaCompCodeNames; import com.inspur.edp.das.commonmodel.entity.GspCommonModel; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; import com.inspur.edp.lcm.metadata.api.service.MetadataService; -import com.inspur.edp.lcm.metadata.api.service.RefCommonService; import io.iec.edp.caf.commons.utils.SpringBeanUtils; -import io.iec.edp.caf.runtime.config.BeanUtil; import org.springframework.util.StringUtils; /** @@ -155,14 +139,6 @@ public abstract class CommonOperationComponentGenerator return DtmMetadataExchangeUtil.getInstance().establishGspMetadata(component, path, this.varEntityCode, this.bizObjectID); } - private RefCommonService refCommonService; - private RefCommonService getRefCommonService(){ - if(refCommonService == null){ - refCommonService=SpringBeanUtils.getBean(RefCommonService.class); -// refCommonService = BeanUtil.getAppCtx().getBean(RefCommonService.class); - } - return refCommonService; - } /** 修改构件 diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/vardtmGenerate/cmpgenerators/ComponentClassNameGenerator.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/vardtmGenerate/cmpgenerators/ComponentClassNameGenerator.java index ed690a5..92cac14 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/vardtmGenerate/cmpgenerators/ComponentClassNameGenerator.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/vardtmGenerate/cmpgenerators/ComponentClassNameGenerator.java @@ -14,23 +14,8 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.vardtmGenerate.cmpgenerators; -import com.inspur.edp.cef.variable.dtgenerator.vardtmGenerate.CompCodeNames; import com.inspur.edp.cef.variable.dtgenerator.vardtmGenerate.JavaCompCodeNames; public class ComponentClassNameGenerator diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/vardtmGenerate/cmpgenerators/DtmMetadataExchangeUtil.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/vardtmGenerate/cmpgenerators/DtmMetadataExchangeUtil.java index 7e4979a..3e77380 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/vardtmGenerate/cmpgenerators/DtmMetadataExchangeUtil.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/vardtmGenerate/cmpgenerators/DtmMetadataExchangeUtil.java @@ -14,24 +14,9 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.vardtmGenerate.cmpgenerators; import com.inspur.edp.bef.component.base.GspComponent; -import com.inspur.edp.cef.variable.dtgenerator.vardtmGenerate.CompCodeNames; import com.inspur.edp.cef.variable.dtgenerator.vardtmGenerate.JavaCompCodeNames; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; import com.inspur.edp.lcm.metadata.api.entity.MetadataHeader; @@ -39,7 +24,6 @@ import com.inspur.edp.lcm.metadata.api.entity.MetadataReference; import com.inspur.edp.lcm.metadata.api.service.FileService; import com.inspur.edp.lcm.metadata.api.service.MetadataService; import io.iec.edp.caf.commons.utils.SpringBeanUtils; -import org.springframework.boot.SpringBootExceptionReporter; /** 与元数据交互的工具 diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/vardtmGenerate/generatecmpcode/IBaseCompCodeGen.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/vardtmGenerate/generatecmpcode/IBaseCompCodeGen.java index 370e462..66a73c7 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/vardtmGenerate/generatecmpcode/IBaseCompCodeGen.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/vardtmGenerate/generatecmpcode/IBaseCompCodeGen.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.vardtmGenerate.generatecmpcode; public interface IBaseCompCodeGen diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/vardtmGenerate/javageneratecmpcode/JavaBaseCommonCompCodeGenerator.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/vardtmGenerate/javageneratecmpcode/JavaBaseCommonCompCodeGenerator.java index 4f1ba9a..cd221bf 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/vardtmGenerate/javageneratecmpcode/JavaBaseCommonCompCodeGenerator.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/vardtmGenerate/javageneratecmpcode/JavaBaseCommonCompCodeGenerator.java @@ -14,23 +14,8 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.vardtmGenerate.javageneratecmpcode; -import com.google.common.util.concurrent.ServiceManager; import com.inspur.edp.bef.component.base.GspComponent; import com.inspur.edp.cef.designtime.api.operation.CommonOperation; import com.inspur.edp.cef.generator.exception.CefGenException; @@ -41,7 +26,6 @@ import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; import com.inspur.edp.lcm.metadata.api.service.MetadataProjectService; import com.inspur.edp.lcm.metadata.api.service.RefCommonService; import io.iec.edp.caf.commons.utils.SpringBeanUtils; -import javax.swing.Spring; public abstract class JavaBaseCommonCompCodeGenerator implements JavaIBaseCompCodeGen{ ///#region 字段 @@ -214,20 +198,6 @@ public abstract class JavaBaseCommonCompCodeGenerator implements JavaIBaseCompCo return str; } - private String ConvertJavaImportPackageCompatibilityMode(String readPropertyValue_string) - { - String[] strArray = readPropertyValue_string.split("[.]", -1); - String str = "com."; - int i; - - for (i = 0; i < strArray.length - 2; i++) - { - str += strArray[i].toLowerCase() + "."; - } - str += strArray[i].toLowerCase(); - str = String.format("%1$s%2$s%3$s", str, ".", strArray[strArray.length - 1]); - return str; - } private void GenerateImport(StringBuilder result) { if (!this.isInterpretation) @@ -244,7 +214,6 @@ public abstract class JavaBaseCommonCompCodeGenerator implements JavaIBaseCompCo result.append(GetImportStr(JavaCompCodeNames.KeywordIChangeDetail)); result.append(GetImportStr(JavaCompCodeNames.KeywordIVarDeterminationContext)); result.append(GetImportStr(JavaCompCodeNames.ICefDataNameSpace)); - //JavaGenerateExtendUsing(result); } ///#endregion diff --git a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/vardtmGenerate/javageneratecmpcode/JavaCommonDeterminationGenerator.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/vardtmGenerate/javageneratecmpcode/JavaCommonDeterminationGenerator.java index 07fe15c..b152eb3 100644 --- a/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/vardtmGenerate/javageneratecmpcode/JavaCommonDeterminationGenerator.java +++ b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/vardtmGenerate/javageneratecmpcode/JavaCommonDeterminationGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.cef.variable.dtgenerator.vardtmGenerate.javageneratecmpcode; import com.inspur.edp.cef.designtime.api.operation.CommonOperation; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/UdtGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/UdtGenerator.java index 819651f..f5ed9c6 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/UdtGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/UdtGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator; import com.inspur.edp.caf.generator.module.ModuleGenerator; @@ -37,7 +23,6 @@ import com.inspur.edp.cef.generator.coreGenerator.base.CefCoreGenerator; import com.inspur.edp.cef.generator.entityGenerator.BaseEntityGenerator; import com.inspur.edp.cef.generator.overall.CefGenerator; import com.inspur.edp.cef.generator.overall.CefGeneratorContext; -import com.inspur.edp.cef.generator.repository.base.CefRepositoryGenerstor; import com.inspur.edp.jittojava.context.JitContext; import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; import com.inspur.edp.udt.designtime.api.entity.UnifiedDataTypeDef; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/UdtJitAction.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/UdtJitAction.java index 019b761..62f07f7 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/UdtJitAction.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/UdtJitAction.java @@ -14,33 +14,14 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator; import com.inspur.edp.jittojava.context.JitContext; import com.inspur.edp.jittojava.spi.JitAction; -import com.inspur.edp.lcm.metadata.api.entity.GspMetadata; -import com.inspur.edp.lcm.metadata.api.service.MetadataService; -import java.io.File; -import java.util.HashMap; -import org.springframework.beans.factory.annotation.Autowired; +import java.util.HashMap; -public class UdtJitAction implements JitAction //AbstractMetadataJitProcessExtend, -{ +public class UdtJitAction implements JitAction { @Override public void generateApi(JitContext context){ UdtGenerator gen = new UdtGenerator(context.getMetadata().getRelativePath(), context.getMetadata(), true, diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/ApiHelper.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/ApiHelper.java index 7cd0259..3c1c9cf 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/ApiHelper.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/ApiHelper.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.api; import com.inspur.edp.cef.designtime.api.entity.ClassInfo; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/UdtApiGenCtx.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/UdtApiGenCtx.java index f370042..2fa1b2d 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/UdtApiGenCtx.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/UdtApiGenCtx.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.api; import com.inspur.edp.cef.gencommon.MediateType; @@ -43,14 +29,14 @@ public class UdtApiGenCtx extends CefApiGeneratorContext public UdtGeneratorContext getUdtGenContext(){return (UdtGeneratorContext)super.getCefGenContext();} - private java.util.HashMap privateDataReaderMediateTypes= new java.util.HashMap(); + private java.util.HashMap privateDataReaderMediateTypes= new java.util.HashMap<>(); public final java.util.HashMap getDataReaderMediateTypes() { return privateDataReaderMediateTypes; } - private java.util.HashMap privatePersistenceValueReaderType= new java.util.HashMap(); + private java.util.HashMap privatePersistenceValueReaderType= new java.util.HashMap<>(); public final java.util.HashMap getPersistenceValueReaderType() { return privatePersistenceValueReaderType; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/UdtApiGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/UdtApiGenerator.java index c047c00..c2313eb 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/UdtApiGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/UdtApiGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.api; import com.inspur.edp.caf.generator.BaseGenerator; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityallinterface/UdtEntityAllInterfaceGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityallinterface/UdtEntityAllInterfaceGenerator.java index 54eb93f..f090c3a 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityallinterface/UdtEntityAllInterfaceGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityallinterface/UdtEntityAllInterfaceGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.api.entityallinterface; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/UdtEntityInterfaceGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/UdtEntityInterfaceGenerator.java index 2c17139..725dee7 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/UdtEntityInterfaceGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/UdtEntityInterfaceGenerator.java @@ -14,31 +14,13 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.api.entityinterface; import com.inspur.edp.cef.generator.apiGenerator.dataType.entityInterface.DataTypeInterfaceGenerator; import com.inspur.edp.cef.generator.apiGenerator.dataType.entityInterface.dataTypeInfo.DataTypeInfoGenerator; import com.inspur.edp.cef.generator.apiGenerator.dataType.entityInterface.resourceInfo.DataTypeResourceInfoGenerator; -import com.inspur.edp.udt.designtime.api.entity.SimpleDataTypeDef; import com.inspur.edp.udt.generator.api.ApiHelper; import com.inspur.edp.udt.generator.api.UdtApiGenCtx; -import com.inspur.edp.udt.generator.api.entityinterface.complexudt.ComplexUdtInfoGenerator; -import com.inspur.edp.udt.generator.api.entityinterface.simpleudt.SimpleUdtInfoGenerator; -import com.inspur.edp.udt.generator.api.entityinterface.valueobjinfo.ValueObjInfoGenerator; public class UdtEntityInterfaceGenerator extends DataTypeInterfaceGenerator { diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/UdtResourcceInfoGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/UdtResourcceInfoGenerator.java index c40cc21..38ee009 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/UdtResourcceInfoGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/UdtResourcceInfoGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.api.entityinterface; import com.inspur.edp.caf.generator.baseInfo.TypeInfo; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/UdtResourceInfoCtorGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/UdtResourceInfoCtorGenerator.java index 2b5f3d8..b610a4a 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/UdtResourceInfoCtorGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/UdtResourceInfoCtorGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.api.entityinterface; import com.inspur.edp.caf.generator.baseInfo.ParameterInfo; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/complexudt/ComplexUdtAssoInfoGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/complexudt/ComplexUdtAssoInfoGenerator.java index 5627d2c..2b546ed 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/complexudt/ComplexUdtAssoInfoGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/complexudt/ComplexUdtAssoInfoGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.api.entityinterface.complexudt; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/complexudt/ComplexUdtInfoGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/complexudt/ComplexUdtInfoGenerator.java index 057ced9..9f70b52 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/complexudt/ComplexUdtInfoGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/complexudt/ComplexUdtInfoGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.api.entityinterface.complexudt; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/complexudt/ComplexUdtPropInfoGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/complexudt/ComplexUdtPropInfoGenerator.java index c93ce3e..857c92b 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/complexudt/ComplexUdtPropInfoGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/complexudt/ComplexUdtPropInfoGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.api.entityinterface.complexudt; import com.inspur.edp.cef.designtime.api.element.GspAssociation; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/complexudt/ComplexUdtRefPropGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/complexudt/ComplexUdtRefPropGenerator.java index 50126f8..77db240 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/complexudt/ComplexUdtRefPropGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/complexudt/ComplexUdtRefPropGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.api.entityinterface.complexudt; import com.inspur.edp.cef.generator.apiGenerator.dataType.entityInterface.assoInfo.AssociaitionInfoGenCtx; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/simpleudt/SimpleUdtAssoInfoGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/simpleudt/SimpleUdtAssoInfoGenerator.java index 7e6c5d7..50e280b 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/simpleudt/SimpleUdtAssoInfoGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/simpleudt/SimpleUdtAssoInfoGenerator.java @@ -14,23 +14,8 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.api.entityinterface.simpleudt; - import com.inspur.edp.cef.designtime.api.element.GspAssociation; import com.inspur.edp.cef.generator.apiGenerator.dataType.entityInterface.propertyInfo.DataTypPropInfoGenCtx; import com.inspur.edp.udt.designtime.api.entity.element.UdtElement; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/simpleudt/SimpleUdtInfoGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/simpleudt/SimpleUdtInfoGenerator.java index c1b02a1..dfb66be 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/simpleudt/SimpleUdtInfoGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/simpleudt/SimpleUdtInfoGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.api.entityinterface.simpleudt; import com.inspur.edp.cef.generator.apiGenerator.dataType.entityInterface.DataTypeInterfaceGeneratorContext; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/simpleudt/SimpleUdtPropInfoGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/simpleudt/SimpleUdtPropInfoGenerator.java index f475745..8fb24a6 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/simpleudt/SimpleUdtPropInfoGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/simpleudt/SimpleUdtPropInfoGenerator.java @@ -14,23 +14,8 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.api.entityinterface.simpleudt; - import com.inspur.edp.cef.designtime.api.element.GspAssociation; import com.inspur.edp.cef.generator.apiGenerator.dataType.entityInterface.dataTypeInfo.DataTypeInfoGeneratorContext; import com.inspur.edp.udt.designtime.api.entity.element.UdtElement; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/simpleudt/SimpleUdtRefPropGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/simpleudt/SimpleUdtRefPropGenerator.java index b9b2bc1..ed3c457 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/simpleudt/SimpleUdtRefPropGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/simpleudt/SimpleUdtRefPropGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.api.entityinterface.simpleudt; import com.inspur.edp.cef.generator.apiGenerator.dataType.entityInterface.assoInfo.AssociaitionInfoGenCtx; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/valueobjinfo/ValueObjInfoGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/valueobjinfo/ValueObjInfoGenerator.java index b7f8c29..99a163a 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/valueobjinfo/ValueObjInfoGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/valueobjinfo/ValueObjInfoGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.api.entityinterface.valueobjinfo; import com.inspur.edp.cef.designtime.api.IGspCommonField; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/valueobjinfo/propinfo/PropInfoRequiredAsConstraintGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/valueobjinfo/propinfo/PropInfoRequiredAsConstraintGenerator.java index eee2c7e..6e931f2 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/valueobjinfo/propinfo/PropInfoRequiredAsConstraintGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/valueobjinfo/propinfo/PropInfoRequiredAsConstraintGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.api.entityinterface.valueobjinfo.propinfo; import com.inspur.edp.caf.generator.baseInfo.TypeInfo; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/valueobjinfo/propinfo/UdtAssoInfoGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/valueobjinfo/propinfo/UdtAssoInfoGenerator.java index 7a5b98d..9ea9bc0 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/valueobjinfo/propinfo/UdtAssoInfoGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/valueobjinfo/propinfo/UdtAssoInfoGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.api.entityinterface.valueobjinfo.propinfo; import com.inspur.edp.cef.designtime.api.IGspCommonField; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/valueobjinfo/propinfo/UdtPropInfoGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/valueobjinfo/propinfo/UdtPropInfoGenerator.java index 5a68c4c..f6e6ace 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/valueobjinfo/propinfo/UdtPropInfoGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/valueobjinfo/propinfo/UdtPropInfoGenerator.java @@ -14,23 +14,8 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.api.entityinterface.valueobjinfo.propinfo; -import com.inspur.edp.caf.generator.property.ClassPropertyGenerator; import com.inspur.edp.caf.generator.property.PropertyGenerator; import com.inspur.edp.cef.designtime.api.element.GspAssociation; import com.inspur.edp.cef.generator.apiGenerator.dataType.entityInterface.assoInfo.AssociationInfoGen; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/valueobjinfo/propinfo/UdtRefPropInfoGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/valueobjinfo/propinfo/UdtRefPropInfoGenerator.java index 315f5fd..4c8d0ec 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/valueobjinfo/propinfo/UdtRefPropInfoGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/entityinterface/valueobjinfo/propinfo/UdtRefPropInfoGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.api.entityinterface.valueobjinfo.propinfo; import com.inspur.edp.cef.generator.apiGenerator.dataType.entityInterface.assoInfo.AbstractRefPropInfoGen; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/mgrallinterface/UdtMgrAllInterfaceGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/mgrallinterface/UdtMgrAllInterfaceGenerator.java index 27bf290..ba7d585 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/mgrallinterface/UdtMgrAllInterfaceGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/mgrallinterface/UdtMgrAllInterfaceGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.api.mgrallinterface; import com.inspur.edp.cef.generator.apiGenerator.dataType.mgrAllInterface.MgrAllInterfaceGenerator; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/mgrinterface/UdtGetResInfoGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/mgrinterface/UdtGetResInfoGenerator.java index 5ac1315..74b27b7 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/mgrinterface/UdtGetResInfoGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/mgrinterface/UdtGetResInfoGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.api.mgrinterface; import com.inspur.edp.caf.generator.baseInfo.TypeInfo; @@ -35,7 +21,6 @@ import com.inspur.edp.cef.gencommon.MediateType; import com.inspur.edp.cef.generator.apiGenerator.CefApiGeneratorContext; import com.inspur.edp.cef.generator.coreGenerator.base.entitygen.EntityGeneratorContext; import com.inspur.edp.cef.generator.coreGenerator.base.entitygen.method.GetResInfoGenerator; -import com.inspur.edp.cef.spi.entity.resourceInfo.builinImpls.CefEntityResInfoImpl; import com.inspur.edp.udt.core.Udt.UdtResInfoImpl; import org.eclipse.jdt.core.dom.Assignment; import org.eclipse.jdt.core.dom.ClassInstanceCreation; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/mgrinterface/UdtMgrInerfaceGenCtx.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/mgrinterface/UdtMgrInerfaceGenCtx.java index dd987ad..8bb4392 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/mgrinterface/UdtMgrInerfaceGenCtx.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/mgrinterface/UdtMgrInerfaceGenCtx.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.api.mgrinterface; import com.inspur.edp.cef.generator.apiGenerator.dataType.mgrInterface.MgrInterfaceGeneratorContext; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/mgrinterface/UdtMgrInterfaceGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/mgrinterface/UdtMgrInterfaceGenerator.java index 1b74ae8..8f5af45 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/mgrinterface/UdtMgrInterfaceGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/mgrinterface/UdtMgrInterfaceGenerator.java @@ -14,27 +14,10 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.api.mgrinterface; import com.inspur.edp.cef.generator.apiGenerator.dataType.mgrInterface.MgrInterfaceGenerator; import com.inspur.edp.cef.generator.apiGenerator.dataType.mgrInterface.MgrInterfaceGeneratorContext; -import com.inspur.edp.cef.generator.apiGenerator.dataType.mgrInterface.mgrInfo.MgrInfoBaseGenerator; -import com.inspur.edp.cef.generator.apiGenerator.dataType.mgrInterface.resourceInfo.ModelInfoBaseGenerator; -import com.inspur.edp.cef.generator.apiGenerator.dataType.mgrInterface.valueObjMgrInfo.ValueObjMgrInfoGenerator; import com.inspur.edp.udt.generator.api.ApiHelper; import com.inspur.edp.udt.generator.api.UdtApiGenCtx; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/mgrinterface/UdtModelInfoCtorGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/mgrinterface/UdtModelInfoCtorGenerator.java index ffbf569..4e3ebd1 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/mgrinterface/UdtModelInfoCtorGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/mgrinterface/UdtModelInfoCtorGenerator.java @@ -14,25 +14,10 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.api.mgrinterface; import com.inspur.edp.caf.generator.utils.ExpressionUtils; import com.inspur.edp.cef.api.determination.NestedTransmitType; -import com.inspur.edp.cef.generator.apiGenerator.dataType.mgrInterface.MgrInterfaceGeneratorContext; import com.inspur.edp.cef.generator.apiGenerator.dataType.mgrInterface.resourceInfo.ModelInfoCtorGenerator; import com.inspur.edp.udt.designtime.api.entity.TransmitType; import com.inspur.edp.udt.designtime.api.entity.UnifiedDataTypeDef; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/mgrinterface/UdtModelInfoGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/mgrinterface/UdtModelInfoGenerator.java index 67eb569..c6e9188 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/mgrinterface/UdtModelInfoGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/mgrinterface/UdtModelInfoGenerator.java @@ -14,24 +14,9 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.api.mgrinterface; import com.inspur.edp.caf.generator.method.ClassMethodGenerator; -import com.inspur.edp.cef.generator.apiGenerator.dataType.mgrInterface.MgrInterfaceGeneratorContext; import com.inspur.edp.cef.generator.apiGenerator.dataType.mgrInterface.resourceInfo.ModelInfoBaseGenerator; import com.inspur.edp.cef.generator.apiGenerator.dataType.mgrInterface.resourceInfo.ModelInfoCtorGenerator; import com.inspur.edp.udt.core.Udt.UdtMgrResInfoImpl; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/mgrinterface/UdtModelInfoGetResourceGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/mgrinterface/UdtModelInfoGetResourceGenerator.java index 68d2531..2fc75fd 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/mgrinterface/UdtModelInfoGetResourceGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/mgrinterface/UdtModelInfoGetResourceGenerator.java @@ -14,33 +14,17 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.api.mgrinterface; import com.inspur.edp.caf.generator.baseInfo.ParameterInfo; import com.inspur.edp.caf.generator.baseInfo.TypeInfo; import com.inspur.edp.caf.generator.method.ClassMethodGenerator; import com.inspur.edp.cef.gencommon.MediateType; -import com.inspur.edp.cef.generator.apiGenerator.dataType.mgrInterface.MgrInterfaceGeneratorContext; import com.inspur.edp.cef.spi.entity.resourceInfo.builinImpls.CefValueObjResInfo; import com.inspur.edp.udt.generator.api.UdtApiGenCtx; import java.util.ArrayList; import org.eclipse.jdt.core.dom.Block; import org.eclipse.jdt.core.dom.ClassInstanceCreation; -import org.eclipse.jdt.core.dom.MethodInvocation; import org.eclipse.jdt.core.dom.Modifier.ModifierKeyword; import org.eclipse.jdt.core.dom.ReturnStatement; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/mgrinterface/UdtResourceInfoFieldGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/mgrinterface/UdtResourceInfoFieldGenerator.java index 6844783..da435fb 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/mgrinterface/UdtResourceInfoFieldGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/mgrinterface/UdtResourceInfoFieldGenerator.java @@ -14,25 +14,10 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.api.mgrinterface; import com.inspur.edp.caf.generator.baseInfo.TypeInfo; import com.inspur.edp.cef.generator.coreGenerator.base.entitygen.field.ResourceInfoFieldGenerator; -import com.inspur.edp.cef.spi.entity.resourceInfo.builinImpls.CefEntityResInfoImpl; import com.inspur.edp.udt.core.Udt.UdtResInfoImpl; public class UdtResourceInfoFieldGenerator extends ResourceInfoFieldGenerator { diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/typeprocessers/persistencevaluereader/JsonSerializePersistenceValueReadGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/typeprocessers/persistencevaluereader/JsonSerializePersistenceValueReadGenerator.java index 0f0ed06..9c74109 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/typeprocessers/persistencevaluereader/JsonSerializePersistenceValueReadGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/typeprocessers/persistencevaluereader/JsonSerializePersistenceValueReadGenerator.java @@ -14,31 +14,15 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.api.typeprocessers.persistencevaluereader; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import com.inspur.edp.caf.generator.baseInfo.TypeInfo; -import com.inspur.edp.caf.generator.utils.ExpressionUtils; import com.inspur.edp.cef.api.message.CefException; import com.inspur.edp.cef.generator.overall.GeneratorUtil; import lombok.var; import org.eclipse.jdt.core.dom.Block; -import org.eclipse.jdt.core.dom.Statement; import org.eclipse.jdt.core.dom.ThrowStatement; public class JsonSerializePersistenceValueReadGenerator extends UdtGetPersistenceValueMethodGenerator { diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/typeprocessers/persistencevaluereader/NullableTransPersistenceValueReaderGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/typeprocessers/persistencevaluereader/NullableTransPersistenceValueReaderGenerator.java index 81ef082..6a3b891 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/typeprocessers/persistencevaluereader/NullableTransPersistenceValueReaderGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/typeprocessers/persistencevaluereader/NullableTransPersistenceValueReaderGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.api.typeprocessers.persistencevaluereader; import com.inspur.edp.caf.generator.baseInfo.ParameterInfo; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/typeprocessers/persistencevaluereader/PersistenceValueReaderGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/typeprocessers/persistencevaluereader/PersistenceValueReaderGenerator.java index bcebf65..2c3fd8e 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/typeprocessers/persistencevaluereader/PersistenceValueReaderGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/typeprocessers/persistencevaluereader/PersistenceValueReaderGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.api.typeprocessers.persistencevaluereader; import com.inspur.edp.caf.generator.baseInfo.TypeInfo; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/typeprocessers/persistencevaluereader/PersistenceValueReadersGenCtx.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/typeprocessers/persistencevaluereader/PersistenceValueReadersGenCtx.java index 47623f8..8bbc826 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/typeprocessers/persistencevaluereader/PersistenceValueReadersGenCtx.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/typeprocessers/persistencevaluereader/PersistenceValueReadersGenCtx.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.api.typeprocessers.persistencevaluereader; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/typeprocessers/persistencevaluereader/PersistenceValueReadersGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/typeprocessers/persistencevaluereader/PersistenceValueReadersGenerator.java index 36989ee..99c319d 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/typeprocessers/persistencevaluereader/PersistenceValueReadersGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/typeprocessers/persistencevaluereader/PersistenceValueReadersGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.api.typeprocessers.persistencevaluereader; import com.inspur.edp.caf.generator.BaseGenerator; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/typeprocessers/persistencevaluereader/SimpleUdtEnumPersistanceGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/typeprocessers/persistencevaluereader/SimpleUdtEnumPersistanceGenerator.java index 406e730..15912de 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/typeprocessers/persistencevaluereader/SimpleUdtEnumPersistanceGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/typeprocessers/persistencevaluereader/SimpleUdtEnumPersistanceGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.api.typeprocessers.persistencevaluereader; import com.inspur.edp.caf.generator.utils.ExpressionUtils; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/typeprocessers/persistencevaluereader/TransProcessersPersistenceValueReaderGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/typeprocessers/persistencevaluereader/TransProcessersPersistenceValueReaderGenerator.java index 290567e..62e02f7 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/typeprocessers/persistencevaluereader/TransProcessersPersistenceValueReaderGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/typeprocessers/persistencevaluereader/TransProcessersPersistenceValueReaderGenerator.java @@ -14,35 +14,13 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.api.typeprocessers.persistencevaluereader; -import com.inspur.edp.caf.generator.baseInfo.ParameterInfo; -import com.inspur.edp.caf.generator.baseInfo.TypeInfo; -import com.inspur.edp.caf.generator.utils.ExpressionUtils; -import com.inspur.edp.cef.repository.typetransprocesser.Bool2CharProcesser; -import com.inspur.edp.cef.repository.typetransprocesser.DecimalTransProcesser; -import com.inspur.edp.cef.repository.typetransprocesser.IntTransProcesser; import com.inspur.edp.udt.generator.UdtGeneratorContext; -import java.util.ArrayList; import lombok.var; import org.eclipse.jdt.core.dom.Block; import org.eclipse.jdt.core.dom.MethodInvocation; import org.eclipse.jdt.core.dom.ReturnStatement; -import org.eclipse.jdt.core.dom.Statement; public class TransProcessersPersistenceValueReaderGenerator extends UdtGetPersistenceValueMethodGenerator { protected final UdtGeneratorContext udtGenCtx; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/typeprocessers/persistencevaluereader/UdtAssPersistenceValueGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/typeprocessers/persistencevaluereader/UdtAssPersistenceValueGenerator.java index aa9b384..514c9a1 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/typeprocessers/persistencevaluereader/UdtAssPersistenceValueGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/typeprocessers/persistencevaluereader/UdtAssPersistenceValueGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.api.typeprocessers.persistencevaluereader; import com.inspur.edp.caf.generator.utils.ExpressionUtils; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/typeprocessers/persistencevaluereader/UdtEnumPersistenceValueGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/typeprocessers/persistencevaluereader/UdtEnumPersistenceValueGenerator.java index 5a1aaf1..e77b605 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/typeprocessers/persistencevaluereader/UdtEnumPersistenceValueGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/typeprocessers/persistencevaluereader/UdtEnumPersistenceValueGenerator.java @@ -14,27 +14,12 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.api.typeprocessers.persistencevaluereader; import com.inspur.edp.caf.generator.utils.ExpressionUtils; import com.inspur.edp.cef.repository.typetransprocesser.Bool2CharProcesser; import com.inspur.edp.cef.repository.typetransprocesser.DecimalTransProcesser; import com.inspur.edp.cef.repository.typetransprocesser.IntTransProcesser; -import com.inspur.edp.udt.designtime.api.entity.element.UdtElement; import com.inspur.edp.udt.generator.UdtGeneratorContext; import lombok.var; import org.eclipse.jdt.core.dom.ConditionalExpression; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/typeprocessers/persistencevaluereader/UdtGetPersistenceValueMethodGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/typeprocessers/persistencevaluereader/UdtGetPersistenceValueMethodGenerator.java index 82399e8..73f24a5 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/typeprocessers/persistencevaluereader/UdtGetPersistenceValueMethodGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/api/typeprocessers/persistencevaluereader/UdtGetPersistenceValueMethodGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.api.typeprocessers.persistencevaluereader; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/config/UdtConfigGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/config/UdtConfigGenerator.java index df864b4..95d41a9 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/config/UdtConfigGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/config/UdtConfigGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.config; import com.inspur.edp.cef.generator.configGenerator.CefConfigGenerator; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/UdtCoreGenCtx.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/UdtCoreGenCtx.java index 9212faf..936a14d 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/UdtCoreGenCtx.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/UdtCoreGenCtx.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/UdtCoreGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/UdtCoreGenerator.java index 571df8d..a37288a 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/UdtCoreGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/UdtCoreGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core; import com.inspur.edp.cef.designtime.api.entity.ClassInfo; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/config/UdtConfigClassGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/config/UdtConfigClassGenerator.java index 30440d3..b292b23 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/config/UdtConfigClassGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/config/UdtConfigClassGenerator.java @@ -14,23 +14,8 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.config; - import com.inspur.edp.cef.generator.coreGenerator.base.configGenerator.ConfigClassGenerator; import com.inspur.edp.cef.generator.coreGenerator.base.configGenerator.GetConfigTypeGenerator; import com.inspur.edp.cef.generator.coreGenerator.base.configGenerator.GetConfigsMethodGenerator; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/config/UdtGetConfigTypeGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/config/UdtGetConfigTypeGenerator.java index bf7d491..06538d1 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/config/UdtGetConfigTypeGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/config/UdtGetConfigTypeGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.config; import com.inspur.edp.cef.generator.coreGenerator.base.configGenerator.GetConfigTypeGenerator; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/config/UdtGetConfigsMethodGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/config/UdtGetConfigsMethodGenerator.java index ec4dd6f..492553f 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/config/UdtGetConfigsMethodGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/config/UdtGetConfigsMethodGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.config; import com.inspur.edp.cef.entity.config.CefConfig; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/config/UdtGetExtendConfigsMethodGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/config/UdtGetExtendConfigsMethodGenerator.java index 10d47f3..d3b5560 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/config/UdtGetExtendConfigsMethodGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/config/UdtGetExtendConfigsMethodGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.config; import com.inspur.edp.cef.entity.config.CefExtendConfig; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/common/UdtConfigManager.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/common/UdtConfigManager.java index 063a013..2b0cd1d 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/common/UdtConfigManager.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/common/UdtConfigManager.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.rtgenerator.common; import com.inspur.edp.cef.entity.config.CefConfig; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/UdtEntityGenCtx.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/UdtEntityGenCtx.java index ee8dafe..8b029a6 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/UdtEntityGenCtx.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/UdtEntityGenCtx.java @@ -14,26 +14,11 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.rtgenerator.entity; import com.inspur.edp.cef.generator.coreGenerator.base.entitygen.EntityGeneratorContext; import com.inspur.edp.udt.generator.core.UdtCoreGenCtx; -import com.inspur.edp.udt.generator.core.rtgenerator.manager.UdtMgrGenCtx; public class UdtEntityGenCtx extends EntityGeneratorContext { diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/UdtEntityGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/UdtEntityGenerator.java index d4f3de1..2d52ddf 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/UdtEntityGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/UdtEntityGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.rtgenerator.entity; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/UdtImplGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/UdtImplGenerator.java index caf8ad0..d10d07b 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/UdtImplGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/UdtImplGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.rtgenerator.entity; @@ -40,7 +26,6 @@ import com.inspur.edp.cef.generator.coreGenerator.base.entitygen.EntityDataImplG import com.inspur.edp.cef.generator.coreGenerator.base.entitygen.ValueObjectImplGenerator; import com.inspur.edp.cef.generator.coreGenerator.base.entitygen.field.ResourceInfoFieldGenerator; import com.inspur.edp.cef.generator.coreGenerator.base.entitygen.method.GetResInfoGenerator; -import com.inspur.edp.cef.spi.entity.info.CefEntityTypeInfo; import com.inspur.edp.udt.core.Udt.AbstractUdt; import com.inspur.edp.udt.generator.api.mgrinterface.UdtGetResInfoGenerator; import com.inspur.edp.udt.generator.api.mgrinterface.UdtResourceInfoFieldGenerator; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/data/UdtAcsGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/data/UdtAcsGenerator.java index 184567b..f492d65 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/data/UdtAcsGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/data/UdtAcsGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.rtgenerator.entity.data; import com.inspur.edp.cef.gencommon.MediateType; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/data/UdtDataGetValueGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/data/UdtDataGetValueGenerator.java index e0bd903..a181c55 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/data/UdtDataGetValueGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/data/UdtDataGetValueGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.rtgenerator.entity.data; import com.inspur.edp.caf.generator.baseInfo.ParameterInfo; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/data/UdtDataImplGenCtx.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/data/UdtDataImplGenCtx.java index 937064e..f6d2f70 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/data/UdtDataImplGenCtx.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/data/UdtDataImplGenCtx.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.rtgenerator.entity.data; import com.inspur.edp.caf.generator.item.ClassGeneratorContext; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/data/UdtDataImplGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/data/UdtDataImplGenerator.java index 4402a0c..a2062d1 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/data/UdtDataImplGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/data/UdtDataImplGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.rtgenerator.entity.data; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/data/UdtDataSetValueGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/data/UdtDataSetValueGenerator.java index 5f411d9..47067ac 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/data/UdtDataSetValueGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/data/UdtDataSetValueGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.rtgenerator.entity.data; import com.inspur.edp.caf.generator.baseInfo.ParameterInfo; @@ -84,7 +70,7 @@ public class UdtDataSetValueGenerator extends ClassMethodGenerator { @Override protected ArrayList getParameterCollection() { - ArrayList list=new ArrayList(); + ArrayList list= new ArrayList<>(); ParameterInfo parameterInfo=new ParameterInfo(); parameterInfo.setParamName("value"); diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/data/UdtReadonlyAcsGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/data/UdtReadonlyAcsGenerator.java index 5bde898..b60d17a 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/data/UdtReadonlyAcsGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/data/UdtReadonlyAcsGenerator.java @@ -14,23 +14,8 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.rtgenerator.entity.data; - import com.inspur.edp.cef.gencommon.MediateType; import com.inspur.edp.cef.generator.coreGenerator.base.accessorgen.ReadOnlyNestedAcsGenerator; import com.inspur.edp.cef.generator.coreGenerator.base.entitygen.EntityGeneratorContext; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/dtms/UdtCreateAfterCreateDtmAssMethodGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/dtms/UdtCreateAfterCreateDtmAssMethodGenerator.java index 217f81b..b076a81 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/dtms/UdtCreateAfterCreateDtmAssMethodGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/dtms/UdtCreateAfterCreateDtmAssMethodGenerator.java @@ -14,32 +14,12 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.rtgenerator.entity.dtms; - import com.inspur.edp.caf.generator.baseInfo.TypeInfo; -import com.inspur.edp.cef.gencommon.MediateType; import com.inspur.edp.cef.generator.coreGenerator.base.entitygen.DataTypeImpContext; import com.inspur.edp.cef.generator.coreGenerator.base.entitygen.createdtmassmethod.ValueObjAfterCreateDtmAssMethodGenerator; -import com.inspur.edp.cef.generator.coreGenerator.base.entitygen.createdtmassmethod.ValueObjCreateDtmAssMethodGenerator; -import com.inspur.edp.udt.core.Determination.UdtAfterCreateDtmAssembler; import com.inspur.edp.udt.core.Determination.adaptors.UdtAftCreateDtmAdaptor; -import java.util.List; -import org.eclipse.jdt.core.dom.Type; public class UdtCreateAfterCreateDtmAssMethodGenerator extends ValueObjAfterCreateDtmAssMethodGenerator diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/dtms/UdtCreateAfterModifyDtmAssMethodGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/dtms/UdtCreateAfterModifyDtmAssMethodGenerator.java index 6f55bc4..7840ba0 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/dtms/UdtCreateAfterModifyDtmAssMethodGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/dtms/UdtCreateAfterModifyDtmAssMethodGenerator.java @@ -14,35 +14,13 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.rtgenerator.entity.dtms; import com.inspur.edp.caf.generator.baseInfo.TypeInfo; -import com.inspur.edp.cef.designtime.api.operation.CommonDetermination; import com.inspur.edp.cef.generator.coreGenerator.base.entitygen.DataTypeImpContext; import com.inspur.edp.cef.generator.coreGenerator.base.entitygen.createdtmassmethod.ValueObjCreateAfterModifyDtmAsseMethodGenerator; -import com.inspur.edp.cef.generator.coreGenerator.base.entitygen.createdtmassmethod.ValueObjCreateDtmAssMethodGenerator; -import com.inspur.edp.cef.generator.overall.GenUtils; -import com.inspur.edp.udt.core.Determination.UdtAfterCreateDtmAssembler; -import com.inspur.edp.udt.core.Determination.UdtAfterModifyDtmAssembler; -import com.inspur.edp.udt.core.Determination.adaptors.UdtAftCreateDtmAdaptor; import com.inspur.edp.udt.core.Determination.adaptors.UdtAftModifyDtmAdaptor; -import java.util.List; -import org.eclipse.jdt.core.dom.Type; public class UdtCreateAfterModifyDtmAssMethodGenerator extends ValueObjCreateAfterModifyDtmAsseMethodGenerator diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/dtms/UdtCreateBeforeSaveDtmAssMethodGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/dtms/UdtCreateBeforeSaveDtmAssMethodGenerator.java index 111b229..3184a0d 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/dtms/UdtCreateBeforeSaveDtmAssMethodGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/dtms/UdtCreateBeforeSaveDtmAssMethodGenerator.java @@ -14,30 +14,12 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.rtgenerator.entity.dtms; import com.inspur.edp.caf.generator.baseInfo.TypeInfo; -import com.inspur.edp.cef.designtime.api.operation.CommonDetermination; import com.inspur.edp.cef.generator.coreGenerator.base.entitygen.DataTypeImpContext; import com.inspur.edp.cef.generator.coreGenerator.base.entitygen.createdtmassmethod.ValueObjBeforeSaveDtmAssMethodGenerator; -import com.inspur.edp.cef.generator.overall.GenUtils; -import com.inspur.edp.udt.core.Determination.UdtBeforeSaveDtmAssembler; import com.inspur.edp.udt.core.Determination.adaptors.UdtB4SaveDtmAdaptor; -import java.util.List; public class UdtCreateBeforeSaveDtmAssMethodGenerator extends ValueObjBeforeSaveDtmAssMethodGenerator { diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/method/GetCacheInfoMethodGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/method/GetCacheInfoMethodGenerator.java index 4571c54..8b79e09 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/method/GetCacheInfoMethodGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/method/GetCacheInfoMethodGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.rtgenerator.entity.method; import com.inspur.edp.caf.generator.baseInfo.TypeInfo; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/method/UdtCtorGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/method/UdtCtorGenerator.java index c1bde8d..fcbf483 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/method/UdtCtorGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/method/UdtCtorGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.rtgenerator.entity.method; import com.inspur.edp.caf.generator.baseInfo.ParameterInfo; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/method/UdtGetCacheInfoFieldGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/method/UdtGetCacheInfoFieldGenerator.java index bfd0de3..e92a801 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/method/UdtGetCacheInfoFieldGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/method/UdtGetCacheInfoFieldGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.rtgenerator.entity.method; import com.inspur.edp.caf.generator.baseInfo.TypeInfo; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/vals/UdtCreateAfterModifyValAssMethodGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/vals/UdtCreateAfterModifyValAssMethodGenerator.java index 27972f0..62048c0 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/vals/UdtCreateAfterModifyValAssMethodGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/vals/UdtCreateAfterModifyValAssMethodGenerator.java @@ -14,32 +14,13 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.rtgenerator.entity.vals; import com.inspur.edp.caf.generator.baseInfo.TypeInfo; import com.inspur.edp.cef.generator.coreGenerator.base.entitygen.DataTypeImpContext; import com.inspur.edp.cef.generator.coreGenerator.base.entitygen.createvalassmethod.ValueObjCreateAfterModifyValAssMethodGenerator; -import com.inspur.edp.cef.generator.coreGenerator.base.entitygen.createvalassmethod.ValueObjCreateValAssMethodGenerator; -import com.inspur.edp.udt.core.Determination.UdtBeforeSaveDtmAssembler; -import com.inspur.edp.udt.core.Determination.adaptors.UdtAftModifyDtmAdaptor; -import com.inspur.edp.udt.core.Validation.UdtAfterModifyValAssembler; import com.inspur.edp.udt.core.Validation.adaptors.UdtAftModifyValAdaptor; -import org.eclipse.jdt.core.dom.Type; public class UdtCreateAfterModifyValAssMethodGenerator extends ValueObjCreateAfterModifyValAssMethodGenerator diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/vals/UdtCreateBeforeSaveValAssMethodGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/vals/UdtCreateBeforeSaveValAssMethodGenerator.java index 1e1feb1..8c12e80 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/vals/UdtCreateBeforeSaveValAssMethodGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/entity/vals/UdtCreateBeforeSaveValAssMethodGenerator.java @@ -14,32 +14,12 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.rtgenerator.entity.vals; import com.inspur.edp.caf.generator.baseInfo.TypeInfo; import com.inspur.edp.cef.generator.coreGenerator.base.entitygen.DataTypeImpContext; import com.inspur.edp.cef.generator.coreGenerator.base.entitygen.createvalassmethod.ValueObjCreateB4SaveValsAssGenerator; -import com.inspur.edp.cef.generator.coreGenerator.base.entitygen.createvalassmethod.ValueObjCreateValAssMethodGenerator; -import com.inspur.edp.udt.core.Determination.UdtBeforeSaveDtmAssembler; -import com.inspur.edp.udt.core.Determination.adaptors.UdtAftModifyDtmAdaptor; -import com.inspur.edp.udt.core.Determination.adaptors.UdtB4SaveDtmAdaptor; -import com.inspur.edp.udt.core.Validation.UdtBeforeSaveValAssembler; import com.inspur.edp.udt.core.Validation.adaptors.UdtB4SaveValAdaptor; -import org.eclipse.jdt.core.dom.Type; public class UdtCreateBeforeSaveValAssMethodGenerator extends ValueObjCreateB4SaveValsAssGenerator { diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/CreateAbstractUdtGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/CreateAbstractUdtGenerator.java index 496e418..5eac2b3 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/CreateAbstractUdtGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/CreateAbstractUdtGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.rtgenerator.manager; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/CreateDataConverterGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/CreateDataConverterGenerator.java index ee4dda8..9731459 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/CreateDataConverterGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/CreateDataConverterGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.rtgenerator.manager; import com.fasterxml.jackson.databind.JsonSerializer; @@ -42,12 +28,6 @@ import org.eclipse.jdt.core.dom.ReturnStatement; import java.util.ArrayList; -// -// protected override JsonConverter GetDataConverter(); -// { -// return new XXXX(ctx); -// } -// public class CreateDataConverterGenerator extends ClassMethodGenerator { private MgrImplGenCtx mgrGenCtx; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/GetDataDeserializerGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/GetDataDeserializerGenerator.java index 5316882..93a1550 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/GetDataDeserializerGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/GetDataDeserializerGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.rtgenerator.manager; import com.fasterxml.jackson.databind.JsonDeserializer; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/MgrImplGenCtx.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/MgrImplGenCtx.java index 4a12273..870a160 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/MgrImplGenCtx.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/MgrImplGenCtx.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.rtgenerator.manager; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/UdtGetModelInfosMethodGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/UdtGetModelInfosMethodGenerator.java index 638a2f2..e9b6882 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/UdtGetModelInfosMethodGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/UdtGetModelInfosMethodGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.rtgenerator.manager; import com.inspur.edp.caf.generator.baseInfo.TypeInfo; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/UdtManagerImplGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/UdtManagerImplGenerator.java index 78747f7..f1aec31 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/UdtManagerImplGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/UdtManagerImplGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.rtgenerator.manager; @@ -37,8 +23,6 @@ import com.inspur.edp.caf.generator.method.ClassMethodGenerator; import com.inspur.edp.cef.generator.coreGenerator.base.mgrGenerator.ValueObjManagerGenerator; import com.inspur.edp.udt.core.Manager.AbstractUdtManager; -import com.inspur.edp.udt.generator.core.rtgenerator.manager.dataconverter.DataConverterGenerator; -import com.inspur.edp.udt.generator.core.rtgenerator.manager.dataconverter.DataDeSerializerGenerator; import com.inspur.edp.udt.generator.core.rtgenerator.manager.dataconverter.GetChangeDeserGenerator; import com.inspur.edp.udt.generator.core.rtgenerator.manager.dataconverter.GetChangeSerializerGenerator; import com.inspur.edp.udt.generator.core.rtgenerator.manager.dataconverter.UdtDataSerGenerator; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/UdtMgrGenCtx.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/UdtMgrGenCtx.java index f52b934..bafc5c2 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/UdtMgrGenCtx.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/UdtMgrGenCtx.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.rtgenerator.manager; import com.inspur.edp.cef.generator.coreGenerator.base.mgrGenerator.ManagerGeneratorContext; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/UdtMgrGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/UdtMgrGenerator.java index b8cc568..40f7ec3 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/UdtMgrGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/UdtMgrGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.rtgenerator.manager; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/UdtMgrGetRepositoryGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/UdtMgrGetRepositoryGenerator.java index 75ed94f..459de5f 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/UdtMgrGetRepositoryGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/UdtMgrGetRepositoryGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.rtgenerator.manager; import com.inspur.edp.caf.generator.baseInfo.ParameterInfo; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/acccessorcreator/UdtAccessorCreatorGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/acccessorcreator/UdtAccessorCreatorGenerator.java index aa392bd..9b26b96 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/acccessorcreator/UdtAccessorCreatorGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/acccessorcreator/UdtAccessorCreatorGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.rtgenerator.manager.acccessorcreator; import com.inspur.edp.caf.generator.item.ClassGeneratorContext; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/acccessorcreator/UdtCreateAccessorGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/acccessorcreator/UdtCreateAccessorGenerator.java index e8afb90..f16533d 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/acccessorcreator/UdtCreateAccessorGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/acccessorcreator/UdtCreateAccessorGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.rtgenerator.manager.acccessorcreator; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/acccessorcreator/UdtCreateReadonlyAccessorGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/acccessorcreator/UdtCreateReadonlyAccessorGenerator.java index 724b67c..128c293 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/acccessorcreator/UdtCreateReadonlyAccessorGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/acccessorcreator/UdtCreateReadonlyAccessorGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.rtgenerator.manager.acccessorcreator; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/dataconverter/CreateDataMethodGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/dataconverter/CreateDataMethodGenerator.java index fc59666..bb076d7 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/dataconverter/CreateDataMethodGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/dataconverter/CreateDataMethodGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.rtgenerator.manager.dataconverter; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/dataconverter/DataConverterGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/dataconverter/DataConverterGenerator.java index 0456e92..082817c 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/dataconverter/DataConverterGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/dataconverter/DataConverterGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.rtgenerator.manager.dataconverter; import com.inspur.edp.caf.generator.baseInfo.TypeInfo; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/dataconverter/DataDeSerializerGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/dataconverter/DataDeSerializerGenerator.java index 9cc3279..ddec2cd 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/dataconverter/DataDeSerializerGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/dataconverter/DataDeSerializerGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.rtgenerator.manager.dataconverter; import com.inspur.edp.caf.generator.baseInfo.TypeInfo; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/dataconverter/GetChangeDeserGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/dataconverter/GetChangeDeserGenerator.java index 55442d3..318b983 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/dataconverter/GetChangeDeserGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/dataconverter/GetChangeDeserGenerator.java @@ -14,33 +14,17 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.rtgenerator.manager.dataconverter; import com.inspur.edp.caf.generator.baseInfo.ParameterInfo; import com.inspur.edp.caf.generator.baseInfo.TypeInfo; import com.inspur.edp.caf.generator.method.ClassMethodGenerator; import com.inspur.edp.cef.spi.jsonser.abstractcefchange.AbstractCefChangeJsonDeserializer; -import com.inspur.edp.cef.spi.jsonser.abstractcefchange.AbstractCefChangeSerializer; import com.inspur.edp.udt.generator.core.rtgenerator.manager.UdtMgrGenCtx; import java.util.ArrayList; import org.eclipse.jdt.core.dom.Block; import org.eclipse.jdt.core.dom.ClassInstanceCreation; import org.eclipse.jdt.core.dom.Modifier; -import org.eclipse.jdt.core.dom.Modifier.ModifierKeyword; import org.eclipse.jdt.core.dom.ReturnStatement; public class GetChangeDeserGenerator extends ClassMethodGenerator { diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/dataconverter/GetChangeSerializerGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/dataconverter/GetChangeSerializerGenerator.java index a5bafaf..a1e7132 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/dataconverter/GetChangeSerializerGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/dataconverter/GetChangeSerializerGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.rtgenerator.manager.dataconverter; import com.inspur.edp.caf.generator.baseInfo.ParameterInfo; @@ -39,7 +25,6 @@ import java.util.ArrayList; import org.eclipse.jdt.core.dom.Block; import org.eclipse.jdt.core.dom.ClassInstanceCreation; import org.eclipse.jdt.core.dom.Modifier; -import org.eclipse.jdt.core.dom.Modifier.ModifierKeyword; import org.eclipse.jdt.core.dom.ReturnStatement; public class GetChangeSerializerGenerator extends ClassMethodGenerator { diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/dataconverter/UdtDataGetTypesGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/dataconverter/UdtDataGetTypesGenerator.java index e71827a..5ab2154 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/dataconverter/UdtDataGetTypesGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/dataconverter/UdtDataGetTypesGenerator.java @@ -14,28 +14,12 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.rtgenerator.manager.dataconverter; import com.inspur.edp.caf.generator.baseInfo.TypeInfo; import com.inspur.edp.cef.designtime.api.IGspCommonDataType; import com.inspur.edp.cef.generator.coreGenerator.base.mgrGenerator.ManagerGeneratorContext; import com.inspur.edp.cef.generator.coreGenerator.base.serializer.changeser.dataType.SerGetTypesGenerator; -import com.inspur.edp.cef.spi.jsonser.abstractcefchange.AbstractCefDataSerItem; -import com.inspur.edp.cef.spi.jsonser.entity.AbstractEntitySerializerItem; import com.inspur.edp.cef.spi.jsonser.valueobj.AbstractValueObjSerializer; import java.util.ArrayList; import org.eclipse.jdt.core.dom.ParameterizedType; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/dataconverter/UdtDataSerGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/dataconverter/UdtDataSerGenerator.java index 8d1bcdf..651f3a8 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/dataconverter/UdtDataSerGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/manager/dataconverter/UdtDataSerGenerator.java @@ -14,23 +14,8 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.rtgenerator.manager.dataconverter; -import com.inspur.edp.cef.generator.coreGenerator.base.mgrGenerator.ManagerGeneratorContext; import com.inspur.edp.cef.generator.coreGenerator.base.serializer.dataser.CefDataSerGenerator; import com.inspur.edp.cef.generator.coreGenerator.base.serializer.dataser.deserializer.CefNodeDataDeserGenerator; import com.inspur.edp.cef.generator.coreGenerator.base.serializer.dataser.serializer.base.CefNodeDataSerGenerator; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/repository/UdtGetManagerGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/repository/UdtGetManagerGenerator.java index 4e0abb1..d7dba57 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/repository/UdtGetManagerGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/repository/UdtGetManagerGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.rtgenerator.repository; import com.inspur.edp.cef.generator.repository.repository.nestedrepository.GetManagerMethodGenerator; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/repository/UdtRepoGenCtx.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/repository/UdtRepoGenCtx.java index f438015..ef03ea1 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/repository/UdtRepoGenCtx.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/repository/UdtRepoGenCtx.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.rtgenerator.repository; import com.inspur.edp.cef.generator.repository.repository.nestedrepository.DataTypeReposGenContext; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/repository/UdtRepoGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/repository/UdtRepoGenerator.java index f6904ee..9959f05 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/repository/UdtRepoGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/repository/UdtRepoGenerator.java @@ -14,23 +14,7 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.rtgenerator.repository; -// -// import com.inspur.edp.caf.generator.baseInfo.TypeInfo; import com.inspur.edp.cef.api.repository.INestedRepository; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/repository/UdtRepositoryGenCtx.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/repository/UdtRepositoryGenCtx.java index 83148aa..98d49d0 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/repository/UdtRepositoryGenCtx.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/repository/UdtRepositoryGenCtx.java @@ -14,27 +14,10 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.rtgenerator.repository; import com.inspur.edp.cef.generator.repository.RepositoryGenContext; -// -//import com.inspur.edp.cef.rtgenerator.repositorygen.RepositoryGenContext; -// public class UdtRepositoryGenCtx extends RepositoryGenContext { public UdtRepositoryGenCtx() diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/repository/UdtRepositoryGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/repository/UdtRepositoryGenerator.java index 6f8852e..902bf1b 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/repository/UdtRepositoryGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/repository/UdtRepositoryGenerator.java @@ -14,27 +14,13 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.rtgenerator.repository; -import com.inspur.edp.cef.designtime.api.IGspCommonDataType; import com.inspur.edp.cef.generator.coreGenerator.base.CefCoreGeneratorContext; import com.inspur.edp.cef.generator.repository.RepositoryGenContext; import com.inspur.edp.cef.generator.repository.RepositoryGenerator; import com.inspur.edp.cef.generator.repository.repository.nestedrepository.DataTypeRepositoryGenerator; + public class UdtRepositoryGenerator extends RepositoryGenerator { private CefCoreGeneratorContext cefCoreGeneratorContext; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/repository/adapter/UdtAdapterGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/repository/adapter/UdtAdapterGenerator.java index 80a787e..86086a2 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/repository/adapter/UdtAdapterGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/repository/adapter/UdtAdapterGenerator.java @@ -14,23 +14,7 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.rtgenerator.repository.adapter; -import com.inspur.edp.cef.generator.coreGenerator.base.CefCoreGeneratorContext; -import com.inspur.edp.cef.generator.repository.AssemblerInfo; import com.inspur.edp.cef.generator.repository.adaptor.NestedAdaptorGenerator; import com.inspur.edp.udt.generator.core.rtgenerator.repository.dac.UdtDacGenCtx; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/repository/dac/UDTDacGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/repository/dac/UDTDacGenerator.java index bad2691..85c35d7 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/repository/dac/UDTDacGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/repository/dac/UDTDacGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.rtgenerator.repository.dac; import com.inspur.edp.cef.generator.repository.adaptor.NestedAdaptorGenerator; @@ -37,13 +23,6 @@ import com.inspur.edp.cef.generator.repository.repository.nestedrepository.DataT import com.inspur.edp.udt.generator.core.rtgenerator.repository.UdtRepoGenCtx; import com.inspur.edp.udt.generator.core.rtgenerator.repository.adapter.UdtAdapterGenerator; -// -//import com.inspur.edp.cef.rtgenerator.repositorygen.adaptor.NestedAdaptorGenerator; -//import com.inspur.edp.cef.rtgenerator.repositorygen.dac.NestedDacGenContext; -//import com.inspur.edp.cef.rtgenerator.repositorygen.dac.UdtDacGenerator; -//import com.inspur.edp.udt.rtgenerator.repository.UdtRepoGenCtx; -//import com.inspur.edp.udt.rtgenerator.repository.adapter.UdtAdapterGenerator; -// public class UDTDacGenerator extends UdtDacGenerator { private UdtRepoGenCtx reposContext; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/repository/dac/UdtDacGenCtx.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/repository/dac/UdtDacGenCtx.java index 5d70de5..c6e8c49 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/repository/dac/UdtDacGenCtx.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/core/rtgenerator/repository/dac/UdtDacGenCtx.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.core.rtgenerator.repository.dac; import com.inspur.edp.cef.generator.repository.dac.NestedDacGenContext; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/entity/UdtConfigNamesGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/entity/UdtConfigNamesGenerator.java index 28c028d..adacbe8 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/entity/UdtConfigNamesGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/entity/UdtConfigNamesGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.entity; import com.inspur.edp.cef.entity.config.CefConfig; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/entity/UdtEntityGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/entity/UdtEntityGenerator.java index 2f29400..511ee14 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/entity/UdtEntityGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/entity/UdtEntityGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.entity; import com.inspur.edp.cef.generator.entityGenerator.base.DataTypeGenerator; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/entity/UdtEntityGeneratorContext.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/entity/UdtEntityGeneratorContext.java index 932b472..fd0dbfb 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/entity/UdtEntityGeneratorContext.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/entity/UdtEntityGeneratorContext.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.entity; import com.inspur.edp.cef.generator.entityGenerator.valueObject.ValueObjEntityGeneratorContext; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/entity/UdtNodeGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/entity/UdtNodeGenerator.java index 9dd1d5b..809294e 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/entity/UdtNodeGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/entity/UdtNodeGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.entity; import com.inspur.edp.cef.generator.entityGenerator.base.dataTypeData.DataTypeDataGenerator; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/entity/UdtNodeGeneratorContext.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/entity/UdtNodeGeneratorContext.java index 8feda30..6fc526d 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/entity/UdtNodeGeneratorContext.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/entity/UdtNodeGeneratorContext.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.entity; import com.inspur.edp.cef.generator.entityGenerator.valueObject.ValueObjectGeneratorContext; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/entity/data/UdtDataGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/entity/data/UdtDataGenerator.java index f5f8a82..9960b88 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/entity/data/UdtDataGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/entity/data/UdtDataGenerator.java @@ -14,24 +14,9 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.entity.data; import com.inspur.edp.caf.generator.baseInfo.TypeInfo; -import com.inspur.edp.cef.api.RefObject; import com.inspur.edp.cef.designtime.api.IGspCommonField; import com.inspur.edp.cef.designtime.api.element.GspElementDataType; import com.inspur.edp.cef.designtime.api.element.GspElementObjectType; @@ -45,7 +30,6 @@ import com.inspur.edp.udt.entity.ISimpleUdtData; import com.inspur.edp.udt.entity.IUdtData; import com.inspur.edp.udt.generator.entity.UdtNodeGeneratorContext; -import java.lang.reflect.Type; import java.util.ArrayList; public class UdtDataGenerator extends DataTypeDataGenerator { diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/repository/UdtRepoGenCtx.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/repository/UdtRepoGenCtx.java index 54c3929..453d83b 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/repository/UdtRepoGenCtx.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/repository/UdtRepoGenCtx.java @@ -14,33 +14,17 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.repository; -import com.inspur.edp.cef.generator.repository.base.CefRepoGenCtx; import com.inspur.edp.cef.generator.repository.repository.nestedrepository.NestedRepositoryGenCtx; import com.inspur.edp.udt.generator.UdtGeneratorContext; -public class UdtRepoGenCtx extends NestedRepositoryGenCtx -{ - public UdtGeneratorContext udtGenCtx; - public UdtRepoGenCtx(UdtGeneratorContext udtGenCtx) - { - super(); - this.udtGenCtx = udtGenCtx; - } +public class UdtRepoGenCtx extends NestedRepositoryGenCtx { + public UdtGeneratorContext udtGenCtx; + + public UdtRepoGenCtx(UdtGeneratorContext udtGenCtx) { + super(); + this.udtGenCtx = udtGenCtx; + } } diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/repository/assembler/method/ComplexUdtInitColumnGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/repository/assembler/method/ComplexUdtInitColumnGenerator.java index 475e0c3..b5bad20 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/repository/assembler/method/ComplexUdtInitColumnGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/repository/assembler/method/ComplexUdtInitColumnGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.repository.assembler.method; import com.inspur.edp.caf.generator.baseInfo.TypeInfo; @@ -38,14 +24,11 @@ import com.inspur.edp.cef.designtime.api.util.Guid; import com.inspur.edp.cef.generator.repository.valueObject.ValueObjectAssemblerGenCtx; import com.inspur.edp.cef.generator.repository.valueObject.methods.ValueObjInitColumnMethodGenerator; import com.inspur.edp.udt.designtime.api.entity.ComplexDataTypeDef; -import com.inspur.edp.udt.designtime.api.entity.dbInfo.ColumnMapType; import com.inspur.edp.udt.designtime.api.entity.element.ElementCollection; import com.inspur.edp.udt.designtime.api.entity.element.UdtElement; import com.inspur.edp.udt.designtime.api.entity.property.PropertyCollection; import com.inspur.edp.udt.generator.UdtGeneratorContext; -import static com.inspur.edp.udt.designtime.api.entity.dbInfo.ColumnMapType.*; - public class ComplexUdtInitColumnGenerator extends ValueObjInitColumnMethodGenerator { private ValueObjectAssemblerGenCtx parentContext; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/repository/assembler/method/SimpleUdtInitColumnGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/repository/assembler/method/SimpleUdtInitColumnGenerator.java index 7e30e0a..675d0ba 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/repository/assembler/method/SimpleUdtInitColumnGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/repository/assembler/method/SimpleUdtInitColumnGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.repository.assembler.method; import com.inspur.edp.caf.generator.baseInfo.TypeInfo; diff --git a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/repository/assembler/property/ColumnMapTypePropGenerator.java b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/repository/assembler/property/ColumnMapTypePropGenerator.java index f990739..8bdbb1b 100644 --- a/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/repository/assembler/property/ColumnMapTypePropGenerator.java +++ b/unified-datatype-generator/src/main/java/com/inspur/edp/udt/generator/repository/assembler/property/ColumnMapTypePropGenerator.java @@ -14,20 +14,6 @@ * limitations under the License. */ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package com.inspur.edp.udt.generator.repository.assembler.property; import com.inspur.edp.caf.generator.baseInfo.TypeInfo; -- Gitee