Start line:  
End line:  

Snippet Preview

Snippet HTML Code

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

Contains information pertaining to a port. 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="PortInfoGroup">
   <xs:attribute type="xs:string" use="optional" name="PortCode"/>
   <xs:attribute type="xs:string" use="optional" name="PortName"/>
   <xs:attribute type="xs:string" use="optional" name="PortCountryCode"/>
   <xs:attribute type="xs:boolean" use="optional" name="DockIndicator"/>
   <xs:attribute type="xs:boolean" use="optional" name="ShorexIndicator"/>
   <xs:attribute type="xs:boolean" use="optional" name="EmbarkIndicator"/>
   <xs:attribute type="xs:boolean" use="optional" name="DisembarkIndicator"/>
 </xs:attributeGroup>
 
 
 public class PortInfoGroup
 {
     private String portCode;
     private String portName;
     private String portCountryCode;
     private Boolean dockIndicator;
     private Boolean shorexIndicator;
     private Boolean embarkIndicator;
     private Boolean disembarkIndicator;

    
Get the 'PortCode' attribute value. Specifies the Port Code.

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

    
Set the 'PortCode' attribute value. Specifies the Port Code.

Parameters:
portCode
 
     public void setPortCode(String portCode) {
         this. = portCode;
     }

    
Get the 'PortName' attribute value. Specifies the Port name for the above Port Code.

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

    
Set the 'PortName' attribute value. Specifies the Port name for the above Port Code.

Parameters:
portName
 
     public void setPortName(String portName) {
         this. = portName;
     }

    
Get the 'PortCountryCode' attribute value. Specifies the Country Code for the above port. ISO3166 specifies all the ISO country codes.

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

    
Set the 'PortCountryCode' attribute value. Specifies the Country Code for the above port. ISO3166 specifies all the ISO country codes.

Parameters:
portCountryCode
 
     public void setPortCountryCode(String portCountryCode) {
         this. = portCountryCode;
     }

    
Get the 'DockIndicator' attribute value. When true, the ship docks at this port.

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

    
Set the 'DockIndicator' attribute value. When true, the ship docks at this port.

Parameters:
dockIndicator
 
     public void setDockIndicator(Boolean dockIndicator) {
         this. = dockIndicator;
    }

    
Get the 'ShorexIndicator' attribute value. When true, one or more shore excursions are offered at this port.

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

    
Set the 'ShorexIndicator' attribute value. When true, one or more shore excursions are offered at this port.

Parameters:
shorexIndicator
    public void setShorexIndicator(Boolean shorexIndicator) {
        this. = shorexIndicator;
    }

    
Get the 'EmbarkIndicator' attribute value. When true idicates embarking.

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

    
Set the 'EmbarkIndicator' attribute value. When true idicates embarking.

Parameters:
embarkIndicator
    public void setEmbarkIndicator(Boolean embarkIndicator) {
        this. = embarkIndicator;
    }

    
Get the 'DisembarkIndicator' attribute value. When true indicates debarking.

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

    
Set the 'DisembarkIndicator' attribute value. When true indicates debarking.

Parameters:
disembarkIndicator
    public void setDisembarkIndicator(Boolean disembarkIndicator) {
        this. = disembarkIndicator;
    }
New to GrepCode? Check out our FAQ X