
tech.aroma.thrift.Industry Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aroma-thrift Show documentation
Show all versions of aroma-thrift Show documentation
Part of the Aroma Project.
This project contains the Service and Model Definitions.
From this the Server and Client interfaces are generated for the Aroma Service.
/**
* Autogenerated by Thrift Compiler (0.9.3)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package tech.aroma.thrift;
import java.util.Map;
import java.util.HashMap;
import org.apache.thrift.TEnum;
public enum Industry implements org.apache.thrift.TEnum {
BANKING(1),
ECOMMERCE(2),
EDUCATION(3),
ENTERTAINMENT(4),
GOVERMENT(5),
MARKETING(6),
RETAIL(7),
TECH(8),
AEROSPACE(9),
ROBOTICS(10);
private final int value;
private Industry(int value) {
this.value = value;
}
/**
* Get the integer value of this enum value, as defined in the Thrift IDL.
*/
public int getValue() {
return value;
}
/**
* Find a the enum type by its integer value, as defined in the Thrift IDL.
* @return null if the value is not found.
*/
public static Industry findByValue(int value) {
switch (value) {
case 1:
return BANKING;
case 2:
return ECOMMERCE;
case 3:
return EDUCATION;
case 4:
return ENTERTAINMENT;
case 5:
return GOVERMENT;
case 6:
return MARKETING;
case 7:
return RETAIL;
case 8:
return TECH;
case 9:
return AEROSPACE;
case 10:
return ROBOTICS;
default:
return null;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy