Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 
 package org.jibx.schema.org.opentravel._2011B.pkg;
 
 import java.util.List;
A value representing a supplement for an item over the cost of the item on which a package basic price is calculated; may be repeated for multiple currencies e.g. GBP and Euros. Schema fragment(s) for this class:
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="SupplementChargesType">
   <xs:sequence>
     <xs:element type="ns:FeeType" name="Charge" maxOccurs="9"/>
   </xs:sequence>
   <xs:attributeGroup ref="ns:CurrencyCodeGroup"/>
 </xs:complexType>
 
public class SupplementCharges
    private List<FeechargeList = new ArrayList<Fee>();
    private CurrencyCodeGroup currencyCodeGroup;

    
Get the list of 'Charge' element items. The charge element repeats to allow differential charging according to, for example, age.

Returns:
list
    public List<FeegetChargeList() {
        return ;
    }

    
Set the list of 'Charge' element items. The charge element repeats to allow differential charging according to, for example, age.

Parameters:
list
    public void setChargeList(List<Feelist) {
         = list;
    }

    
Get the number of 'Charge' element items.

Returns:
count
    public int sizeChargeList() {
        return .size();
    }

    
Add a 'Charge' element item.

Parameters:
item
    public void addCharge(Fee item) {
        .add(item);
    }

    
Get 'Charge' element item by position.

Parameters:
index
Returns:
item
    public Fee getCharge(int index) {
        return .get(index);
    }

    
Remove all 'Charge' element items.
    public void clearChargeList() {
        .clear();
    }

    
Get the 'CurrencyCodeGroup' attributeGroup value.

Returns:
value
        return ;
    }

    
Set the 'CurrencyCodeGroup' attributeGroup value.

Parameters:
currencyCodeGroup
    public void setCurrencyCodeGroup(CurrencyCodeGroup currencyCodeGroup) {
        this. = currencyCodeGroup;
    }
New to GrepCode? Check out our FAQ X