Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 
 package org.jibx.schema.org.opentravel._2011B.pkg;

Rating of an accommodation property. 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="AccommodationClassGroup">
   <xs:attribute type="xs:string" use="optional" name="Code"/>
   <xs:attribute type="xs:string" use="optional" name="Name"/>
   <xs:attribute type="xs:string" use="optional" name="NationalCode"/>
   <xs:attribute type="xs:string" use="optional" name="OfficialName"/>
 </xs:attributeGroup>
 
    private String code;
    private String name;
    private String nationalCode;
    private String officialName;

    
Get the 'Code' attribute value. Providers rating eg '4'.

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

    
Set the 'Code' attribute value. Providers rating eg '4'.

Parameters:
code
    public void setCode(String code) {
        this. = code;
    }

    
Get the 'Name' attribute value. Providers qualifier name e.g. 'Crowns'.

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

    
Set the 'Name' attribute value. Providers qualifier name e.g. 'Crowns'.

Parameters:
name
    public void setName(String name) {
        this. = name;
    }

    
Get the 'NationalCode' attribute value. Official rating e.g. '4'.

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

    
Set the 'NationalCode' attribute value. Official rating e.g. '4'.

Parameters:
nationalCode
    public void setNationalCode(String nationalCode) {
        this. = nationalCode;
    }

    
Get the 'OfficialName' attribute value. Official qualifier name eg 'STAR'.

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

    
Set the 'OfficialName' attribute value. Official qualifier name eg 'STAR'.

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