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

org.schema.Apartment Maven / Gradle / Ivy

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

/**
 * Schema.org/Apartment
 * An apartment (in American English) or flat (in British English) is a self-contained housing unit (a type of residential real estate) that occupies only part of a building (Source: Wikipedia, the free encyclopedia, see http://en.wikipedia.org/wiki/Apartment).
 *
 * @author schema.org
 * @class Apartment
 * @module org.schema
 * @extends Accommodation
 */
public class Apartment 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/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 Apartment() {
		context = "http://schema.org/";
		type = "Apartment";
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy