public enum Template extends Enum<Template>
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getFileFormat() |
String |
getName() |
String |
getNamePrefix() |
String |
getNameSuffix() |
String |
getProject() |
String |
getRelativePath() |
TemplateType |
getType() |
static Template |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static Template[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final Template BASE_ENTITY
public static final Template RESULT
public static final Template MODEL_ENTITY
public static final Template MODEL_CREATE_DTO
public static final Template MODEL_UPDATE_DTO
public static final Template MODEL_QUERY_DTO
public static final Template MODEL_VO
public static final Template MAPPER
public static final Template SERVICE
public static final Template SERVICE_IMPL
public static final Template CONTROLLER
public static final Template APP_SERVICE
public static final Template APP_SERVICE_IMPL
public static final Template APP_CONTROLLER
public static final Template DB_HTML
public static final Template DB_MARKDOWN
public static final Template DB_WORD
public static final Template SQL
public static Template[] values()
for (Template c : Template.values()) System.out.println(c);
public static Template valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getName()
public TemplateType getType()
public String getProject()
public String getRelativePath()
public String getNamePrefix()
public String getNameSuffix()
public String getFileFormat()
Copyright © 2025. All rights reserved.