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

org.bimserver.models.ifc4.IfcCompressorTypeEnum 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 Compressor Type Enum',
 * and utility methods for working with them.
 * 
 * @see org.bimserver.models.ifc4.Ifc4Package#getIfcCompressorTypeEnum()
 * @model
 * @generated
 */
public enum IfcCompressorTypeEnum implements Enumerator {
	/**
	 * The 'NULL' literal object.
	 * 
	 * 
	 * @see #NULL_VALUE
	 * @generated
	 * @ordered
	 */
	NULL(0, "NULL", "NULL"),

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	/**
	 * The 'BOOSTER' literal object.
	 * 
	 * 
	 * @see #BOOSTER_VALUE
	 * @generated
	 * @ordered
	 */
	BOOSTER(15, "BOOSTER", "BOOSTER"),

	/**
	 * The 'ROLLINGPISTON' literal object.
	 * 
	 * 
	 * @see #ROLLINGPISTON_VALUE
	 * @generated
	 * @ordered
	 */
	ROLLINGPISTON(16, "ROLLINGPISTON", "ROLLINGPISTON"),

	/**
	 * The 'ROTARY' literal object.
	 * 
	 * 
	 * @see #ROTARY_VALUE
	 * @generated
	 * @ordered
	 */
	ROTARY(17, "ROTARY", "ROTARY");

	/**
	 * 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 'TWINSCREW' literal value. * *

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

* * @see #TWINSCREW * @model * @generated * @ordered */ public static final int TWINSCREW_VALUE = 1; /** * The 'SINGLESCREW' literal value. * *

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

* * @see #SINGLESCREW * @model * @generated * @ordered */ public static final int SINGLESCREW_VALUE = 2; /** * The 'SINGLESTAGE' literal value. * *

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

* * @see #SINGLESTAGE * @model * @generated * @ordered */ public static final int SINGLESTAGE_VALUE = 3; /** * The 'RECIPROCATING' literal value. * *

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

* * @see #RECIPROCATING * @model * @generated * @ordered */ public static final int RECIPROCATING_VALUE = 4; /** * The 'TROCHOIDAL' literal value. * *

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

* * @see #TROCHOIDAL * @model * @generated * @ordered */ public static final int TROCHOIDAL_VALUE = 5; /** * The 'OPENTYPE' literal value. * *

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

* * @see #OPENTYPE * @model * @generated * @ordered */ public static final int OPENTYPE_VALUE = 6; /** * The 'ROTARYVANE' literal value. * *

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

* * @see #ROTARYVANE * @model * @generated * @ordered */ public static final int ROTARYVANE_VALUE = 7; /** * The 'SEMIHERMETIC' literal value. * *

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

* * @see #SEMIHERMETIC * @model * @generated * @ordered */ public static final int SEMIHERMETIC_VALUE = 8; /** * 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 = 9; /** * The 'HERMETIC' literal value. * *

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

* * @see #HERMETIC * @model * @generated * @ordered */ public static final int HERMETIC_VALUE = 10; /** * The 'DYNAMIC' literal value. * *

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

* * @see #DYNAMIC * @model * @generated * @ordered */ public static final int DYNAMIC_VALUE = 11; /** * 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 = 12; /** * The 'SCROLL' literal value. * *

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

* * @see #SCROLL * @model * @generated * @ordered */ public static final int SCROLL_VALUE = 13; /** * The 'WELDEDSHELLHERMETIC' literal value. * *

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

* * @see #WELDEDSHELLHERMETIC * @model * @generated * @ordered */ public static final int WELDEDSHELLHERMETIC_VALUE = 14; /** * The 'BOOSTER' literal value. * *

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

* * @see #BOOSTER * @model * @generated * @ordered */ public static final int BOOSTER_VALUE = 15; /** * The 'ROLLINGPISTON' literal value. * *

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

* * @see #ROLLINGPISTON * @model * @generated * @ordered */ public static final int ROLLINGPISTON_VALUE = 16; /** * The 'ROTARY' literal value. * *

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

* * @see #ROTARY * @model * @generated * @ordered */ public static final int ROTARY_VALUE = 17; /** * An array of all the 'Ifc Compressor Type Enum' enumerators. * * * @generated */ private static final IfcCompressorTypeEnum[] VALUES_ARRAY = new IfcCompressorTypeEnum[] { NULL, TWINSCREW, SINGLESCREW, SINGLESTAGE, RECIPROCATING, TROCHOIDAL, OPENTYPE, ROTARYVANE, SEMIHERMETIC, USERDEFINED, HERMETIC, DYNAMIC, NOTDEFINED, SCROLL, WELDEDSHELLHERMETIC, BOOSTER, ROLLINGPISTON, ROTARY, }; /** * A public read-only list of all the 'Ifc Compressor Type Enum' enumerators. * * * @generated */ public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); /** * Returns the 'Ifc Compressor Type Enum' literal with the specified literal value. * * * @param literal the literal. * @return the matching enumerator or null. * @generated */ public static IfcCompressorTypeEnum get(String literal) { for (int i = 0; i < VALUES_ARRAY.length; ++i) { IfcCompressorTypeEnum result = VALUES_ARRAY[i]; if (result.toString().equals(literal)) { return result; } } return null; } /** * Returns the 'Ifc Compressor Type Enum' literal with the specified name. * * * @param name the name. * @return the matching enumerator or null. * @generated */ public static IfcCompressorTypeEnum getByName(String name) { for (int i = 0; i < VALUES_ARRAY.length; ++i) { IfcCompressorTypeEnum result = VALUES_ARRAY[i]; if (result.getName().equals(name)) { return result; } } return null; } /** * Returns the 'Ifc Compressor Type Enum' literal with the specified integer value. * * * @param value the integer value. * @return the matching enumerator or null. * @generated */ public static IfcCompressorTypeEnum get(int value) { switch (value) { case NULL_VALUE: return NULL; case TWINSCREW_VALUE: return TWINSCREW; case SINGLESCREW_VALUE: return SINGLESCREW; case SINGLESTAGE_VALUE: return SINGLESTAGE; case RECIPROCATING_VALUE: return RECIPROCATING; case TROCHOIDAL_VALUE: return TROCHOIDAL; case OPENTYPE_VALUE: return OPENTYPE; case ROTARYVANE_VALUE: return ROTARYVANE; case SEMIHERMETIC_VALUE: return SEMIHERMETIC; case USERDEFINED_VALUE: return USERDEFINED; case HERMETIC_VALUE: return HERMETIC; case DYNAMIC_VALUE: return DYNAMIC; case NOTDEFINED_VALUE: return NOTDEFINED; case SCROLL_VALUE: return SCROLL; case WELDEDSHELLHERMETIC_VALUE: return WELDEDSHELLHERMETIC; case BOOSTER_VALUE: return BOOSTER; case ROLLINGPISTON_VALUE: return ROLLINGPISTON; case ROTARY_VALUE: return ROTARY; } 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 IfcCompressorTypeEnum(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; } } //IfcCompressorTypeEnum




© 2015 - 2024 Weber Informatics LLC | Privacy Policy