public final class BeatProviderId extends BaseId
Modifier and Type | Field and Description |
---|---|
static BeatProviderId |
UNDEFINED
A type-safe and null-safe undefined beat provider id.
|
UNDEFINED_VALUE
Modifier and Type | Method and Description |
---|---|
static BeatProviderId |
from(Id id)
Returns a type-safe beat provider id for the specified id or null if the given id is null.
|
static BeatProviderId |
from(Identifiable<?> identifiable)
Returns a type-safe beat provider id derived from the id of the specified identifiable or null if the id of the identifiable is null.
|
static BeatProviderId |
get(String value)
Returns a type-safe beat provider id for the specified value.
|
static BeatProviderId |
nullSafeGet(String value)
Returns a type-safe beat provider id for the specified value or null if the given value is null.
|
BeatProviderId |
withValue(String value)
Returns a new beat provider id with the given value.
|
public static final BeatProviderId UNDEFINED
public BeatProviderId withValue(String value)
public static BeatProviderId get(String value)
value
- the value that represents the beat provider idpublic static BeatProviderId nullSafeGet(String value)
value
- the value that represents the beat provider id or nullpublic static BeatProviderId from(Id id)
id
- the id from which to derive the beat provider idpublic static BeatProviderId from(Identifiable<?> identifiable)
identifiable
- the identifiable whose id is taken to derive the beat provider idCopyright © 2010 - 2018 edorasware ag. All Rights Reserved.