Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  
  package org.jibx.schema.org.opentravel._2011B.pkg;
  
Full name or description plus codes for a property. Schema fragment(s) for this class:
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="PropertyIdentityType">
   <xs:simpleContent>
     <xs:extension base="xs:string">
       <xs:attributeGroup ref="ns:HotelReferenceGroup"/>
       <xs:attribute type="xs:string" use="optional" name="PropertyClassType"/>
       <xs:attribute type="xs:string" name="ContentURL"/>
     </xs:extension>
   </xs:simpleContent>
 </xs:complexType>
 
 
 public class PropertyIdentity
 {
     private String string;
     private String propertyClass;
     private String contentURL;

    
Get the extension value.

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

    
Set the extension value.

Parameters:
string
 
     public void setString(String string) {
         this. = string;
     }

    
Get the 'HotelReferenceGroup' attributeGroup value.

Returns:
value
 
         return ;
     }

    
Set the 'HotelReferenceGroup' attributeGroup value.

Parameters:
hotelReferenceGroup
 
     public void setHotelReferenceGroup(HotelReferenceGroup hotelReferenceGroup) {
         this. = hotelReferenceGroup;
     }

    
Get the 'PropertyClassType' attribute value. Refer to OpenTravel Code List Property Class Type (PCT). e.g. 3 (Apartment); 20 (Hotel).

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

    
Set the 'PropertyClassType' attribute value. Refer to OpenTravel Code List Property Class Type (PCT). e.g. 3 (Apartment); 20 (Hotel).

Parameters:
propertyClass
 
     public void setPropertyClass(String propertyClass) {
         this. = propertyClass;
     }

    
Get the 'ContentURL' attribute value. A reference to a source of information for the property.

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

    
Set the 'ContentURL' attribute value. A reference to a source of information for the property.

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