Interface HasApiVersion
public interface HasApiVersion
HasApiVersion -- The object has an api version.
- Since:
- 2.0.2 2022-01-16
- Version:
- 2.0.2 2022-01-16
- Author:
- klenkes74 <rlichti@kaiserpfalz-edv.de>
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescription@NotBlank @Size(min=1,max=10,message="The API Version is either too long or too short.") @Pattern(regexp="^[a-zA-Z]([a-zA-Z\\d]{1,9})?$",message="The api version does not match the validation pattern.") String
-
Field Details
-
VALID_VERSION_PATTERN
- See Also:
-
VALID_VERSION_PATTERN_MSG
- See Also:
-
VALID_VERSION_EXAMPLE
- See Also:
-
VALID_VERSION_MIN_LENGTH
static final int VALID_VERSION_MIN_LENGTH- See Also:
-
VALID_VERSION_MAX_LENGTH
static final int VALID_VERSION_MAX_LENGTH- See Also:
-
VALID_VERSION_LENGTH_MSG
- See Also:
-
-
Method Details
-
getApiVersion
@NotBlank @Size(min=1, max=10, message="The API Version is either too long or too short.") @Pattern(regexp="^[a-zA-Z]([a-zA-Z\\d]{1,9})?$", message="The api version does not match the validation pattern.") @NotBlank @Size(min=1,max=10,message="The API Version is either too long or too short.") @Pattern(regexp="^[a-zA-Z]([a-zA-Z\\d]{1,9})?$",message="The api version does not match the validation pattern.") String getApiVersion()
-