org.schema.Suite Maven / Gradle / Ivy
package org.schema;
/**
* Schema.org/Suite
* A suite in a hotel or other public accommodation, denotes a class of luxury accommodations, the key feature of which is multiple rooms (Source: Wikipedia, the free encyclopedia, see http://en.wikipedia.org/wiki/Suite_(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 Suite
* @module org.schema
* @extends Accommodation
*/
public class Suite extends Accommodation {
/**
* 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;
/**
* Schema.org/numberOfRooms
* The number of rooms (excluding bathrooms and closets) of the acccommodation or lodging business.
* Typical unit code(s): ROM for room or C62 for no unit. The type of room can be put in the unitText property of the QuantitativeValue.
*
* @property numberOfRooms
* @type Number
*/
public Double numberOfRooms;
/**
* Constructor, automatically sets @context and @type.
*
* @constructor
*/
public Suite() {
context = "http://schema.org/";
type = "Suite";
}
}