vlc.j2c-operation-wrapper.vm Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of legstar-jaxws-generator Show documentation
Show all versions of legstar-jaxws-generator Show documentation
Generates adapters and proxies for inbound and outbound mainframe integration with Web Services.
The newest version!
##/////////////////////////////////////////////////////////////////////
##Jaxws Operation Wrapper Template.
##@author Fady
##/////////////////////////////////////////////////////////////////////
#if(${cixsOperation.packageName})
package ${cixsOperation.packageName};
#end
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
#if($importType)
import ${importType};
#end
/**
* LegStar/Jaxws Operation $propertyName Wrapper.
* A wrapper class for the ${propertyName}.
*
* This class was generated by ${generatorName}.
*/
@XmlRootElement(name = "${wrapperType}")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "${wrapperType}",
namespace = "${cixsOperation.namespace}",
propOrder = {
"${fieldName}"
})
public class ${wrapperType} {
/** Inner JAXB-bound object. */
@XmlElement(name = "${fieldJaxbType}",
namespace = "${fieldJaxbNamespace}",
required = true)
private ${fieldJaxbType} ${fieldName};
/**
* Get the inner JAXB-bound object.
*
* @return JAXB-bound object
*/
public ${fieldJaxbType} get${propertyName}() {
return ${fieldName};
}
/**
* Set the inner JAXB-bound object.
*
* @param value JAXB-bound object
*/
public void set${propertyName}(
final ${fieldJaxbType} value) {
${fieldName} = value;
}
}