All Downloads are FREE. Search and download functionalities are using the official Maven repository.

templates.includes.response.vector.class.vm Maven / Gradle / Ivy

There is a newer version: 3.5.0
Show newest version
#parse("${include}/generic.include.vm")
#parse("${include}/webclient.ksoap.include.vm")
#set( $schemaObj= $sourceinfo.schemaObj)
#if($sourceinfo.response)
#set( $returnType=$sourceinfo.objectForPort)
#else
//不支持的数据类型
#end
#if($returnType.array)
#set($elementType=$returnType.componentType)
#else
#set($genericType=$property.readMethod.genericReturnType.toString())
#set($classArray=$TOOL.getAllClassForGenericType(genericType))
#if($classArray.size()==2)
#set($elementType=$classArray[1])
#else
//不支持复杂集合类型 $genericType       
#end###if($classArray.size()==2)
#end
#set ( $className                ="$TOOL.toClassName($schemaObj.name)")
$codewriter.setCurrentJavaFilename("$pkg", "${className}.java")
package $pkg;
#outputImports()
import java.util.Vector;
/**
 * $GENERAED_BY
* $sourceinfo.operation.name.localPart 端口(port)返回对象实现
* @see ${webServiceInfo.ports[${sourceinfo.operation.name.localPart}].getDocSignature($imports)} * @author guyadong
*/ public class $className extends Vector<#getKname($TOOL.toObjectType($elementType))>{ private static final long serialVersionUID = 1L; public #typeName($returnType) get_return(){ return ${C_UTILITS}.fromVector(this,#typeName($returnType).class); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy