public class

MilitaryHistoryType

extends Object
java.lang.Object
   ↳ org.mule.modules.hrxml.candidate.MilitaryHistoryType

Class Overview

Java class for MilitaryHistoryType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="MilitaryHistoryType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="CountryServed" type="{http://ns.hr-xml.org/2007-04-15}CountryCodeType"/>
         <element name="ServiceNumber" type="{http://ns.hr-xml.org/2007-04-15}EntityIdType" minOccurs="0"/>
         <element name="ServiceDetail" maxOccurs="unbounded" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="UnitOrDivision" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
                   <element name="RankAchieved" type="{http://ns.hr-xml.org/2007-04-15}RankAchievedType" minOccurs="0"/>
                   <element name="DatesOfService" type="{http://ns.hr-xml.org/2007-04-15}DatesOfServiceType"/>
                   <element name="Campaign" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
                   <element name="AreaOfExpertise" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
                   <element name="RecognitionAchieved" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
                   <element name="DisciplinaryAction" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
                   <element name="DischargeStatus" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
                   <element ref="{http://ns.hr-xml.org/2007-04-15}UserArea" minOccurs="0"/>
                 </sequence>
                 <attribute name="branch" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="ServiceStatus" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Comments" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element ref="{http://ns.hr-xml.org/2007-04-15}UserArea" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

Summary

Nested Classes
class MilitaryHistoryType.ServiceDetail

Java class for anonymous complex type. 

Fields
protected String comments
protected String countryServed
protected List<MilitaryHistoryType.ServiceDetail> serviceDetail
protected EntityIdType serviceNumber
protected String serviceStatus
protected UserAreaType userArea
Public Constructors
MilitaryHistoryType()
Public Methods
String getComments()
Gets the value of the comments property.
String getCountryServed()
Gets the value of the countryServed property.
List<MilitaryHistoryType.ServiceDetail> getServiceDetail()
Gets the value of the serviceDetail property.
EntityIdType getServiceNumber()
Gets the value of the serviceNumber property.
String getServiceStatus()
Gets the value of the serviceStatus property.
UserAreaType getUserArea()
Gets the value of the userArea property.
void setComments(String value)
Sets the value of the comments property.
void setCountryServed(String value)
Sets the value of the countryServed property.
void setServiceNumber(EntityIdType value)
Sets the value of the serviceNumber property.
void setServiceStatus(String value)
Sets the value of the serviceStatus property.
void setUserArea(UserAreaType value)
Sets the value of the userArea property.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected String comments

protected String countryServed

protected List<MilitaryHistoryType.ServiceDetail> serviceDetail

protected EntityIdType serviceNumber

protected String serviceStatus

protected UserAreaType userArea

Public Constructors

public MilitaryHistoryType ()

Public Methods

public String getComments ()

Gets the value of the comments property.

Returns
  • possible object is String

public String getCountryServed ()

Gets the value of the countryServed property.

Returns
  • possible object is String

public List<MilitaryHistoryType.ServiceDetail> getServiceDetail ()

Gets the value of the serviceDetail 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 serviceDetail property.

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

    getServiceDetail().add(newItem);
 

Objects of the following type(s) are allowed in the list MilitaryHistoryType.ServiceDetail

public EntityIdType getServiceNumber ()

Gets the value of the serviceNumber property.

Returns

public String getServiceStatus ()

Gets the value of the serviceStatus property.

Returns
  • possible object is String

public UserAreaType getUserArea ()

Gets the value of the userArea property.

Returns

public void setComments (String value)

Sets the value of the comments property.

Parameters
value Allowed object is String

public void setCountryServed (String value)

Sets the value of the countryServed property.

Parameters
value Allowed object is String

public void setServiceNumber (EntityIdType value)

Sets the value of the serviceNumber property.

Parameters
value Allowed object is EntityIdType

public void setServiceStatus (String value)

Sets the value of the serviceStatus property.

Parameters
value Allowed object is String

public void setUserArea (UserAreaType value)

Sets the value of the userArea property.

Parameters
value Allowed object is UserAreaType