Start line:  
End line:  

Snippet Preview

Snippet HTML Code

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

Specifies a vendor and ship. 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="ShipReferenceGroup">
   <xs:attribute type="xs:string" use="optional" name="VendorCode"/>
   <xs:attribute type="xs:string" use="optional" name="VendorName"/>
   <xs:attribute type="xs:string" use="optional" name="ShipCode"/>
   <xs:attribute type="xs:string" use="optional" name="ShipName"/>
   <xs:attribute type="xs:string" use="optional" name="VendorCodeContext"/>
 </xs:attributeGroup>
 
 
 public class ShipReferenceGroup
 {
     private String vendorCode;
     private String vendorName;
     private String shipCode;
     private String shipName;
     private String vendorCodeContext;

    
Get the 'VendorCode' attribute value. Specifies the operator of the ship (e.g. cruise line or ferry company).

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

    
Set the 'VendorCode' attribute value. Specifies the operator of the ship (e.g. cruise line or ferry company).

Parameters:
vendorCode
 
     public void setVendorCode(String vendorCode) {
         this. = vendorCode;
     }

    
Get the 'VendorName' attribute value. Specifies the name of the operator of the ship (e.g. a cruise line or ferry company).

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

    
Set the 'VendorName' attribute value. Specifies the name of the operator of the ship (e.g. a cruise line or ferry company).

Parameters:
vendorName
 
     public void setVendorName(String vendorName) {
         this. = vendorName;
     }

    
Get the 'ShipCode' attribute value. Specifies the ship code as defined by the cruise line.

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

    
Set the 'ShipCode' attribute value. Specifies the ship code as defined by the cruise line.

Parameters:
shipCode
 
     public void setShipCode(String shipCode) {
         this. = shipCode;
     }

    
Get the 'ShipName' attribute value. Specifies the ship name as specified by the cruise line.

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

    
Set the 'ShipName' attribute value. Specifies the ship name as specified by the cruise line.

Parameters:
shipName
 
     public void setShipName(String shipName) {
         this. = shipName;
     }

    
Get the 'VendorCodeContext' attribute value. Identifies the source authority for the code (e.g., IATA); typically used with VendorCode.

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

    
Set the 'VendorCodeContext' attribute value. Identifies the source authority for the code (e.g., IATA); typically used with VendorCode.

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