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

vlc.j2c-service-common-imports.vm Maven / Gradle / Ivy

Go to download

Generates adapters and proxies for inbound and outbound mainframe integration with Web Services.

There is a newer version: 1.5.3
Show newest version
##/////////////////////////////////////////////////////////////////////
##Jaxws Component Common Velocity Template.
##These are the directives and macros shared by the Jaxws component
##generation artifacts.
##@author Fady
##/////////////////////////////////////////////////////////////////////
## ==================================================================
## Create a list of unique objects
##
#macro(addUnique $list $object)
#if (!$list.contains($object))
#set($ret = $list.add($object))
#end
#end
## ==================================================================
## Operations with single input or output need an import of the jaxb
## type as well as the binding type. But the same type should not be
## imported twice. This macro makes sure we have a single import per
## jaxb and coxb type.
##
#macro(getImportTypes $cixsStructures)
#foreach ($cixsStructure in $cixsStructures)
#if($cixsStructures.size() == 1)
#set($newType = ${helper.getQualClassName(${cixsStructure.jaxbPackageName}, ${cixsStructure.jaxbType})})
#addUnique($importTypes $newType)
#end
#addUnique($jaxbTypes ${cixsStructure.jaxbType})
#end
#end
## ==================================================================




© 2015 - 2024 Weber Informatics LLC | Privacy Policy