Class PSNErrorStrings
java.lang.Object
org.emau.icmvc.ganimed.ttp.psn.exceptions.PSNErrorStrings
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisInvalidErrorString(String text) Returns true if a given string is a PSNErrorString describing that a PSN or a value was invalid.static booleanisNotFoundErrorString(String text) Returns true if a given string is a PSNErrorString describing that a PSN or a value was not found.static booleanisPSNErrorString(String text) Returns true if a given string is a PSNErrorString.
-
Field Details
-
INVALID_PSN
- See Also:
-
INVALID_VALUE
- See Also:
-
PSN_NOT_FOUND
- See Also:
-
VALUE_NOT_FOUND
- See Also:
-
VALUE_IS_ANONYMISED
- See Also:
-
MULTIPLE_PSNS
- See Also:
-
PAIR_VALUE_INVALID
- See Also:
-
PAIR_PSEUDONYM_INVALID
- See Also:
-
PAIR_DIFFERENT_PSEUDONYM_FOR_VALUE_EXISTS
- See Also:
-
PAIR_DIFFERENT_VALUE_FOR_PSEUDONYM_EXISTS
- See Also:
-
-
Constructor Details
-
PSNErrorStrings
public PSNErrorStrings()
-
-
Method Details
-
isPSNErrorString
Returns true if a given string is a PSNErrorString.- Parameters:
text- the string to test- Returns:
- true if the given text is a PSNErrorString
-
isNotFoundErrorString
Returns true if a given string is a PSNErrorString describing that a PSN or a value was not found.- Parameters:
text- the string to test- Returns:
- true if a given string is a PSNErrorString describing that a PSN or a value was not found.
-
isInvalidErrorString
Returns true if a given string is a PSNErrorString describing that a PSN or a value was invalid.- Parameters:
text- the string to test- Returns:
- true if a given string is a PSNErrorString describing that a PSN or a value was invalid.
-