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 8853ec10c5d4a6aa0f0ee295423eedf690069672..1bb71283447c1ee16d80b2ad90e731605a9acf22 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 932968c0c92acf4fa1b4a5cbd9c107cf94505461..456e8d0cbf75e3fcc7b29dc0f1d3831feb5edfee 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,26 +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; 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 +54,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/api/ApiHelper.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/api/ApiHelper.java index 6d3e1343965459592ffa782e7e498827e88f2e59..02e18c497b53066352c9e0db6b5c42385ffed8f4 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 f4dbdec2e860d92ea48b24babfda75b7da39b8c3..4a6aeb2c537163e7cf4d84d95302a451367aab8c 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 e8d701c1d4ce67b7d0e1eba126a0e6c926f2fc48..e5b7d35d38d36826808b464541b700cf63340e50 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 29ce70766a5ef830a977bf95ccb32ca9da54e5fb..fd77a21fc6a40799b9cc8b6e7070bd2fc05eeafb 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 43426106e86971d1e868ba7a67e61db202fdab92..32b378396de2b4418d02ea81b87986c4e427dff8 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 25c58f57e7f36182a1e9734a790597082ec0c9cd..e1dd976f167fe735c27b75a68173b4182faf533d 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 43cd981a92bfae0ab308d1a116ef560b123318cf..18199f52392e8e62ed22ffb0b18462aadc520126 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 fa51137981fe5a89224534b005fe77a6dcc669bd..f90bc9662da25b47d62ff69f26cd8f40d0677682 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 8bff96360d73ce3a7c9ac068ef17bf70b30a287b..139ddaa7600cc9f1820638cbdf2ab8b7edcca41f 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 95896432097d6a602f55549e4dc8a908d7e5f4a2..bb73e9bf2a7f588eaf857bc11a4aadc69ff85337 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 a4aa0724d4421fe9a8435ea3ede17bfe8933e94b..3024cfe5a7eea652b3cb95bef11dd26704bdd525 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 0d62e38d0205992f8246e4ee709d816168c1f0e8..ce500ee084dcf65fe3db908d63432ec20a776fe2 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 c6c389ecf95dcb2c03c9ad5cd3c77490fdb8aaf3..d439ab57319587d62f4600d986d08949df01b053 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 092ac9f7175637bd6d7f1dcf6d79cea4bf47fc17..1f87d472c78413bd97dfd33f15b3727b9078b8f4 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 988dd7fda60acd16388c431e7aa5f76a2793c0b3..7b534b85cedbd9ee688ca36d85f993100050ad88 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,28 +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.config; 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; public class VarConfigGenerator { @@ -66,7 +52,7 @@ public class VarConfigGenerator try { return (mapper.writeValueAsString(config)); } catch (JsonProcessingException e) { - throw new RuntimeException(e); + throw new CefGenException(e); } } @@ -81,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 5dd4e5654d7f2c0c2745822e88df991f4c4a9171..ea1bf57eb80b43e24f516d85a3952ce98ff02186 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 54502cb4a49547939c2bb2b4c89365a1b1c29517..f949e84c4b09a8d5b8bc6a21991852e080071a30 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 94a2c8815676b09d9fb3a38858442a37bb94b831..6c432cac9ddef116278645f2cd0da75383842a52 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 318f1d781875c017345f82d0c44d7385750155fe..525f35a302b96a6ded30cabaadebac94def5852e 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 ad3324fc0e395ebdc3d672ec238832b122a07247..8a532fd233f1636b216e5a9e0c2e35be2b4dea25 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 bfd75f0c7b5da69c6189252a7a4bdfecc6ce65f3..da440840e26d91a545cfd3abe16dddcd90da0d4d 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 43990f487a5f5da98e097641272a7ec2b958fd53..bdf1f6794de152037f6394a1a4ea13eb408e46b0 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 6e554947773d91e206de64ca78cf4f77b9fcb06b..003cb0b26f0f0500bbcc349612c412cf0abd68be 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 8bcf4b567f0b31dc511615a226278edcbf739855..9fda064b2a1c600d72b3a051ba85aa7fefda9927 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 a0131fecb75d7e855f3ab2102ddf49ad1fb7845b..a3c4a7674f7cabb44914036e181e10a6cd09a1b4 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 919c1744ae6489646083da0e9eec4f116397bf63..c732d92e208c32ed1c5fd3b8e22995eaea9be820 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 87a9b41c4a5f2740beecd0bcdfa6a6fcaecf5fa2..863f4a1671b28350a791bb89e2b0629f50805d29 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 6e60c91a216f47ce0d2fd65c890e27ae50e8ddc7..1bb6b81c0c3be32d695fdd9f9b0a7deb3fdda84e 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 03e80d240b9a5b2ee15f803426f2a227ee1d2942..78776d81b85788eaad42db63c28305a08456a797 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 ba0a91ff0f957458f1cad9526007a3787bd1b38f..b0b9dfd8c717ff7e3c0db6652f7db0f6b6350361 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 1a26a6d0f7b97252d132626a10ed89ad9cebda18..90cc0a2f5ceeefa1423dbd4ea3887b09f5b7829e 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 dac26fdde06747376258d23f8bf876e224f2ff26..3aa70dafc4490c2d3869cab4e0c92fa68e4bada6 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 5504a58679a14ab8cb1657634228fbd2e3b07718..9b03645a327392af39bec4a9803839fbea6de2b0 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 df5450bd7f51319f8d8385d3482efb070888da98..16170fafd98a9a2d8f7bd1df39e934cc73e5ca05 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 0d0f66c8cdd2373f5bbef4dd63babfa440256284..9b5ef0a3d71ed0ccc5af5eb05b50b47a4ab0ebfe 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 a101d73defcdfdb589e45d962d2f29eedbf7c836..2389d484ebf4e8465e7d2babb1082ec9c84a9255 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 3a1d398e2da3ab113d9be139ef41c9149ec057de..8be9c37c00decad7478cc4697c8ffa819b330e33 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 090a6a86de9e2725b5539e29a361cdea2e3f2b18..f75339fc3211da60fa470246b05da80d790ae823 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 4a63a49a1bf914d9a15eb0cdb9bd88709553269e..567a25373e4c0ad5ee543b8785b53a95a6544e07 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 66a76625e44f22cefc0e7609ea86ba9fae00a962..37c091989398d04443b4b10106e1af2edbe2a67a 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 dee2d3bae303813395ec4a93a3f02d7b14a461de..a61e36c37525dba3d0790d33daec4a4f98fa0944 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 723c2de3a96ef986a02e81f09b61173310d2bccf..65b60fd31170e39e6e23bca1bd37b31716583652 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 c0281ea47d6f6064ed4ca0f04fc1a5ffa9f3fadb..62458212499cfff42529ec7706f577044afe03da 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 ae6d104b43e6e028e2cb6cb049c3b16d8b104963..91b05dc98f337a08508f6983294791fff13dc05c 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 7f38c8a1e8ed8e1cbb30c526eede81ad74da7715..28b2ed75747bbdf117c0a217acfe481fa73100d3 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 c35e688bfedadd0decc206fe7f9385c00df322e9..c1c70ebd11121a5aa18a1d5fe73a1ee30b900642 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 42458d98da98551dab38b5a7483f237c669ee931..3b81c8804ba4fa82b7bcf1d850ea8e2959bce225 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,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.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; 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; /** @@ -115,7 +99,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; @@ -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; - } /** 修改构件 @@ -178,9 +154,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/cmpgenerators/ComponentClassNameGenerator.java b/common-entity-variable-generator/src/main/java/com/inspur/edp/cef/variable/dtgenerator/vardtmGenerate/cmpgenerators/ComponentClassNameGenerator.java index ed690a5ea9670146166a051ec3396e8557642cde..92cac148ace49dd52072da57ef9af4b3aef29fd9 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 7e4979a36ed1a262fdbd8200369e54ae2029bcd8..3e7738081edd16d0c2990a1042c95d8c970cdf56 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 370e462a34293fb7dbaee8d33491b9e0a78f7c1d..66a73c71f7d2d5aa76a3da502b3ec5a91429817c 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 756d88fdb523dee7019e0dfa4ff45c59d7786d44..cd221bfdc85947efdb21789dea77d677d21c4915 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,25 +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.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; 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; @@ -40,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 字段 @@ -110,11 +95,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 +107,7 @@ public abstract class JavaBaseCommonCompCodeGenerator implements JavaIBaseCompCo } else { - throw new RuntimeException("当前元数据不属于构件元数据"); + throw new CefGenException("当前元数据不属于构件元数据"); } String[] sections = fullClassName.split("[.]", -1); @@ -213,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) @@ -243,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 07fe15c4823445b5759d411425da83fad61ec61c..b152eb32a31f97e554be190309dc5ca93947df4f 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 819651f7663c8798a627e0eb79cb5e8ff8b07981..f5ed9c64d5147d6c5792a6d4fc7757208e2fa26f 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 019b7616a9628724b56ecee66f2632a108070dbc..62f07f7f34f442c7a5fa0de0ffb52a6e0813f5e0 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 7cd0259de703fae90e1ed14b773287d86cd0383f..3c1c9cf83afd052cca608095b2a0f58073e2f9dc 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 f370042798c51ec5b8e0a3997b26c4743282cd1d..2fa1b2d5cbc5cf9ddb5a7a43d70d769edc9718f9 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 c047c002ee558f52083a01207bb2a0685dc243de..c2313ebccca44509f249446034d7ebeadea7a69b 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 54eb93faff3ce1b45c590abecdab59c88527988b..f090c3a4a376e51ab0f7f1db00c14929b114062d 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 2c171391594d5e2dd0a3435ac23792b8c46b629d..725dee7ec3878d50992df454a4d62b4fc201327f 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 c40cc210330666e8d17a5c1806a943594f46decb..38ee009d04d3842f2bd87b92cf1fc193ab36b3e7 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 2b5f3d8b9c077f81febc3c095199bb43e03878b0..b610a4aa05186e8416920c30f662de5752f533c3 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 5627d2c51608bbb86f230ad7a04ae96fb80e7d6b..2b546ede27ab09141e159547f061f80abc871cae 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 057ced940ef9cf063e8c38b89173f8a696e4cfb8..9f70b528c2bf10fd7eb236621f2385ba1dd7d232 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 c93ce3e4128682085ecac2a30ddc059b2ff93c4b..857c92b04e8a63b1e9b0502cf3a939bfca611c7c 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 50126f85a7069de6b59f266b04f86cb8525d1cca..77db240a9c1dbddb3666850c2d69764cca752c06 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 7e6c5d7788926cc76349f020e66f6d5302db4cac..50e280bf4e0f085ecabdb2318d8e1e6bd562c41d 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 c1b02a1211d40a387c88a15d49fddaa54db23185..dfb66bef8e80a2446e398073499fe5d252b9724a 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 f4757454b1b63bc99499882b126a120d2ea99aac..8fb24a63c608a584f7d96506f4024e957fa9f48e 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 b9b2bc15a917b7b54f69b8e6d8d57b12cd7d6035..ed3c4571e6ec19fd889f265f9e8c64ac6798de47 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 b7f8c2908a06f73bd57a4f047c29209c8b3badf9..99a163a558fbabe092fcaa85e53ff4c96bc1e98a 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 eee2c7e8a35de7b94215837b5b28a08f9d748648..6e931f21dd4e47756221e1919557604e92be075c 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 7a5b98dd946abef6747d092fa78f6bdf6c27b837..9ea9bc0c4956fbbff435953a7ede10a04a8c3ff1 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 5a68c4ce7fd1cdc0465941e1968e896895af6b34..f6e6ace48e9aa0d04c94311a981e8ff0f737c6be 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 315f5fdef1f554c9d7e339f359841188dbc19bdb..4c8d0ec89e4425f2b5826f054b0dde4eef56b779 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 27bf290760f2f156339eb6f872d705bf6aaa005e..ba7d5855712c5d1530cd4de5287b83da271a644d 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 5ac1315e3d8e1cee325d64cd81ce8d3cf40526ed..74b27b7a4cea5aaaed26f98d1c3baede1b46c85b 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 dd987adaf7ad742f2f51749e62864d325a51a916..8bb43925d5fafa522f3378176a16dbac469289c0 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 1b74ae85301202c9a9f29e64a7bea1854b17cd55..8f5af457d9912d18ce3e4b84e3aa3ee1f746621d 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 ffbf56930a3056c91306a825c4ef8131ab52b26a..4e3ebd13eb3bc034a3259fb64e04cf7d98a04dd0 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 67eb569d910b79cb52052a25a8ff4af171aa69b0..c6e9188710c8e45a34277fcd1cf062fe6ae17236 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 68d25314d0d2eea69249af293d5cf50e90ff7b85..2fc75fd02ffa8d18751b040aa41bef6302381762 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 6844783910181124e01f6c34c7b435d857208a35..da435fbc7534aced301c55c43c24871961e1d1d2 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 0f0ed06602f9cfe7a3e6fe0e3fb7277f20620ccd..9c74109eb69a03fb886c499ec1026b3b2d49d62d 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 81ef082f698f61d7812755768dd377ed6c3e5b4e..6a3b891ca50bd013b0ac5b6da74203bcc5cfca95 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 bcebf6501ea6af8ca1449c87774eda0207ac9c2c..2c3fd8e1d3f015ec0c9aeb62b156b68c61daacf3 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 47623f87b472ce895dc56edc9cb10c7d50f3f55f..8bbc826163b3130a1f90bd7c46ebcc18fd14c6fe 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 36989ee50ad9a8b69849162333f3bc15b8eb33f5..99c319dd7f0188f8977bc875bb8960235dee6883 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 406e7300804035d914e507da3cadbec5d8783b8b..15912debebcbfbb56e01ffb3e63acc0c3c9061e7 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 290567e53f5256da3969ebc9eebea455d585e0c8..62e02f7f4a53d0f04e826ac68e34fe747eebeea8 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 aa9b384012a3e98a38a0c1886e04e3d0ad6346c4..514c9a15b47730e7d60b9e78e5223cc505c49a40 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 5a1aaf1bfd35161520a8c3124842231de4b6eb05..e77b60599968bc0794f44ad733e88db42922364c 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 82399e8d3e304cdcfee1b0b8e17b5bcd597a9461..73f24a58f58954cfd41bb78d90faa4ffc49ad1f0 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 df864b4ab2b3597f65ad532376ade8104f03dbe5..95d41a9085fda95ae0bd1c5ebf10d61ac54e4bbf 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 9212faf6190f00b0d7f04c977f83fed80109a118..936a14d054856d9be44b607d8e82cf5caa0bbb70 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 571df8d7ecdb979528e745c45a40290b4eb29394..a37288a20dec1bc58cee03faa5ccba134b065399 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 30440d3943b0c8c4842acab9ec31de51cbe6aaff..b292b23566a54180e17d14cca258f6dda3626e7c 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 bf7d491104a8ec9d8767e382211bb46cea6f05aa..06538d1c2c0f67e3702871f1be59b4904d91fc38 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 ec4dd6f90971c17fe2fb7ea93aa023c9cf77aaff..492553fa7b5aca6798026421233cbe9392e3b8c7 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 10d47f3576222f108b072e354feb524977901e7d..d3b5560898ec08e540e732f006e2c5fabee34977 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 063a01364d8d741231159bd793ef530c49de2180..2b0cd1d89e2a07e98babb6b7514b2648b89b9fed 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 ee8dafe5cb6b0daadaac8edf4d081789269109be..8b029a642d36320c5700f75afcf33fd3958c736f 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 d4f3de1c11ffd84cd05bd0d1a995a95ec2fd76f4..2d52ddf658e20ab3976d9019ffc062e5c408ac48 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 caf8ad0f300406d74ae4598958b1e27c40983e78..d10d07b7b429819967cdeb8b51142768f34d96c4 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 184567b0c628f0adb42a3518c98033e76a50b3ba..f492d65c8af92d9ce6d3a0a312fa0c2f3eb0fc70 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 e0bd903ddbebc4b357d68bf59f3298fd20043ac4..a181c551547c96dc123acc737ca396367598a52d 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 937064e2d9995aa979189ddc7b9b0c097e46594c..f6d2f70a4f3502c1489cf4a7d0dbe4bc3f3cf8fc 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 4402a0c3b8bc192628ee4dbdba2989bd8c282ce3..a2062d160ad55f16c90acdd2f46f06949a8aa895 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 5f411d9f2e6cce905a14044e04f7fe9b4e0f21e3..47067ac3c86c3f656007750d29e23eee9fcf3436 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 5bde89804e02217848e664feb16a8cebf20f7344..b60d17af98cb6166fd8554f55e99cba9ca6507e3 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 217f81bf9e74eca0799d9afe9491410377705722..b076a8176f52de95f5d4f01965d4a8930c2d2a8d 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 6f55bc4d994b9ec0b62a0c6bbcef8f91f9601c4a..7840ba0e94266adbdaffc165defd17786d79b907 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 111b229e52250cccf0b321f4059416a280ff514e..3184a0d3ee441cfe2f6946f2ac7d6cb14de7b3b5 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 4571c548eb0c4fe24be62153d42d633bc9163fcc..8b79e093207eed1994ee0de372408551a3c63938 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 c1bde8d1772dfa3c9a7870d00c2c0fb95ec21852..fcbf48319ac8d24dbeae451e2041316da56a8c50 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 bfd0de326a93fbec4a62bac4c2b5bb6c13f051b4..e92a801604f7b7b7918014b70690ed54c2145689 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 27972f050352c9a046887688502709cb6f17966c..62048c0f5792f18f2d998c1fafc96679f5764140 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 1e1feb1c4e007ec64f8d32b098e7324787b49988..8c12e80caef95f7bbe200f18e1bac777f8123c15 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 496e418f34d14030d6ac88612a4300d0fa323184..5eac2b3430f775a8ab04fd2f64e2955e00df0597 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 ee4dda8a215901e6683986fbca76dfeb56319f75..97314595401554874ee1206c430a39bc4353ec4f 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 5316882aa6f1c85ee2b6cbf15e54334c1ede938f..93a15505024e255b02849f54a12c945732040601 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 4a12273ced9f15f291430d66ef47458bd2f90770..870a16054ac95a72a8aea8846c73fa82c091e857 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 638a2f23df3bb53baa55828cb4b9629cdc212bf0..e9b68820a3f941fa8896278470b84e16edb580b7 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 78747f7445e4636191bc9741111f6aa0efecec0f..f1aec313dad3513e2506d416c349c292fa46fe31 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 f52b93424cf52b02120659e0196a825c4d2da7e4..bafc5c26ddba98711264194f20961a08de23dab0 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 b8cc568e69aa8b3ac30e3b1cdee6904c6c95dd93..40f7ec3a13823e0f6695a7c001435db3ea7fd32b 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 75ed94f1d96feb9ee2f0fd1c48a469793da8b9b2..459de5f4d8ab652a10d6d7c5cdcb9e2a0de95313 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 aa392bd7020a66c9e4e48135181c25abad7c3f5d..9b26b96253a72d22bb35e05f03ca4c9d45ffcd37 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 e8afb90a90a46e48d8a3a642790c899dba7d5c1c..f16533d13aeb2fd3fb4c491d15080ea8187510e4 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 724b67c82cae9207e5fabd507e3acbc300e04580..128c293001a701a94aeb2479ea08e9789a971314 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 fc59666bcfdeb0d29dca341956ce02c45d0110d7..bb076d7aea445b276b5add8b81fdc4e0a982cb2f 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 0456e9286156d2b4f0c3539e0034e60003cfc8a1..082817c5df7964c210089b9b2ed5964e834aa3cd 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 9cc3279549d158ba42ec0cacd35be805ba9d04c1..ddec2cdbfe84a960bee5a7ee873a8db6f3bbf193 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 55442d3160994f5c1f92c869d6435ae9ef005fbb..318b983c76236047dd4d03256876774b6ef33209 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 a5bafaf49966fcb6a5de22c62a81e63c9a3ccadc..a1e71323ce453ce409d462911d80ac974908da76 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 e71827ab2815a19efe491aa5cbe4e1db3d18fac6..5ab21542742aa6ed19886b096b0e0b9061ccdbc8 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 8d1bcdf8b29cbaf09e9c77dcf613dd4c52d9f023..651f3a85315b66361167463fa2dfdbb1a31b94c3 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 4e0abb1b87d4b053e7d6251f419b232c20f2ded7..d7dba57792f3a0db4a811bfe4f4f2f1997025bb6 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 f43801512aa70a77c6e3c208e4baf0431a5aae7b..ef03ea18005fa14d000a0c25c78b1ae97ddedf2a 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 f6904eeea9ac292f205b2f09f1685145d33b8c0f..9959f0587022f9b6dca08226325ac25683ded480 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 83148aa53319c9e87c76c76b176a4ddd4b173c41..98d49d003bfa44d37e48f3216470cd901ab01898 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 6f8852e24f0e1c71d6ac2a4eb890b6cf4fe537d8..902bf1b807e0c96e9bbf3a2d13b74085ed7db153 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 80a787ed04e20650427b96906a89da52fe95b1f6..86086a2809b02020bbb4e453ee8153ec6708fecf 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 bad2691f8bc834432a48a043b0c22cdc09428491..85c35d7112d4b0f649742f271339bca5be202bab 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 5d70de5e41b1e419eada5960321921c24aa11bc9..c6e8c499453996d525aeaf6b7821df8a8a239372 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 28c028dc5e828f2cd7686a8b05c9724c4653f6fa..adacbe890a9418ba2e97ac72dc5a7cd5a24c0aaf 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 2f29400e40a788ab538a55e792dec1cd09d7fef9..511ee144006d9b29f072dbd5e0ef050f6cfa7eef 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 932b4721cc8aa8db59c4fc7edc767aac45e7aa46..fd0dbfba9493adb472eb58de96e7dc4761d9d280 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 9dd1d5bac98d8dc3bca8794586794c88e6544351..809294e537f0e13edae76ded2e9a33e902c01cd6 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 8feda307662fa2a42738bb781b37a6623fcda808..6fc526d77e599b27cf2abcca6ea994bb3c17447f 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 f5f8a823aa73ee4340804060835a6bc9c97947d3..9960b8828f0593f83425850b411468b216b2a14d 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 54c39297f2be4e440bdbe4bcb2aa63abf169da7c..453d83b302b4e24a3a54cc28daa0ff8506479a7b 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 475e0c30149e0500340011f01ea9ed281a2b8c0a..b5bad20376c6bbd9b247bad4a868ccea43c4d7d4 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 7e30e0a8b0c791d0cbd92787a7ab7e38820743c8..675d0ba167b2d17b45c48f419d4d35e6a1d20765 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 f990739af5bd953a47e4eaafee7a6bf0c99a3d41..8bdbb1bf14dcf76a112bbba46a963187ae1f3a14 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;