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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	/**
	 * The 'DRYWALL' literal object.
	 * 
	 * 
	 * @see #DRYWALL_VALUE
	 * @generated
	 * @ordered
	 */
	DRYWALL(17, "DRYWALL", "DRYWALL"),

	/**
	 * The 'FINISHING' literal object.
	 * 
	 * 
	 * @see #FINISHING_VALUE
	 * @generated
	 * @ordered
	 */
	FINISHING(18, "FINISHING", "FINISHING"),

	/**
	 * The 'ELECTRIC' literal object.
	 * 
	 * 
	 * @see #ELECTRIC_VALUE
	 * @generated
	 * @ordered
	 */
	ELECTRIC(19, "ELECTRIC", "ELECTRIC"),

	/**
	 * The 'CARPENTRY' literal object.
	 * 
	 * 
	 * @see #CARPENTRY_VALUE
	 * @generated
	 * @ordered
	 */
	CARPENTRY(20, "CARPENTRY", "CARPENTRY"),

	/**
	 * The 'LANDSCAPING' literal object.
	 * 
	 * 
	 * @see #LANDSCAPING_VALUE
	 * @generated
	 * @ordered
	 */
	LANDSCAPING(21, "LANDSCAPING", "LANDSCAPING");

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

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

* * @see #SURVEYING * @model * @generated * @ordered */ public static final int SURVEYING_VALUE = 1; /** * The 'PAVING' literal value. * *

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

* * @see #PAVING * @model * @generated * @ordered */ public static final int PAVING_VALUE = 2; /** * The 'ADMINISTRATION' literal value. * *

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

* * @see #ADMINISTRATION * @model * @generated * @ordered */ public static final int ADMINISTRATION_VALUE = 3; /** * The 'MASONRY' literal value. * *

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

* * @see #MASONRY * @model * @generated * @ordered */ public static final int MASONRY_VALUE = 4; /** * The 'CLEANING' literal value. * *

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

* * @see #CLEANING * @model * @generated * @ordered */ public static final int CLEANING_VALUE = 5; /** * The 'ROOFING' literal value. * *

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

* * @see #ROOFING * @model * @generated * @ordered */ public static final int ROOFING_VALUE = 6; /** * The 'STEELWORK' literal value. * *

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

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

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

* * @see #PLUMBING * @model * @generated * @ordered */ public static final int PLUMBING_VALUE = 9; /** * The 'FLOORING' literal value. * *

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

* * @see #FLOORING * @model * @generated * @ordered */ public static final int FLOORING_VALUE = 10; /** * The 'GENERAL' literal value. * *

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

* * @see #GENERAL * @model * @generated * @ordered */ public static final int GENERAL_VALUE = 11; /** * The 'CONCRETE' literal value. * *

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

* * @see #CONCRETE * @model * @generated * @ordered */ public static final int CONCRETE_VALUE = 12; /** * The 'HVAC' literal value. * *

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

* * @see #HVAC * @model * @generated * @ordered */ public static final int HVAC_VALUE = 13; /** * 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 = 14; /** * The 'PAINTING' literal value. * *

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

* * @see #PAINTING * @model * @generated * @ordered */ public static final int PAINTING_VALUE = 15; /** * The 'SITEGRADING' literal value. * *

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

* * @see #SITEGRADING * @model * @generated * @ordered */ public static final int SITEGRADING_VALUE = 16; /** * The 'DRYWALL' literal value. * *

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

* * @see #DRYWALL * @model * @generated * @ordered */ public static final int DRYWALL_VALUE = 17; /** * The 'FINISHING' literal value. * *

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

* * @see #FINISHING * @model * @generated * @ordered */ public static final int FINISHING_VALUE = 18; /** * The 'ELECTRIC' literal value. * *

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

* * @see #ELECTRIC * @model * @generated * @ordered */ public static final int ELECTRIC_VALUE = 19; /** * The 'CARPENTRY' literal value. * *

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

* * @see #CARPENTRY * @model * @generated * @ordered */ public static final int CARPENTRY_VALUE = 20; /** * The 'LANDSCAPING' literal value. * *

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

* * @see #LANDSCAPING * @model * @generated * @ordered */ public static final int LANDSCAPING_VALUE = 21; /** * An array of all the 'Ifc Labor Resource Type Enum' enumerators. * * * @generated */ private static final IfcLaborResourceTypeEnum[] VALUES_ARRAY = new IfcLaborResourceTypeEnum[] { NULL, SURVEYING, PAVING, ADMINISTRATION, MASONRY, CLEANING, ROOFING, STEELWORK, USERDEFINED, PLUMBING, FLOORING, GENERAL, CONCRETE, HVAC, NOTDEFINED, PAINTING, SITEGRADING, DRYWALL, FINISHING, ELECTRIC, CARPENTRY, LANDSCAPING, }; /** * A public read-only list of all the 'Ifc Labor Resource Type Enum' enumerators. * * * @generated */ public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); /** * Returns the 'Ifc Labor Resource Type Enum' literal with the specified literal value. * * * @param literal the literal. * @return the matching enumerator or null. * @generated */ public static IfcLaborResourceTypeEnum get(String literal) { for (int i = 0; i < VALUES_ARRAY.length; ++i) { IfcLaborResourceTypeEnum result = VALUES_ARRAY[i]; if (result.toString().equals(literal)) { return result; } } return null; } /** * Returns the 'Ifc Labor Resource Type Enum' literal with the specified name. * * * @param name the name. * @return the matching enumerator or null. * @generated */ public static IfcLaborResourceTypeEnum getByName(String name) { for (int i = 0; i < VALUES_ARRAY.length; ++i) { IfcLaborResourceTypeEnum result = VALUES_ARRAY[i]; if (result.getName().equals(name)) { return result; } } return null; } /** * Returns the 'Ifc Labor Resource Type Enum' literal with the specified integer value. * * * @param value the integer value. * @return the matching enumerator or null. * @generated */ public static IfcLaborResourceTypeEnum get(int value) { switch (value) { case NULL_VALUE: return NULL; case SURVEYING_VALUE: return SURVEYING; case PAVING_VALUE: return PAVING; case ADMINISTRATION_VALUE: return ADMINISTRATION; case MASONRY_VALUE: return MASONRY; case CLEANING_VALUE: return CLEANING; case ROOFING_VALUE: return ROOFING; case STEELWORK_VALUE: return STEELWORK; case USERDEFINED_VALUE: return USERDEFINED; case PLUMBING_VALUE: return PLUMBING; case FLOORING_VALUE: return FLOORING; case GENERAL_VALUE: return GENERAL; case CONCRETE_VALUE: return CONCRETE; case HVAC_VALUE: return HVAC; case NOTDEFINED_VALUE: return NOTDEFINED; case PAINTING_VALUE: return PAINTING; case SITEGRADING_VALUE: return SITEGRADING; case DRYWALL_VALUE: return DRYWALL; case FINISHING_VALUE: return FINISHING; case ELECTRIC_VALUE: return ELECTRIC; case CARPENTRY_VALUE: return CARPENTRY; case LANDSCAPING_VALUE: return LANDSCAPING; } 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 IfcLaborResourceTypeEnum(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; } } //IfcLaborResourceTypeEnum




© 2015 - 2024 Weber Informatics LLC | Privacy Policy