public final class AnyWorkObjectDefinitionId extends WorkObjectDefinitionId
Modifier and Type | Field and Description |
---|---|
static AnyWorkObjectDefinitionId |
UNDEFINED
A type-safe and null-safe undefined work object definition id.
|
UNDEFINED_VALUE
Modifier and Type | Method and Description |
---|---|
static AnyWorkObjectDefinitionId |
from(Id id)
Returns a type-safe work object definition id for the specified id or null if the given id is null.
|
static AnyWorkObjectDefinitionId |
from(Identifiable<?> identifiable)
Returns a type-safe work object definition id derived from the id of the specified identifiable or null if the id of the identifiable is null.
|
static AnyWorkObjectDefinitionId |
get(String value)
Returns a type-safe work object definition id for the specified value.
|
static AnyWorkObjectDefinitionId |
nullSafeGet(String value)
Returns a type-safe work object definition id for the specified value or null if the given value is null.
|
AnyWorkObjectDefinitionId |
withValue(String value)
Returns a new work object definition id with the given value.
|
equals, getValue, hashCode, isUndefined, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getValue, isUndefined
public static final AnyWorkObjectDefinitionId UNDEFINED
public AnyWorkObjectDefinitionId withValue(String value)
withValue
in interface Id
withValue
in class WorkObjectDefinitionId
value
- the value of the new work object definition idpublic static AnyWorkObjectDefinitionId get(String value)
value
- the value that represents the work object definition idpublic static AnyWorkObjectDefinitionId nullSafeGet(String value)
value
- the value that represents the work object definition id or nullpublic static AnyWorkObjectDefinitionId from(Id id)
id
- the id from which to derive the work object definition idpublic static AnyWorkObjectDefinitionId from(Identifiable<?> identifiable)
identifiable
- the identifiable whose id is taken to derive the work object definition idCopyright © 2010 - 2018 edorasware ag. All Rights Reserved.