Package eu.de4a.iem.model
Enum EDE4AIdentifierType
- java.lang.Object
-
- java.lang.Enum<EDE4AIdentifierType>
-
- eu.de4a.iem.model.EDE4AIdentifierType
-
- All Implemented Interfaces:
com.helger.commons.id.IHasID<String>,Serializable,Comparable<EDE4AIdentifierType>
public enum EDE4AIdentifierType extends Enum<EDE4AIdentifierType> implements com.helger.commons.id.IHasID<String>
Source: IdentifierType-CodeList.gc
Content created by MainCreateJavaCode_IdentifierType_GC- Since:
- 2.0.0-beta5
- Author:
- Philip Helger
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BUSINESSCODESDirective 2012/17/EU IdentifierEIDASEIDAS IdentifierEORIEconomic Operator Registration and Identification (EORI)LEILegal Entity Identifier (LEI)SEEDSystem for Exchange of Excise Data (SEED)SICStandard Industrial Classification (SIC)TAXREFERENCETax Reference NumberVATREGISTRATIONVAT Registration Number
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EDE4AIdentifierTypegetFromIDOrNull(String sID)StringgetID()static EDE4AIdentifierTypevalueOf(String name)Returns the enum constant of this type with the specified name.static EDE4AIdentifierType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VATREGISTRATION
public static final EDE4AIdentifierType VATREGISTRATION
VAT Registration Number
-
TAXREFERENCE
public static final EDE4AIdentifierType TAXREFERENCE
Tax Reference Number
-
BUSINESSCODES
public static final EDE4AIdentifierType BUSINESSCODES
Directive 2012/17/EU Identifier
-
LEI
public static final EDE4AIdentifierType LEI
Legal Entity Identifier (LEI)
-
EORI
public static final EDE4AIdentifierType EORI
Economic Operator Registration and Identification (EORI)
-
SEED
public static final EDE4AIdentifierType SEED
System for Exchange of Excise Data (SEED)
-
SIC
public static final EDE4AIdentifierType SIC
Standard Industrial Classification (SIC)
-
EIDAS
public static final EDE4AIdentifierType EIDAS
EIDAS Identifier
-
-
Method Detail
-
values
public static EDE4AIdentifierType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EDE4AIdentifierType c : EDE4AIdentifierType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EDE4AIdentifierType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getID
@Nonnull @Nonempty public String getID()
- Specified by:
getIDin interfacecom.helger.commons.id.IHasID<String>
-
getFromIDOrNull
@Nullable public static EDE4AIdentifierType getFromIDOrNull(@Nullable String sID)
-
-