Enum Class CompanyBackOffice
- All Implemented Interfaces:
Serializable,Comparable<CompanyBackOffice>,Constable
Enum for relation between companyy and back office identifer.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateCompanyBackOffice(Integer backOfficeId, String entityId, String entityName) -
Method Summary
Modifier and TypeMethodDescriptionstatic CompanyBackOfficegetByBackofficeId(Integer backOfficeId) Filter by back office code.static CompanyBackOfficegetByEntityId(String entityId) Filter by back office code.static CompanyBackOfficegetByEntityName(String entityName) Filter by back office code.static CompanyBackOfficeReturns the enum constant of this class with the specified name.static CompanyBackOffice[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
KUKEN
Back office code. -
CORE
Back office code. -
ALBATROS
Entity bank code.
-
-
Field Details
-
entityId
Entity bank code. -
backOfficeId
Back office code. -
entityName
Entity bank name.
-
-
Constructor Details
-
CompanyBackOffice
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getByBackofficeId
Filter by back office code. Return null if not exist.- Parameters:
backOfficeId- Back office code- Returns:
- The CardsEntity found
-
getByEntityId
Filter by back office code. Return null if not exist.- Parameters:
entityId- Back office code- Returns:
- The CardsEntity found
-
getByEntityName
Filter by back office code. Return null if not exist.- Parameters:
entityName- Back office name- Returns:
- The CardsEntity found
-