Package br.com.jarch.util.type
Enum CodeType
- java.lang.Object
-
- java.lang.Enum<CodeType>
-
- br.com.jarch.util.type.CodeType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DAO
DATA_CONTROLLER
DATA_DETAIL
EMBEDDABLE
ENTITY
FILTERSELECT_CONTROLLER
JPA_CONVERTER
JPQL_BUILDER
LIST_CONTROLLER
OBSERVER
REPOSITORY
REST
SEARCH
SERVICE
TYPE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getFullName(java.lang.String namePackage, java.lang.String useCase)
java.lang.String
getName(java.lang.String useCase)
java.lang.String
getPathExtension()
java.lang.String
getSuffixName()
java.lang.String
getVarName(java.lang.String useCase)
static CodeType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CodeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENTITY
public static final CodeType ENTITY
-
REPOSITORY
public static final CodeType REPOSITORY
-
DAO
public static final CodeType DAO
-
DATA_CONTROLLER
public static final CodeType DATA_CONTROLLER
-
DATA_DETAIL
public static final CodeType DATA_DETAIL
-
EMBEDDABLE
public static final CodeType EMBEDDABLE
-
OBSERVER
public static final CodeType OBSERVER
-
FILTERSELECT_CONTROLLER
public static final CodeType FILTERSELECT_CONTROLLER
-
JPA_CONVERTER
public static final CodeType JPA_CONVERTER
-
JPQL_BUILDER
public static final CodeType JPQL_BUILDER
-
LIST_CONTROLLER
public static final CodeType LIST_CONTROLLER
-
REST
public static final CodeType REST
-
SEARCH
public static final CodeType SEARCH
-
SERVICE
public static final CodeType SERVICE
-
TYPE
public static final CodeType TYPE
-
-
Method Detail
-
values
public static CodeType[] 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 (CodeType c : CodeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CodeType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getSuffixName
public java.lang.String getSuffixName()
-
getPathExtension
public java.lang.String getPathExtension()
-
getName
public java.lang.String getName(java.lang.String useCase)
-
getFullName
public java.lang.String getFullName(java.lang.String namePackage, java.lang.String useCase)
-
getVarName
public java.lang.String getVarName(java.lang.String useCase)
-
-