Interface DataLabelId
-
- All Superinterfaces:
Key,PropertyKey
public interface DataLabelId extends PropertyKey
Represents the label id of a label configuration object in theDataLabelsPlugin.IDplugin.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
Static Methods Modifier and Type Method Description static voidcheckIfValid(DataLabelId id)Checks if id passed as argument is notnulland its value is notnullas well and could be a valid label configuration object id.
If not, throw aIllegalArgumentException.static DataLabelIdcreate(String id)Returns a key instance by its string value.static booleanisValid(DataLabelId id)Returnstrueif id passed as argument is notnulland its value is notnullas well and could be a valid label configuration object id.
-
-
-
Method Detail
-
create
static DataLabelId create(String id)
Returns a key instance by its string value.- Parameters:
id- string value to use- Returns:
- new label configuration object id instance
-
isValid
static boolean isValid(DataLabelId id)
Returnstrueif id passed as argument is notnulland its value is notnullas well and could be a valid label configuration object id.- Parameters:
id- label configuration object id to be checked- Returns:
trueif id passed as argument is notnulland its value is notnullas well and could be a valid label configuration object id.
-
checkIfValid
static void checkIfValid(DataLabelId id)
Checks if id passed as argument is notnulland its value is notnullas well and could be a valid label configuration object id.
If not, throw aIllegalArgumentException.- Parameters:
id- label configuration object id to be checked
-
-