-
Method Summary
Returns the model object if this is option from enumeration based on model objects
boolean
boolean
Returns value of the name field if it is not empty, otherwise returns the id.
Returns value of the oppositeName field if it is not empty, otherwise returns the id.
-
Method Details
-
-
label
Returns value of the name field if it is not empty, otherwise returns the id.
-
oppositeLabel
@NotNull
String oppositeLabel()
Returns value of the oppositeName field if it is not empty, otherwise returns the id.
-
-
-
getModelObject
Returns the model object if this is option from enumeration based on model objects
-
isPhantom
boolean isPhantom()
- Returns:
true
if this option is not based on existing definition,
but was just derived from the ID, false
otherwise.
- Since:
- 3.9.2
-
isHidden
boolean isHidden()
- Returns:
true
if this option is configured to be hidden.
- Since:
- 3.21.1