Package io.jmix.data
Class ReferenceIdProvider.RefId
java.lang.Object
io.jmix.data.ReferenceIdProvider.RefId
- Enclosing interface:
- ReferenceIdProvider
A wrapper for the reference ID value returned by
ReferenceIdProvider.getReferenceId(Object, String)
method.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic ReferenceIdProvider.RefId
static ReferenceIdProvider.RefId
createNotLoaded
(String name) getValue()
Returns the reference ID value (can be null) ifisLoaded()
is trueboolean
isLoaded()
Returns true if the reference ID has been loaded and can be retrieved by callinggetValue()
-
Method Details
-
create
-
createNotLoaded
-
isLoaded
public boolean isLoaded()Returns true if the reference ID has been loaded and can be retrieved by callinggetValue()
-
getValue
Returns the reference ID value (can be null) ifisLoaded()
is true- Throws:
IllegalStateException
- ifisLoaded()
is false
-