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

org.bimserver.models.ifc4.IfcHumidifierTypeEnum Maven / Gradle / Ivy

/**
 * Copyright (C) 2009-2014 BIMserver.org
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 * 
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see .
 */
package org.bimserver.models.ifc4;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

import org.eclipse.emf.common.util.Enumerator;

/**
 * 
 * A representation of the literals of the enumeration 'Ifc Humidifier Type Enum',
 * and utility methods for working with them.
 * 
 * @see org.bimserver.models.ifc4.Ifc4Package#getIfcHumidifierTypeEnum()
 * @model
 * @generated
 */
public enum IfcHumidifierTypeEnum implements Enumerator {
	/**
	 * The 'NULL' literal object.
	 * 
	 * 
	 * @see #NULL_VALUE
	 * @generated
	 * @ordered
	 */
	NULL(0, "NULL", "NULL"),

	/**
	 * The 'ADIABATICPAN' literal object.
	 * 
	 * 
	 * @see #ADIABATICPAN_VALUE
	 * @generated
	 * @ordered
	 */
	ADIABATICPAN(1, "ADIABATICPAN", "ADIABATICPAN"),

	/**
	 * The 'ADIABATICULTRASONIC' literal object.
	 * 
	 * 
	 * @see #ADIABATICULTRASONIC_VALUE
	 * @generated
	 * @ordered
	 */
	ADIABATICULTRASONIC(2, "ADIABATICULTRASONIC", "ADIABATICULTRASONIC"),

	/**
	 * The 'ASSISTEDNATURALGAS' literal object.
	 * 
	 * 
	 * @see #ASSISTEDNATURALGAS_VALUE
	 * @generated
	 * @ordered
	 */
	ASSISTEDNATURALGAS(3, "ASSISTEDNATURALGAS", "ASSISTEDNATURALGAS"),

	/**
	 * The 'ADIABATICRIGIDMEDIA' literal object.
	 * 
	 * 
	 * @see #ADIABATICRIGIDMEDIA_VALUE
	 * @generated
	 * @ordered
	 */
	ADIABATICRIGIDMEDIA(4, "ADIABATICRIGIDMEDIA", "ADIABATICRIGIDMEDIA"),

	/**
	 * The 'ADIABATICWETTEDELEMENT' literal object.
	 * 
	 * 
	 * @see #ADIABATICWETTEDELEMENT_VALUE
	 * @generated
	 * @ordered
	 */
	ADIABATICWETTEDELEMENT(5, "ADIABATICWETTEDELEMENT", "ADIABATICWETTEDELEMENT"),

	/**
	 * The 'USERDEFINED' literal object.
	 * 
	 * 
	 * @see #USERDEFINED_VALUE
	 * @generated
	 * @ordered
	 */
	USERDEFINED(6, "USERDEFINED", "USERDEFINED"),

	/**
	 * The 'ADIABATICAIRWASHER' literal object.
	 * 
	 * 
	 * @see #ADIABATICAIRWASHER_VALUE
	 * @generated
	 * @ordered
	 */
	ADIABATICAIRWASHER(7, "ADIABATICAIRWASHER", "ADIABATICAIRWASHER"),

	/**
	 * The 'ADIABATICATOMIZING' literal object.
	 * 
	 * 
	 * @see #ADIABATICATOMIZING_VALUE
	 * @generated
	 * @ordered
	 */
	ADIABATICATOMIZING(8, "ADIABATICATOMIZING", "ADIABATICATOMIZING"),

	/**
	 * The 'ASSISTEDELECTRIC' literal object.
	 * 
	 * 
	 * @see #ASSISTEDELECTRIC_VALUE
	 * @generated
	 * @ordered
	 */
	ASSISTEDELECTRIC(9, "ASSISTEDELECTRIC", "ASSISTEDELECTRIC"),

	/**
	 * The 'ASSISTEDPROPANE' literal object.
	 * 
	 * 
	 * @see #ASSISTEDPROPANE_VALUE
	 * @generated
	 * @ordered
	 */
	ASSISTEDPROPANE(10, "ASSISTEDPROPANE", "ASSISTEDPROPANE"),

	/**
	 * The 'NOTDEFINED' literal object.
	 * 
	 * 
	 * @see #NOTDEFINED_VALUE
	 * @generated
	 * @ordered
	 */
	NOTDEFINED(11, "NOTDEFINED", "NOTDEFINED"),

	/**
	 * The 'ASSISTEDBUTANE' literal object.
	 * 
	 * 
	 * @see #ASSISTEDBUTANE_VALUE
	 * @generated
	 * @ordered
	 */
	ASSISTEDBUTANE(12, "ASSISTEDBUTANE", "ASSISTEDBUTANE"),

	/**
	 * The 'STEAMINJECTION' literal object.
	 * 
	 * 
	 * @see #STEAMINJECTION_VALUE
	 * @generated
	 * @ordered
	 */
	STEAMINJECTION(13, "STEAMINJECTION", "STEAMINJECTION"),

	/**
	 * The 'ADIABATICCOMPRESSEDAIRNOZZLE' literal object.
	 * 
	 * 
	 * @see #ADIABATICCOMPRESSEDAIRNOZZLE_VALUE
	 * @generated
	 * @ordered
	 */
	ADIABATICCOMPRESSEDAIRNOZZLE(14, "ADIABATICCOMPRESSEDAIRNOZZLE", "ADIABATICCOMPRESSEDAIRNOZZLE"),

	/**
	 * The 'ASSISTEDSTEAM' literal object.
	 * 
	 * 
	 * @see #ASSISTEDSTEAM_VALUE
	 * @generated
	 * @ordered
	 */
	ASSISTEDSTEAM(15, "ASSISTEDSTEAM", "ASSISTEDSTEAM");

	/**
	 * The 'NULL' literal value.
	 * 
	 * 

* If the meaning of 'NULL' literal object isn't clear, * there really should be more of a description here... *

* * @see #NULL * @model * @generated * @ordered */ public static final int NULL_VALUE = 0; /** * The 'ADIABATICPAN' literal value. * *

* If the meaning of 'ADIABATICPAN' literal object isn't clear, * there really should be more of a description here... *

* * @see #ADIABATICPAN * @model * @generated * @ordered */ public static final int ADIABATICPAN_VALUE = 1; /** * The 'ADIABATICULTRASONIC' literal value. * *

* If the meaning of 'ADIABATICULTRASONIC' literal object isn't clear, * there really should be more of a description here... *

* * @see #ADIABATICULTRASONIC * @model * @generated * @ordered */ public static final int ADIABATICULTRASONIC_VALUE = 2; /** * The 'ASSISTEDNATURALGAS' literal value. * *

* If the meaning of 'ASSISTEDNATURALGAS' literal object isn't clear, * there really should be more of a description here... *

* * @see #ASSISTEDNATURALGAS * @model * @generated * @ordered */ public static final int ASSISTEDNATURALGAS_VALUE = 3; /** * The 'ADIABATICRIGIDMEDIA' literal value. * *

* If the meaning of 'ADIABATICRIGIDMEDIA' literal object isn't clear, * there really should be more of a description here... *

* * @see #ADIABATICRIGIDMEDIA * @model * @generated * @ordered */ public static final int ADIABATICRIGIDMEDIA_VALUE = 4; /** * The 'ADIABATICWETTEDELEMENT' literal value. * *

* If the meaning of 'ADIABATICWETTEDELEMENT' literal object isn't clear, * there really should be more of a description here... *

* * @see #ADIABATICWETTEDELEMENT * @model * @generated * @ordered */ public static final int ADIABATICWETTEDELEMENT_VALUE = 5; /** * The 'USERDEFINED' literal value. * *

* If the meaning of 'USERDEFINED' literal object isn't clear, * there really should be more of a description here... *

* * @see #USERDEFINED * @model * @generated * @ordered */ public static final int USERDEFINED_VALUE = 6; /** * The 'ADIABATICAIRWASHER' literal value. * *

* If the meaning of 'ADIABATICAIRWASHER' literal object isn't clear, * there really should be more of a description here... *

* * @see #ADIABATICAIRWASHER * @model * @generated * @ordered */ public static final int ADIABATICAIRWASHER_VALUE = 7; /** * The 'ADIABATICATOMIZING' literal value. * *

* If the meaning of 'ADIABATICATOMIZING' literal object isn't clear, * there really should be more of a description here... *

* * @see #ADIABATICATOMIZING * @model * @generated * @ordered */ public static final int ADIABATICATOMIZING_VALUE = 8; /** * The 'ASSISTEDELECTRIC' literal value. * *

* If the meaning of 'ASSISTEDELECTRIC' literal object isn't clear, * there really should be more of a description here... *

* * @see #ASSISTEDELECTRIC * @model * @generated * @ordered */ public static final int ASSISTEDELECTRIC_VALUE = 9; /** * The 'ASSISTEDPROPANE' literal value. * *

* If the meaning of 'ASSISTEDPROPANE' literal object isn't clear, * there really should be more of a description here... *

* * @see #ASSISTEDPROPANE * @model * @generated * @ordered */ public static final int ASSISTEDPROPANE_VALUE = 10; /** * The 'NOTDEFINED' literal value. * *

* If the meaning of 'NOTDEFINED' literal object isn't clear, * there really should be more of a description here... *

* * @see #NOTDEFINED * @model * @generated * @ordered */ public static final int NOTDEFINED_VALUE = 11; /** * The 'ASSISTEDBUTANE' literal value. * *

* If the meaning of 'ASSISTEDBUTANE' literal object isn't clear, * there really should be more of a description here... *

* * @see #ASSISTEDBUTANE * @model * @generated * @ordered */ public static final int ASSISTEDBUTANE_VALUE = 12; /** * The 'STEAMINJECTION' literal value. * *

* If the meaning of 'STEAMINJECTION' literal object isn't clear, * there really should be more of a description here... *

* * @see #STEAMINJECTION * @model * @generated * @ordered */ public static final int STEAMINJECTION_VALUE = 13; /** * The 'ADIABATICCOMPRESSEDAIRNOZZLE' literal value. * *

* If the meaning of 'ADIABATICCOMPRESSEDAIRNOZZLE' literal object isn't clear, * there really should be more of a description here... *

* * @see #ADIABATICCOMPRESSEDAIRNOZZLE * @model * @generated * @ordered */ public static final int ADIABATICCOMPRESSEDAIRNOZZLE_VALUE = 14; /** * The 'ASSISTEDSTEAM' literal value. * *

* If the meaning of 'ASSISTEDSTEAM' literal object isn't clear, * there really should be more of a description here... *

* * @see #ASSISTEDSTEAM * @model * @generated * @ordered */ public static final int ASSISTEDSTEAM_VALUE = 15; /** * An array of all the 'Ifc Humidifier Type Enum' enumerators. * * * @generated */ private static final IfcHumidifierTypeEnum[] VALUES_ARRAY = new IfcHumidifierTypeEnum[] { NULL, ADIABATICPAN, ADIABATICULTRASONIC, ASSISTEDNATURALGAS, ADIABATICRIGIDMEDIA, ADIABATICWETTEDELEMENT, USERDEFINED, ADIABATICAIRWASHER, ADIABATICATOMIZING, ASSISTEDELECTRIC, ASSISTEDPROPANE, NOTDEFINED, ASSISTEDBUTANE, STEAMINJECTION, ADIABATICCOMPRESSEDAIRNOZZLE, ASSISTEDSTEAM, }; /** * A public read-only list of all the 'Ifc Humidifier Type Enum' enumerators. * * * @generated */ public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); /** * Returns the 'Ifc Humidifier Type Enum' literal with the specified literal value. * * * @param literal the literal. * @return the matching enumerator or null. * @generated */ public static IfcHumidifierTypeEnum get(String literal) { for (int i = 0; i < VALUES_ARRAY.length; ++i) { IfcHumidifierTypeEnum result = VALUES_ARRAY[i]; if (result.toString().equals(literal)) { return result; } } return null; } /** * Returns the 'Ifc Humidifier Type Enum' literal with the specified name. * * * @param name the name. * @return the matching enumerator or null. * @generated */ public static IfcHumidifierTypeEnum getByName(String name) { for (int i = 0; i < VALUES_ARRAY.length; ++i) { IfcHumidifierTypeEnum result = VALUES_ARRAY[i]; if (result.getName().equals(name)) { return result; } } return null; } /** * Returns the 'Ifc Humidifier Type Enum' literal with the specified integer value. * * * @param value the integer value. * @return the matching enumerator or null. * @generated */ public static IfcHumidifierTypeEnum get(int value) { switch (value) { case NULL_VALUE: return NULL; case ADIABATICPAN_VALUE: return ADIABATICPAN; case ADIABATICULTRASONIC_VALUE: return ADIABATICULTRASONIC; case ASSISTEDNATURALGAS_VALUE: return ASSISTEDNATURALGAS; case ADIABATICRIGIDMEDIA_VALUE: return ADIABATICRIGIDMEDIA; case ADIABATICWETTEDELEMENT_VALUE: return ADIABATICWETTEDELEMENT; case USERDEFINED_VALUE: return USERDEFINED; case ADIABATICAIRWASHER_VALUE: return ADIABATICAIRWASHER; case ADIABATICATOMIZING_VALUE: return ADIABATICATOMIZING; case ASSISTEDELECTRIC_VALUE: return ASSISTEDELECTRIC; case ASSISTEDPROPANE_VALUE: return ASSISTEDPROPANE; case NOTDEFINED_VALUE: return NOTDEFINED; case ASSISTEDBUTANE_VALUE: return ASSISTEDBUTANE; case STEAMINJECTION_VALUE: return STEAMINJECTION; case ADIABATICCOMPRESSEDAIRNOZZLE_VALUE: return ADIABATICCOMPRESSEDAIRNOZZLE; case ASSISTEDSTEAM_VALUE: return ASSISTEDSTEAM; } return null; } /** * * * @generated */ private final int value; /** * * * @generated */ private final String name; /** * * * @generated */ private final String literal; /** * Only this class can construct instances. * * * @generated */ private IfcHumidifierTypeEnum(int value, String name, String literal) { this.value = value; this.name = name; this.literal = literal; } /** * * * @generated */ public int getValue() { return value; } /** * * * @generated */ public String getName() { return name; } /** * * * @generated */ public String getLiteral() { return literal; } /** * Returns the literal value of the enumerator, which is its string representation. * * * @generated */ @Override public String toString() { return literal; } } //IfcHumidifierTypeEnum




© 2015 - 2024 Weber Informatics LLC | Privacy Policy