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