// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2012.07.12 at 11:32:44 AM EEST // package org.agnitas.emm.springws.jaxb; import java.util.ArrayList; import java.util.List; 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; /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <all> * <element name="shortname" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="mailinglistID" type="{http://www.w3.org/2001/XMLSchema}int"/> * <element name="targetIDList"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="targetID" type="{http://www.w3.org/2001/XMLSchema}int" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * <element name="matchTargetGroups" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="mailingType" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="subject" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="senderName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="senderAddress" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="replyToName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="replyToAddress" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="charset" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="linefeed" type="{http://www.w3.org/2001/XMLSchema}int"/> * <element name="format" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="onePixel" type="{http://www.w3.org/2001/XMLSchema}string"/> * </all> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { }) @XmlRootElement(name = "AddTemplateRequest") public class AddTemplateRequest { @XmlElement(required = true) protected String shortname; protected String description; protected int mailinglistID; @XmlElement(required = true) protected AddTemplateRequest.TargetIDList targetIDList; @XmlElement(required = true) protected String matchTargetGroups; @XmlElement(required = true) protected String mailingType; @XmlElement(required = true) protected String subject; protected String senderName; @XmlElement(required = true) protected String senderAddress; protected String replyToName; @XmlElement(required = true) protected String replyToAddress; @XmlElement(required = true) protected String charset; protected int linefeed; @XmlElement(required = true) protected String format; @XmlElement(required = true) protected String onePixel; /** * Gets the value of the shortname property. * * @return * possible object is * {@link String } * */ public String getShortname() { return shortname; } /** * Sets the value of the shortname property. * * @param value * allowed object is * {@link String } * */ public void setShortname(String value) { this.shortname = value; } /** * Gets the value of the description property. * * @return * possible object is * {@link String } * */ public String getDescription() { return description; } /** * Sets the value of the description property. * * @param value * allowed object is * {@link String } * */ public void setDescription(String value) { this.description = value; } /** * Gets the value of the mailinglistID property. * */ public int getMailinglistID() { return mailinglistID; } /** * Sets the value of the mailinglistID property. * */ public void setMailinglistID(int value) { this.mailinglistID = value; } /** * Gets the value of the targetIDList property. * * @return * possible object is * {@link AddTemplateRequest.TargetIDList } * */ public AddTemplateRequest.TargetIDList getTargetIDList() { return targetIDList; } /** * Sets the value of the targetIDList property. * * @param value * allowed object is * {@link AddTemplateRequest.TargetIDList } * */ public void setTargetIDList(AddTemplateRequest.TargetIDList value) { this.targetIDList = value; } /** * Gets the value of the matchTargetGroups property. * * @return * possible object is * {@link String } * */ public String getMatchTargetGroups() { return matchTargetGroups; } /** * Sets the value of the matchTargetGroups property. * * @param value * allowed object is * {@link String } * */ public void setMatchTargetGroups(String value) { this.matchTargetGroups = value; } /** * Gets the value of the mailingType property. * * @return * possible object is * {@link String } * */ public String getMailingType() { return mailingType; } /** * Sets the value of the mailingType property. * * @param value * allowed object is * {@link String } * */ public void setMailingType(String value) { this.mailingType = value; } /** * Gets the value of the subject property. * * @return * possible object is * {@link String } * */ public String getSubject() { return subject; } /** * Sets the value of the subject property. * * @param value * allowed object is * {@link String } * */ public void setSubject(String value) { this.subject = value; } /** * Gets the value of the senderName property. * * @return * possible object is * {@link String } * */ public String getSenderName() { return senderName; } /** * Sets the value of the senderName property. * * @param value * allowed object is * {@link String } * */ public void setSenderName(String value) { this.senderName = value; } /** * Gets the value of the senderAddress property. * * @return * possible object is * {@link String } * */ public String getSenderAddress() { return senderAddress; } /** * Sets the value of the senderAddress property. * * @param value * allowed object is * {@link String } * */ public void setSenderAddress(String value) { this.senderAddress = value; } /** * Gets the value of the replyToName property. * * @return * possible object is * {@link String } * */ public String getReplyToName() { return replyToName; } /** * Sets the value of the replyToName property. * * @param value * allowed object is * {@link String } * */ public void setReplyToName(String value) { this.replyToName = value; } /** * Gets the value of the replyToAddress property. * * @return * possible object is * {@link String } * */ public String getReplyToAddress() { return replyToAddress; } /** * Sets the value of the replyToAddress property. * * @param value * allowed object is * {@link String } * */ public void setReplyToAddress(String value) { this.replyToAddress = value; } /** * Gets the value of the charset property. * * @return * possible object is * {@link String } * */ public String getCharset() { return charset; } /** * Sets the value of the charset property. * * @param value * allowed object is * {@link String } * */ public void setCharset(String value) { this.charset = value; } /** * Gets the value of the linefeed property. * */ public int getLinefeed() { return linefeed; } /** * Sets the value of the linefeed property. * */ public void setLinefeed(int value) { this.linefeed = value; } /** * Gets the value of the format property. * * @return * possible object is * {@link String } * */ public String getFormat() { return format; } /** * Sets the value of the format property. * * @param value * allowed object is * {@link String } * */ public void setFormat(String value) { this.format = value; } /** * Gets the value of the onePixel property. * * @return * possible object is * {@link String } * */ public String getOnePixel() { return onePixel; } /** * Sets the value of the onePixel property. * * @param value * allowed object is * {@link String } * */ public void setOnePixel(String value) { this.onePixel = value; } /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="targetID" type="{http://www.w3.org/2001/XMLSchema}int" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "targetID" }) public static class TargetIDList { @XmlElement(type = Integer.class) protected List<Integer> targetID; /** * Gets the value of the targetID property. * * <p> * This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a <CODE>set</CODE> method for the targetID property. * * <p> * For example, to add a new item, do as follows: * <pre> * getTargetID().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link Integer } * * */ public List<Integer> getTargetID() { if (targetID == null) { targetID = new ArrayList<Integer>(); } return this.targetID; } } }