org.bimserver.models.ifc4.IfcDistributionSystemEnum 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 Distribution System Enum',
* and utility methods for working with them.
*
* @see org.bimserver.models.ifc4.Ifc4Package#getIfcDistributionSystemEnum()
* @model
* @generated
*/
public enum IfcDistributionSystemEnum implements Enumerator {
/**
* The 'NULL' literal object.
*
*
* @see #NULL_VALUE
* @generated
* @ordered
*/
NULL(0, "NULL", "NULL"),
/**
* The 'VACUUM' literal object.
*
*
* @see #VACUUM_VALUE
* @generated
* @ordered
*/
VACUUM(1, "VACUUM", "VACUUM"),
/**
* The 'TV' literal object.
*
*
* @see #TV_VALUE
* @generated
* @ordered
*/
TV(2, "TV", "TV"),
/**
* The 'ELECTRICAL' literal object.
*
*
* @see #ELECTRICAL_VALUE
* @generated
* @ordered
*/
ELECTRICAL(3, "ELECTRICAL", "ELECTRICAL"),
/**
* The 'STORMWATER' literal object.
*
*
* @see #STORMWATER_VALUE
* @generated
* @ordered
*/
STORMWATER(4, "STORMWATER", "STORMWATER"),
/**
* The 'FIREPROTECTION' literal object.
*
*
* @see #FIREPROTECTION_VALUE
* @generated
* @ordered
*/
FIREPROTECTION(5, "FIREPROTECTION", "FIREPROTECTION"),
/**
* The 'EXHAUST' literal object.
*
*
* @see #EXHAUST_VALUE
* @generated
* @ordered
*/
EXHAUST(6, "EXHAUST", "EXHAUST"),
/**
* The 'LIGHTNINGPROTECTION' literal object.
*
*
* @see #LIGHTNINGPROTECTION_VALUE
* @generated
* @ordered
*/
LIGHTNINGPROTECTION(7, "LIGHTNINGPROTECTION", "LIGHTNINGPROTECTION"),
/**
* The 'LIGHTING' literal object.
*
*
* @see #LIGHTING_VALUE
* @generated
* @ordered
*/
LIGHTING(8, "LIGHTING", "LIGHTING"),
/**
* The 'USERDEFINED' literal object.
*
*
* @see #USERDEFINED_VALUE
* @generated
* @ordered
*/
USERDEFINED(9, "USERDEFINED", "USERDEFINED"),
/**
* The 'AIRCONDITIONING' literal object.
*
*
* @see #AIRCONDITIONING_VALUE
* @generated
* @ordered
*/
AIRCONDITIONING(10, "AIRCONDITIONING", "AIRCONDITIONING"),
/**
* The 'EARTHING' literal object.
*
*
* @see #EARTHING_VALUE
* @generated
* @ordered
*/
EARTHING(11, "EARTHING", "EARTHING"),
/**
* The 'DOMESTICHOTWATER' literal object.
*
*
* @see #DOMESTICHOTWATER_VALUE
* @generated
* @ordered
*/
DOMESTICHOTWATER(12, "DOMESTICHOTWATER", "DOMESTICHOTWATER"),
/**
* The 'NOTDEFINED' literal object.
*
*
* @see #NOTDEFINED_VALUE
* @generated
* @ordered
*/
NOTDEFINED(13, "NOTDEFINED", "NOTDEFINED"),
/**
* The 'VENTILATION' literal object.
*
*
* @see #VENTILATION_VALUE
* @generated
* @ordered
*/
VENTILATION(14, "VENTILATION", "VENTILATION"),
/**
* The 'DISPOSAL' literal object.
*
*
* @see #DISPOSAL_VALUE
* @generated
* @ordered
*/
DISPOSAL(15, "DISPOSAL", "DISPOSAL"),
/**
* The 'FUEL' literal object.
*
*
* @see #FUEL_VALUE
* @generated
* @ordered
*/
FUEL(16, "FUEL", "FUEL"),
/**
* The 'CHILLEDWATER' literal object.
*
*
* @see #CHILLEDWATER_VALUE
* @generated
* @ordered
*/
CHILLEDWATER(17, "CHILLEDWATER", "CHILLEDWATER"),
/**
* The 'CONVEYING' literal object.
*
*
* @see #CONVEYING_VALUE
* @generated
* @ordered
*/
CONVEYING(18, "CONVEYING", "CONVEYING"),
/**
* The 'REFRIGERATION' literal object.
*
*
* @see #REFRIGERATION_VALUE
* @generated
* @ordered
*/
REFRIGERATION(19, "REFRIGERATION", "REFRIGERATION"),
/**
* The 'VENT' literal object.
*
*
* @see #VENT_VALUE
* @generated
* @ordered
*/
VENT(20, "VENT", "VENT"),
/**
* The 'WATERSUPPLY' literal object.
*
*
* @see #WATERSUPPLY_VALUE
* @generated
* @ordered
*/
WATERSUPPLY(21, "WATERSUPPLY", "WATERSUPPLY"),
/**
* The 'CHEMICAL' literal object.
*
*
* @see #CHEMICAL_VALUE
* @generated
* @ordered
*/
CHEMICAL(22, "CHEMICAL", "CHEMICAL"),
/**
* The 'SIGNAL' literal object.
*
*
* @see #SIGNAL_VALUE
* @generated
* @ordered
*/
SIGNAL(23, "SIGNAL", "SIGNAL"),
/**
* The 'RAINWATER' literal object.
*
*
* @see #RAINWATER_VALUE
* @generated
* @ordered
*/
RAINWATER(24, "RAINWATER", "RAINWATER"),
/**
* The 'TELEPHONE' literal object.
*
*
* @see #TELEPHONE_VALUE
* @generated
* @ordered
*/
TELEPHONE(25, "TELEPHONE", "TELEPHONE"),
/**
* The 'COMPRESSEDAIR' literal object.
*
*
* @see #COMPRESSEDAIR_VALUE
* @generated
* @ordered
*/
COMPRESSEDAIR(26, "COMPRESSEDAIR", "COMPRESSEDAIR"),
/**
* The 'DRAINAGE' literal object.
*
*
* @see #DRAINAGE_VALUE
* @generated
* @ordered
*/
DRAINAGE(27, "DRAINAGE", "DRAINAGE"),
/**
* The 'ELECTROACOUSTIC' literal object.
*
*
* @see #ELECTROACOUSTIC_VALUE
* @generated
* @ordered
*/
ELECTROACOUSTIC(28, "ELECTROACOUSTIC", "ELECTROACOUSTIC"),
/**
* The 'MUNICIPALSOLIDWASTE' literal object.
*
*
* @see #MUNICIPALSOLIDWASTE_VALUE
* @generated
* @ordered
*/
MUNICIPALSOLIDWASTE(29, "MUNICIPALSOLIDWASTE", "MUNICIPALSOLIDWASTE"),
/**
* The 'CONDENSERWATER' literal object.
*
*
* @see #CONDENSERWATER_VALUE
* @generated
* @ordered
*/
CONDENSERWATER(30, "CONDENSERWATER", "CONDENSERWATER"),
/**
* The 'HEATING' literal object.
*
*
* @see #HEATING_VALUE
* @generated
* @ordered
*/
HEATING(31, "HEATING", "HEATING"),
/**
* The 'SEWAGE' literal object.
*
*
* @see #SEWAGE_VALUE
* @generated
* @ordered
*/
SEWAGE(32, "SEWAGE", "SEWAGE"),
/**
* The 'HAZARDOUS' literal object.
*
*
* @see #HAZARDOUS_VALUE
* @generated
* @ordered
*/
HAZARDOUS(33, "HAZARDOUS", "HAZARDOUS"),
/**
* The 'POWERGENERATION' literal object.
*
*
* @see #POWERGENERATION_VALUE
* @generated
* @ordered
*/
POWERGENERATION(34, "POWERGENERATION", "POWERGENERATION"),
/**
* The 'OIL' literal object.
*
*
* @see #OIL_VALUE
* @generated
* @ordered
*/
OIL(35, "OIL", "OIL"),
/**
* The 'WASTEWATER' literal object.
*
*
* @see #WASTEWATER_VALUE
* @generated
* @ordered
*/
WASTEWATER(36, "WASTEWATER", "WASTEWATER"),
/**
* The 'DATA' literal object.
*
*
* @see #DATA_VALUE
* @generated
* @ordered
*/
DATA(37, "DATA", "DATA"),
/**
* The 'GAS' literal object.
*
*
* @see #GAS_VALUE
* @generated
* @ordered
*/
GAS(38, "GAS", "GAS"),
/**
* The 'SECURITY' literal object.
*
*
* @see #SECURITY_VALUE
* @generated
* @ordered
*/
SECURITY(39, "SECURITY", "SECURITY"),
/**
* The 'AUDIOVISUAL' literal object.
*
*
* @see #AUDIOVISUAL_VALUE
* @generated
* @ordered
*/
AUDIOVISUAL(40, "AUDIOVISUAL", "AUDIOVISUAL"),
/**
* The 'DOMESTICCOLDWATER' literal object.
*
*
* @see #DOMESTICCOLDWATER_VALUE
* @generated
* @ordered
*/
DOMESTICCOLDWATER(41, "DOMESTICCOLDWATER", "DOMESTICCOLDWATER"),
/**
* The 'OPERATIONAL' literal object.
*
*
* @see #OPERATIONAL_VALUE
* @generated
* @ordered
*/
OPERATIONAL(42, "OPERATIONAL", "OPERATIONAL"),
/**
* The 'COMMUNICATION' literal object.
*
*
* @see #COMMUNICATION_VALUE
* @generated
* @ordered
*/
COMMUNICATION(43, "COMMUNICATION", "COMMUNICATION"),
/**
* The 'CONTROL' literal object.
*
*
* @see #CONTROL_VALUE
* @generated
* @ordered
*/
CONTROL(44, "CONTROL", "CONTROL");
/**
* 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 'VACUUM' literal value.
*
*
* If the meaning of 'VACUUM' literal object isn't clear,
* there really should be more of a description here...
*
*
* @see #VACUUM
* @model
* @generated
* @ordered
*/
public static final int VACUUM_VALUE = 1;
/**
* The 'TV' literal value.
*
*
* If the meaning of 'TV' literal object isn't clear,
* there really should be more of a description here...
*
*
* @see #TV
* @model
* @generated
* @ordered
*/
public static final int TV_VALUE = 2;
/**
* The 'ELECTRICAL' literal value.
*
*
* If the meaning of 'ELECTRICAL' literal object isn't clear,
* there really should be more of a description here...
*
*
* @see #ELECTRICAL
* @model
* @generated
* @ordered
*/
public static final int ELECTRICAL_VALUE = 3;
/**
* The 'STORMWATER' literal value.
*
*
* If the meaning of 'STORMWATER' literal object isn't clear,
* there really should be more of a description here...
*
*
* @see #STORMWATER
* @model
* @generated
* @ordered
*/
public static final int STORMWATER_VALUE = 4;
/**
* The 'FIREPROTECTION' literal value.
*
*
* If the meaning of 'FIREPROTECTION' literal object isn't clear,
* there really should be more of a description here...
*
*
* @see #FIREPROTECTION
* @model
* @generated
* @ordered
*/
public static final int FIREPROTECTION_VALUE = 5;
/**
* The 'EXHAUST' literal value.
*
*
* If the meaning of 'EXHAUST' literal object isn't clear,
* there really should be more of a description here...
*
*
* @see #EXHAUST
* @model
* @generated
* @ordered
*/
public static final int EXHAUST_VALUE = 6;
/**
* The 'LIGHTNINGPROTECTION' literal value.
*
*
* If the meaning of 'LIGHTNINGPROTECTION' literal object isn't clear,
* there really should be more of a description here...
*
*
* @see #LIGHTNINGPROTECTION
* @model
* @generated
* @ordered
*/
public static final int LIGHTNINGPROTECTION_VALUE = 7;
/**
* The 'LIGHTING' literal value.
*
*
* If the meaning of 'LIGHTING' literal object isn't clear,
* there really should be more of a description here...
*
*
* @see #LIGHTING
* @model
* @generated
* @ordered
*/
public static final int LIGHTING_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 'AIRCONDITIONING' literal value.
*
*
* If the meaning of 'AIRCONDITIONING' literal object isn't clear,
* there really should be more of a description here...
*
*
* @see #AIRCONDITIONING
* @model
* @generated
* @ordered
*/
public static final int AIRCONDITIONING_VALUE = 10;
/**
* The 'EARTHING' literal value.
*
*
* If the meaning of 'EARTHING' literal object isn't clear,
* there really should be more of a description here...
*
*
* @see #EARTHING
* @model
* @generated
* @ordered
*/
public static final int EARTHING_VALUE = 11;
/**
* The 'DOMESTICHOTWATER' literal value.
*
*
* If the meaning of 'DOMESTICHOTWATER' literal object isn't clear,
* there really should be more of a description here...
*
*
* @see #DOMESTICHOTWATER
* @model
* @generated
* @ordered
*/
public static final int DOMESTICHOTWATER_VALUE = 12;
/**
* 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 = 13;
/**
* The 'VENTILATION' literal value.
*
*
* If the meaning of 'VENTILATION' literal object isn't clear,
* there really should be more of a description here...
*
*
* @see #VENTILATION
* @model
* @generated
* @ordered
*/
public static final int VENTILATION_VALUE = 14;
/**
* The 'DISPOSAL' literal value.
*
*
* If the meaning of 'DISPOSAL' literal object isn't clear,
* there really should be more of a description here...
*
*
* @see #DISPOSAL
* @model
* @generated
* @ordered
*/
public static final int DISPOSAL_VALUE = 15;
/**
* The 'FUEL' literal value.
*
*
* If the meaning of 'FUEL' literal object isn't clear,
* there really should be more of a description here...
*
*
* @see #FUEL
* @model
* @generated
* @ordered
*/
public static final int FUEL_VALUE = 16;
/**
* The 'CHILLEDWATER' literal value.
*
*
* If the meaning of 'CHILLEDWATER' literal object isn't clear,
* there really should be more of a description here...
*
*
* @see #CHILLEDWATER
* @model
* @generated
* @ordered
*/
public static final int CHILLEDWATER_VALUE = 17;
/**
* The 'CONVEYING' literal value.
*
*
* If the meaning of 'CONVEYING' literal object isn't clear,
* there really should be more of a description here...
*
*
* @see #CONVEYING
* @model
* @generated
* @ordered
*/
public static final int CONVEYING_VALUE = 18;
/**
* The 'REFRIGERATION' literal value.
*
*
* If the meaning of 'REFRIGERATION' literal object isn't clear,
* there really should be more of a description here...
*
*
* @see #REFRIGERATION
* @model
* @generated
* @ordered
*/
public static final int REFRIGERATION_VALUE = 19;
/**
* The 'VENT' literal value.
*
*
* If the meaning of 'VENT' literal object isn't clear,
* there really should be more of a description here...
*
*
* @see #VENT
* @model
* @generated
* @ordered
*/
public static final int VENT_VALUE = 20;
/**
* The 'WATERSUPPLY' literal value.
*
*
* If the meaning of 'WATERSUPPLY' literal object isn't clear,
* there really should be more of a description here...
*
*
* @see #WATERSUPPLY
* @model
* @generated
* @ordered
*/
public static final int WATERSUPPLY_VALUE = 21;
/**
* The 'CHEMICAL' literal value.
*
*
* If the meaning of 'CHEMICAL' literal object isn't clear,
* there really should be more of a description here...
*
*
* @see #CHEMICAL
* @model
* @generated
* @ordered
*/
public static final int CHEMICAL_VALUE = 22;
/**
* The 'SIGNAL' literal value.
*
*
* If the meaning of 'SIGNAL' literal object isn't clear,
* there really should be more of a description here...
*
*
* @see #SIGNAL
* @model
* @generated
* @ordered
*/
public static final int SIGNAL_VALUE = 23;
/**
* The 'RAINWATER' literal value.
*
*
* If the meaning of 'RAINWATER' literal object isn't clear,
* there really should be more of a description here...
*
*
* @see #RAINWATER
* @model
* @generated
* @ordered
*/
public static final int RAINWATER_VALUE = 24;
/**
* The 'TELEPHONE' literal value.
*
*
* If the meaning of 'TELEPHONE' literal object isn't clear,
* there really should be more of a description here...
*
*
* @see #TELEPHONE
* @model
* @generated
* @ordered
*/
public static final int TELEPHONE_VALUE = 25;
/**
* The 'COMPRESSEDAIR' literal value.
*
*
* If the meaning of 'COMPRESSEDAIR' literal object isn't clear,
* there really should be more of a description here...
*
*
* @see #COMPRESSEDAIR
* @model
* @generated
* @ordered
*/
public static final int COMPRESSEDAIR_VALUE = 26;
/**
* The 'DRAINAGE' literal value.
*
*
* If the meaning of 'DRAINAGE' literal object isn't clear,
* there really should be more of a description here...
*
*
* @see #DRAINAGE
* @model
* @generated
* @ordered
*/
public static final int DRAINAGE_VALUE = 27;
/**
* The 'ELECTROACOUSTIC' literal value.
*
*
* If the meaning of 'ELECTROACOUSTIC' literal object isn't clear,
* there really should be more of a description here...
*
*
* @see #ELECTROACOUSTIC
* @model
* @generated
* @ordered
*/
public static final int ELECTROACOUSTIC_VALUE = 28;
/**
* The 'MUNICIPALSOLIDWASTE' literal value.
*
*
* If the meaning of 'MUNICIPALSOLIDWASTE' literal object isn't clear,
* there really should be more of a description here...
*
*
* @see #MUNICIPALSOLIDWASTE
* @model
* @generated
* @ordered
*/
public static final int MUNICIPALSOLIDWASTE_VALUE = 29;
/**
* The 'CONDENSERWATER' literal value.
*
*
* If the meaning of 'CONDENSERWATER' literal object isn't clear,
* there really should be more of a description here...
*
*
* @see #CONDENSERWATER
* @model
* @generated
* @ordered
*/
public static final int CONDENSERWATER_VALUE = 30;
/**
* The 'HEATING' literal value.
*
*
* If the meaning of 'HEATING' literal object isn't clear,
* there really should be more of a description here...
*
*
* @see #HEATING
* @model
* @generated
* @ordered
*/
public static final int HEATING_VALUE = 31;
/**
* The 'SEWAGE' literal value.
*
*
* If the meaning of 'SEWAGE' literal object isn't clear,
* there really should be more of a description here...
*
*
* @see #SEWAGE
* @model
* @generated
* @ordered
*/
public static final int SEWAGE_VALUE = 32;
/**
* The 'HAZARDOUS' literal value.
*
*
* If the meaning of 'HAZARDOUS' literal object isn't clear,
* there really should be more of a description here...
*
*
* @see #HAZARDOUS
* @model
* @generated
* @ordered
*/
public static final int HAZARDOUS_VALUE = 33;
/**
* The 'POWERGENERATION' literal value.
*
*
* If the meaning of 'POWERGENERATION' literal object isn't clear,
* there really should be more of a description here...
*
*
* @see #POWERGENERATION
* @model
* @generated
* @ordered
*/
public static final int POWERGENERATION_VALUE = 34;
/**
* The 'OIL' literal value.
*
*
* If the meaning of 'OIL' literal object isn't clear,
* there really should be more of a description here...
*
*
* @see #OIL
* @model
* @generated
* @ordered
*/
public static final int OIL_VALUE = 35;
/**
* The 'WASTEWATER' literal value.
*
*
* If the meaning of 'WASTEWATER' literal object isn't clear,
* there really should be more of a description here...
*
*
* @see #WASTEWATER
* @model
* @generated
* @ordered
*/
public static final int WASTEWATER_VALUE = 36;
/**
* The 'DATA' literal value.
*
*
* If the meaning of 'DATA' literal object isn't clear,
* there really should be more of a description here...
*
*
* @see #DATA
* @model
* @generated
* @ordered
*/
public static final int DATA_VALUE = 37;
/**
* The 'GAS' literal value.
*
*
* If the meaning of 'GAS' literal object isn't clear,
* there really should be more of a description here...
*
*
* @see #GAS
* @model
* @generated
* @ordered
*/
public static final int GAS_VALUE = 38;
/**
* The 'SECURITY' literal value.
*
*
* If the meaning of 'SECURITY' literal object isn't clear,
* there really should be more of a description here...
*
*
* @see #SECURITY
* @model
* @generated
* @ordered
*/
public static final int SECURITY_VALUE = 39;
/**
* The 'AUDIOVISUAL' literal value.
*
*
* If the meaning of 'AUDIOVISUAL' literal object isn't clear,
* there really should be more of a description here...
*
*
* @see #AUDIOVISUAL
* @model
* @generated
* @ordered
*/
public static final int AUDIOVISUAL_VALUE = 40;
/**
* The 'DOMESTICCOLDWATER' literal value.
*
*
* If the meaning of 'DOMESTICCOLDWATER' literal object isn't clear,
* there really should be more of a description here...
*
*
* @see #DOMESTICCOLDWATER
* @model
* @generated
* @ordered
*/
public static final int DOMESTICCOLDWATER_VALUE = 41;
/**
* The 'OPERATIONAL' literal value.
*
*
* If the meaning of 'OPERATIONAL' literal object isn't clear,
* there really should be more of a description here...
*
*
* @see #OPERATIONAL
* @model
* @generated
* @ordered
*/
public static final int OPERATIONAL_VALUE = 42;
/**
* The 'COMMUNICATION' literal value.
*
*
* If the meaning of 'COMMUNICATION' literal object isn't clear,
* there really should be more of a description here...
*
*
* @see #COMMUNICATION
* @model
* @generated
* @ordered
*/
public static final int COMMUNICATION_VALUE = 43;
/**
* The 'CONTROL' literal value.
*
*
* If the meaning of 'CONTROL' literal object isn't clear,
* there really should be more of a description here...
*
*
* @see #CONTROL
* @model
* @generated
* @ordered
*/
public static final int CONTROL_VALUE = 44;
/**
* An array of all the 'Ifc Distribution System Enum' enumerators.
*
*
* @generated
*/
private static final IfcDistributionSystemEnum[] VALUES_ARRAY = new IfcDistributionSystemEnum[] { NULL, VACUUM, TV, ELECTRICAL, STORMWATER, FIREPROTECTION, EXHAUST, LIGHTNINGPROTECTION, LIGHTING, USERDEFINED, AIRCONDITIONING, EARTHING,
DOMESTICHOTWATER, NOTDEFINED, VENTILATION, DISPOSAL, FUEL, CHILLEDWATER, CONVEYING, REFRIGERATION, VENT, WATERSUPPLY, CHEMICAL, SIGNAL, RAINWATER, TELEPHONE, COMPRESSEDAIR, DRAINAGE, ELECTROACOUSTIC, MUNICIPALSOLIDWASTE,
CONDENSERWATER, HEATING, SEWAGE, HAZARDOUS, POWERGENERATION, OIL, WASTEWATER, DATA, GAS, SECURITY, AUDIOVISUAL, DOMESTICCOLDWATER, OPERATIONAL, COMMUNICATION, CONTROL, };
/**
* A public read-only list of all the 'Ifc Distribution System Enum' enumerators.
*
*
* @generated
*/
public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
/**
* Returns the 'Ifc Distribution System Enum' literal with the specified literal value.
*
*
* @param literal the literal.
* @return the matching enumerator or null
.
* @generated
*/
public static IfcDistributionSystemEnum get(String literal) {
for (int i = 0; i < VALUES_ARRAY.length; ++i) {
IfcDistributionSystemEnum result = VALUES_ARRAY[i];
if (result.toString().equals(literal)) {
return result;
}
}
return null;
}
/**
* Returns the 'Ifc Distribution System Enum' literal with the specified name.
*
*
* @param name the name.
* @return the matching enumerator or null
.
* @generated
*/
public static IfcDistributionSystemEnum getByName(String name) {
for (int i = 0; i < VALUES_ARRAY.length; ++i) {
IfcDistributionSystemEnum result = VALUES_ARRAY[i];
if (result.getName().equals(name)) {
return result;
}
}
return null;
}
/**
* Returns the 'Ifc Distribution System Enum' literal with the specified integer value.
*
*
* @param value the integer value.
* @return the matching enumerator or null
.
* @generated
*/
public static IfcDistributionSystemEnum get(int value) {
switch (value) {
case NULL_VALUE:
return NULL;
case VACUUM_VALUE:
return VACUUM;
case TV_VALUE:
return TV;
case ELECTRICAL_VALUE:
return ELECTRICAL;
case STORMWATER_VALUE:
return STORMWATER;
case FIREPROTECTION_VALUE:
return FIREPROTECTION;
case EXHAUST_VALUE:
return EXHAUST;
case LIGHTNINGPROTECTION_VALUE:
return LIGHTNINGPROTECTION;
case LIGHTING_VALUE:
return LIGHTING;
case USERDEFINED_VALUE:
return USERDEFINED;
case AIRCONDITIONING_VALUE:
return AIRCONDITIONING;
case EARTHING_VALUE:
return EARTHING;
case DOMESTICHOTWATER_VALUE:
return DOMESTICHOTWATER;
case NOTDEFINED_VALUE:
return NOTDEFINED;
case VENTILATION_VALUE:
return VENTILATION;
case DISPOSAL_VALUE:
return DISPOSAL;
case FUEL_VALUE:
return FUEL;
case CHILLEDWATER_VALUE:
return CHILLEDWATER;
case CONVEYING_VALUE:
return CONVEYING;
case REFRIGERATION_VALUE:
return REFRIGERATION;
case VENT_VALUE:
return VENT;
case WATERSUPPLY_VALUE:
return WATERSUPPLY;
case CHEMICAL_VALUE:
return CHEMICAL;
case SIGNAL_VALUE:
return SIGNAL;
case RAINWATER_VALUE:
return RAINWATER;
case TELEPHONE_VALUE:
return TELEPHONE;
case COMPRESSEDAIR_VALUE:
return COMPRESSEDAIR;
case DRAINAGE_VALUE:
return DRAINAGE;
case ELECTROACOUSTIC_VALUE:
return ELECTROACOUSTIC;
case MUNICIPALSOLIDWASTE_VALUE:
return MUNICIPALSOLIDWASTE;
case CONDENSERWATER_VALUE:
return CONDENSERWATER;
case HEATING_VALUE:
return HEATING;
case SEWAGE_VALUE:
return SEWAGE;
case HAZARDOUS_VALUE:
return HAZARDOUS;
case POWERGENERATION_VALUE:
return POWERGENERATION;
case OIL_VALUE:
return OIL;
case WASTEWATER_VALUE:
return WASTEWATER;
case DATA_VALUE:
return DATA;
case GAS_VALUE:
return GAS;
case SECURITY_VALUE:
return SECURITY;
case AUDIOVISUAL_VALUE:
return AUDIOVISUAL;
case DOMESTICCOLDWATER_VALUE:
return DOMESTICCOLDWATER;
case OPERATIONAL_VALUE:
return OPERATIONAL;
case COMMUNICATION_VALUE:
return COMMUNICATION;
case CONTROL_VALUE:
return CONTROL;
}
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 IfcDistributionSystemEnum(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;
}
} //IfcDistributionSystemEnum