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

org.jibx.schema.org.hr_xml.ns._2_4.HR_XML_2_4.StandAlone.PositionOpening.StaffingSupportingMaterialsType Maven / Gradle / Ivy


package org.jibx.schema.org.hr_xml.ns._2_4.HR_XML_2_4.StandAlone.PositionOpening;

/** 
 * This type is officially deprecated in favor of the subsequently issued "SupportingMaterials" schema located in the CPO folder.  The prefix "Staffing" was added to the type name here so as to distinguish it.  No content models were changed here.
 * 
 * Schema fragment(s) for this class:
 * 
 * <xs:complexType xmlns:ns="http://ns.hr-xml.org/2006-02-28" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="StaffingSupportingMaterialsType">
 *   <xs:sequence>
 *     <xs:choice>
 *       <xs:element type="xs:string" name="Link" minOccurs="0"/>
 *       <xs:element name="AttachmentReference" minOccurs="0">
 *         <!-- Reference to inner class AttachmentReference -->
 *       </xs:element>
 *     </xs:choice>
 *     <xs:element type="xs:string" name="Description" minOccurs="0"/>
 *   </xs:sequence>
 * </xs:complexType>
 * 
*/ public class StaffingSupportingMaterialsType { private int choiceSelect = -1; private static final int LINK_CHOICE = 0; private static final int ATTACHMENT_REFERENCE_CHOICE = 1; private String link; private AttachmentReference attachmentReference; private String description; private void setChoiceSelect(int choice) { if (choiceSelect == -1) { choiceSelect = choice; } else if (choiceSelect != choice) { throw new IllegalStateException( "Need to call clearChoiceSelect() before changing existing choice"); } } /** * Clear the choice selection. */ public void clearChoiceSelect() { choiceSelect = -1; } /** * Check if Link is current selection for choice. * * @return true if selection, false if not */ public boolean ifLink() { return choiceSelect == LINK_CHOICE; } /** * Get the 'Link' element value. * * @return value */ public String getLink() { return link; } /** * Set the 'Link' element value. * * @param link */ public void setLink(String link) { setChoiceSelect(LINK_CHOICE); this.link = link; } /** * Check if AttachmentReference is current selection for choice. * * @return true if selection, false if not */ public boolean ifAttachmentReference() { return choiceSelect == ATTACHMENT_REFERENCE_CHOICE; } /** * Get the 'AttachmentReference' element value. * * @return value */ public AttachmentReference getAttachmentReference() { return attachmentReference; } /** * Set the 'AttachmentReference' element value. * * @param attachmentReference */ public void setAttachmentReference(AttachmentReference attachmentReference) { setChoiceSelect(ATTACHMENT_REFERENCE_CHOICE); this.attachmentReference = attachmentReference; } /** * Get the 'Description' element value. * * @return value */ public String getDescription() { return description; } /** * Set the 'Description' element value. * * @param description */ public void setDescription(String description) { this.description = description; } /** * Schema fragment(s) for this class: *
     * <xs:element xmlns:ns="http://ns.hr-xml.org/2006-02-28" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="AttachmentReference" minOccurs="0">
     *   <xs:complexType>
     *     <xs:simpleContent>
     *       <xs:extension base="xs:string">
     *         <xs:attribute type="xs:string" name="context"/>
     *         <xs:attribute type="xs:string" name="mimeType"/>
     *       </xs:extension>
     *     </xs:simpleContent>
     *   </xs:complexType>
     * </xs:element>
     * 
*/ public static class AttachmentReference { private String string; private String context; private String mimeType; /** * Get the extension value. * * @return value */ public String getString() { return string; } /** * Set the extension value. * * @param string */ public void setString(String string) { this.string = string; } /** * Get the 'context' attribute value. * * @return value */ public String getContext() { return context; } /** * Set the 'context' attribute value. * * @param context */ public void setContext(String context) { this.context = context; } /** * Get the 'mimeType' attribute value. * * @return value */ public String getMimeType() { return mimeType; } /** * Set the 'mimeType' attribute value. * * @param mimeType */ public void setMimeType(String mimeType) { this.mimeType = mimeType; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy