Start line:  
End line:  

Snippet Preview

Snippet HTML Code

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

Provides the number and name of a ship deck. 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="DeckGroup">
   <xs:attribute type="xs:string" use="optional" name="DeckNumber"/>
   <xs:attribute type="xs:string" use="optional" name="DeckName"/>
 </xs:attributeGroup>
 
public class DeckGroup
    private String deckNumber;
    private String deckName;

    
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