Start line:  
End line:  

Snippet Preview

Snippet HTML Code

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

Specificies cruise category information. Schema fragment(s) for this class:
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05/common" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="CruiseCategoryDetailGroup">
   <xs:attribute type="xs:string" use="optional" name="BerthedCategoryCode"/>
   <xs:attribute type="xs:string" use="optional" name="PricedCategoryCode"/>
   <xs:attribute type="xs:string" use="optional" name="DeckNumber"/>
   <xs:attribute type="xs:string" use="optional" name="DeckName"/>
 </xs:attributeGroup>
 
    private String berthedCategoryCode;
    private String pricedCategoryCode;
    private String deckNumber;
    private String deckName;

    
Get the 'BerthedCategoryCode' attribute value. Contains the cruise line's category code for the general cabin location. BerthedCategoryCode will differ from the PricedCategoryCode if the customer receives an upgrade.

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

    
Set the 'BerthedCategoryCode' attribute value. Contains the cruise line's category code for the general cabin location. BerthedCategoryCode will differ from the PricedCategoryCode if the customer receives an upgrade.

Parameters:
berthedCategoryCode
    public void setBerthedCategoryCode(String berthedCategoryCode) {
        this. = berthedCategoryCode;
    }

    
Get the 'PricedCategoryCode' attribute value. Contains the cruise line's category code for the general cabin location for which the customer pays. PricedCategoryCode will differ from the BerthedCategoryCode if the customer receives an upgrade.

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

    
Set the 'PricedCategoryCode' attribute value. Contains the cruise line's category code for the general cabin location for which the customer pays. PricedCategoryCode will differ from the BerthedCategoryCode if the customer receives an upgrade.

Parameters:
pricedCategoryCode
    public void setPricedCategoryCode(String pricedCategoryCode) {
        this. = pricedCategoryCode;
    }

    
Get the 'DeckNumber' attribute value. Number of the deck on the ship where the cabin is located.

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

    
Set the 'DeckNumber' attribute value. Number of the deck on the ship where the cabin is located.

Parameters:
deckNumber
    public void setDeckNumber(String deckNumber) {
        this. = deckNumber;
    }

    
Get the 'DeckName' attribute value. Name of the deck on the ship where the cabin is located.

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

    
Set the 'DeckName' attribute value. Name of the deck on the ship where the cabin is located.

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