All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.schema.HotelRoom Maven / Gradle / Ivy

There is a newer version: 3.1.8
Show newest version
package org.schema;

/**
 * Schema.org/HotelRoom
 * A hotel room is a single room in a hotel.
 * 

* See also the dedicated document on the use of schema.org for marking up hotels and other forms of accommodations. * * @author schema.org * @class HotelRoom * @module org.schema * @extends Room */ public class HotelRoom extends Room { /** * Schema.org/occupancy * The allowed total occupancy for the accommodation in persons (including infants etc). For individual accommodations, this is not necessarily the legal maximum but defines the permitted usage as per the contractual agreement (e.g. a double room used by a single person). * Typical unit code(s): C62 for person * * @property occupancy * @type QuantitativeValue */ public QuantitativeValue occupancy; /** * Schema.org/bed * The type of bed or beds included in the accommodation. For the single case of just one bed of a certain type, you use bed directly with a text. * If you want to indicate the quantity of a certain kind of bed, use an instance of BedDetails. For more detailed information, use the amenityFeature property. * * @property bed * @type BedDetails */ public BedDetails bed; /** * Constructor, automatically sets @context and @type. * * @constructor */ public HotelRoom() { context = "http://schema.org/"; type = "HotelRoom"; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy