Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 
 package org.jibx.schema.org.opentravel._2012A.cruise;

Specifies the Insurance information. Schema fragment(s) for this class:
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="CruiseInsuranceGroup">
   <xs:attribute type="xs:string" use="optional" name="InsuranceCode"/>
   <xs:attribute type="xs:boolean" use="optional" name="SelectedOptionIndicator"/>
   <xs:attribute type="xs:boolean" use="optional" name="DefaultIndicator"/>
   <xs:attribute type="xs:string" use="optional" name="Status"/>
 </xs:attributeGroup>
 
public class CruiseInsuranceGroup
    private String insuranceCode;
    private Boolean defaultIndicator;
    private String status;

    
Get the 'InsuranceCode' attribute value. Specifies the cruise vendor's insurance code.

Returns:
value
    public String getInsuranceCode() {
        return ;
    }

    
Set the 'InsuranceCode' attribute value. Specifies the cruise vendor's insurance code.

Parameters:
insuranceCode
    public void setInsuranceCode(String insuranceCode) {
        this. = insuranceCode;
    }

    
Get the 'SelectedOptionIndicator' attribute value. When true indicates the item is selected. When false, indicates an alternate item exists, but is not currently selected.

Returns:
value
        return ;
    }

    
Set the 'SelectedOptionIndicator' attribute value. When true indicates the item is selected. When false, indicates an alternate item exists, but is not currently selected.

Parameters:
selectedOptionIndicator
    public void setSelectedOptionIndicator(Boolean selectedOptionIndicator) {
        this. = selectedOptionIndicator;
    }

    
Get the 'DefaultIndicator' attribute value. When true, the insurance code would be the pre-selected default. When false, the insurance code is not the default.

Returns:
value
    public Boolean getDefaultIndicator() {
        return ;
    }

    
Set the 'DefaultIndicator' attribute value. When true, the insurance code would be the pre-selected default. When false, the insurance code is not the default.

Parameters:
defaultIndicator
    public void setDefaultIndicator(Boolean defaultIndicator) {
        this. = defaultIndicator;
    }

    
Get the 'Status' attribute value. Specifies the Status of the Insurance Refer to OpenTravel Code table Status (STS).

Returns:
value
    public String getStatus() {
        return ;
    }

    
Set the 'Status' attribute value. Specifies the Status of the Insurance Refer to OpenTravel Code table Status (STS).

Parameters:
status
    public void setStatus(String status) {
        this. = status;
    }
New to GrepCode? Check out our FAQ X