Well, I have an enum for the days of the week, being:
Segunda = 2,
[Display(Name="Terça")]
Terca = 3,
Quarta = 4,
Quinta = 5,
Sexta = 6,
[Display(Name = "Sábado")]
Sabado = 7
So I build an object that has a da...
I have a relationship of my system where one class makes a relationship with another, but this other class there is nowhere in the system to change / delete its state (they are just static data) p>
I would like to know if the ideal would b...
I have the following Enum :
@AllArgsConstructor
public enum Lojas {
ALIEXPRESS("AliExpress"), MERCADO_LIVRE("Mercado Livre"), EBAY("Ebay"), WISH("Wish"), GEARBEST("Gearbest"), BANGOOD(
"Banggood");
@Getter
@Sett...
I'm developing a project in which I have to consume a Web Service in .NET that requires an object with some parameters of type Enum.
The call is made by Javascript as below:
function ConsultarPeriodo(){
var metodo = 'ConsultarPeriod...
I need to make the texts of the exam statuses of an app appear in different colors, in the case of black, marked green and not red, these statuses are in an Enum. Follow my code if anyone knows the best way for this implementation....
I'm migrating a desktop application in delphi to java, and in delphi has a class that persists in the bench the values 00, 10, 20 and 30. I'm doing an enum in java to persist values. I know that by annotation, I can define the string and ordinal...