public interface PropertyKey extends Key
| Modifier and Type | Method and Description |
|---|---|
static void |
checkIfValid(PropertyKey id)
Checks if id passed as argument is not
null and its value is not null as well and could be a valid property key.If not, throw a IllegalArgumentException. |
static void |
checkIfValid(String id)
Checks if id passed as argument is not
null and its value is not null as well and could be a valid property key.If not, throw a IllegalArgumentException. |
static boolean |
isValid(PropertyKey id)
Returns
true if id passed as argument is not null and its value is not null as well and could be a valid property key. |
static boolean |
isValid(String id)
Returns
true if id passed as argument is not null and its value could be a valid property key. |
checkAndGetIfValid, checkIfValid, compare, create, equals, getKeyByValue, getKeyByValue, hasKeyByValue, isValid, valuestatic boolean isValid(String id)
true if id passed as argument is not null and its value could be a valid property key.id - id to be checkedtrue if id passed as argument is not null and its value could be a valid property key.static boolean isValid(PropertyKey id)
true if id passed as argument is not null and its value is not null as well and could be a valid property key.id - id to be checkedtrue if id passed as argument is not null and its value is not null as well and could be a valid property key.static void checkIfValid(PropertyKey id)
null and its value is not null as well and could be a valid property key.IllegalArgumentException.id - id to be checkedstatic void checkIfValid(String id)
null and its value is not null as well and could be a valid property key.IllegalArgumentException.id - id as string to be checked