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

ca.canadapost.cpcdp.rating.generated.discovery.Option Maven / Gradle / Ivy

There is a newer version: 2.15.0
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2014.03.13 at 11:05:37 AM EDT 
//


package ca.canadapost.cpcdp.rating.generated.discovery;

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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * 

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { }) @XmlRootElement(name = "option") public class Option { @XmlElement(name = "option-code", required = true) @XmlJavaTypeAdapter(NormalizedStringAdapter.class) @XmlSchemaType(name = "normalizedString") protected String optionCode; @XmlElement(name = "option-name", required = true) @XmlJavaTypeAdapter(NormalizedStringAdapter.class) @XmlSchemaType(name = "normalizedString") protected String optionName; @XmlElement(name = "option-class", required = true) @XmlJavaTypeAdapter(NormalizedStringAdapter.class) @XmlSchemaType(name = "normalizedString") protected String optionClass; @XmlElement(name = "prints-on-label") protected boolean printsOnLabel; @XmlElement(name = "qualifier-required") protected boolean qualifierRequired; @XmlElement(name = "conflicting-options") protected Option.ConflictingOptions conflictingOptions; @XmlElement(name = "prerequisite-options") protected Option.PrerequisiteOptions prerequisiteOptions; /** * Gets the value of the optionCode property. * * @return {@link String} */ public String getOptionCode() { return optionCode; } /** * Sets the value of the optionCode property. * * @param value * allowed object is * {@link String } * */ public void setOptionCode(String value) { this.optionCode = value; } /** * Gets the value of the optionName property. * * @return * possible object is * {@link String } * */ public String getOptionName() { return optionName; } /** * Sets the value of the optionName property. * * @param value * allowed object is * {@link String } * */ public void setOptionName(String value) { this.optionName = value; } /** * Gets the value of the optionClass property. * * @return * possible object is * {@link String } * */ public String getOptionClass() { return optionClass; } /** * Sets the value of the optionClass property. * * @param value * allowed object is * {@link String } * */ public void setOptionClass(String value) { this.optionClass = value; } /** * Gets the value of the printsOnLabel property. * @return print on label */ public boolean isPrintsOnLabel() { return printsOnLabel; } /** * Sets the value of the printsOnLabel property. * @param value print on label */ public void setPrintsOnLabel(boolean value) { this.printsOnLabel = value; } /** * Gets the value of the qualifierRequired property. * @return qualifier required */ public boolean isQualifierRequired() { return qualifierRequired; } /** * Sets the value of the qualifierRequired property. * @param value qualifier required */ public void setQualifierRequired(boolean value) { this.qualifierRequired = value; } /** * Gets the value of the conflictingOptions property. * * @return * possible object is * {@link Option.ConflictingOptions } * */ public Option.ConflictingOptions getConflictingOptions() { return conflictingOptions; } /** * Sets the value of the conflictingOptions property. * * @param value * allowed object is * {@link Option.ConflictingOptions } * */ public void setConflictingOptions(Option.ConflictingOptions value) { this.conflictingOptions = value; } /** * Gets the value of the prerequisiteOptions property. * * @return * possible object is * {@link Option.PrerequisiteOptions } * */ public Option.PrerequisiteOptions getPrerequisiteOptions() { return prerequisiteOptions; } /** * Sets the value of the prerequisiteOptions property. * * @param value * allowed object is * {@link Option.PrerequisiteOptions } * */ public void setPrerequisiteOptions(Option.PrerequisiteOptions value) { this.prerequisiteOptions = value; } @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "optionCodes" }) public static class ConflictingOptions { @XmlElement(name = "option-code", required = true) @XmlJavaTypeAdapter(NormalizedStringAdapter.class) @XmlSchemaType(name = "normalizedString") protected List optionCodes; /** * Gets the value of the optionCodes property. * *

* 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 set method for the optionCodes property. * *

* For example, to add a new item, do as follows: *

         *    getOptionCodes().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * @return List of String * */ public List getOptionCodes() { if (optionCodes == null) { optionCodes = new ArrayList(); } return this.optionCodes; } } /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "optionCodes" }) public static class PrerequisiteOptions { @XmlElement(name = "option-code", required = true) @XmlJavaTypeAdapter(NormalizedStringAdapter.class) @XmlSchemaType(name = "normalizedString") protected List optionCodes; /** * Gets the value of the optionCodes property. * *

* 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 set method for the optionCodes property. * *

* For example, to add a new item, do as follows: *

         *    getOptionCodes().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * @return List of String * * */ public List getOptionCodes() { if (optionCodes == null) { optionCodes = new ArrayList(); } return this.optionCodes; } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy