Class StringLimitationResult
java.lang.Object
com.evolveum.midpoint.model.api.validator.StringLimitationResult
- All Implemented Interfaces:
Serializable
Describes the result of a single limitation check. The
minOccurs
, maxOccurs
, and mustBeFirst
fields may or may not be applicable to a given limitation, and their meaning may vary (e.g. minOccurs for uniqueness check).- Author:
- skublik
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull List<LocalizableMessage>
extractMessages
(@NotNull List<StringLimitationResult> results) getHelp()
@NotNull List<LocalizableMessage>
getName()
boolean
void
recordFailure
(@NotNull LocalizableMessage msg) void
setHelp
(PolyStringType help) void
setMaxOccurs
(Integer maxOccurs) void
setMinOccurs
(Integer minOccurs) void
setMustBeFirst
(Boolean mustBeFirst) void
setName
(PolyStringType name) void
setSuccess
(boolean success)
-
Constructor Details
-
StringLimitationResult
public StringLimitationResult()
-
-
Method Details
-
extractMessages
@NotNull public static @NotNull List<LocalizableMessage> extractMessages(@NotNull @NotNull List<StringLimitationResult> results) -
getName
-
setName
-
getHelp
-
setHelp
-
isSuccess
public boolean isSuccess() -
setSuccess
public void setSuccess(boolean success) -
getMessages
-
getMinOccurs
-
setMinOccurs
-
getMaxOccurs
-
setMaxOccurs
-
isMustBeFirst
-
setMustBeFirst
-
recordFailure
-