public class FileId
extends com.edorasware.commons.core.id.BaseId
Modifier and Type | Field and Description |
---|---|
static FileId |
UNDEFINED
A type-safe and null-safe undefined file id.
|
Modifier and Type | Method and Description |
---|---|
static FileId |
get(String value)
Returns a type-safe file id for the specified value.
|
static FileId |
nullSafeGet(String value)
Returns a type-safe file id for the specified value or null if the given value is null.
|
FileId |
withValue(String value)
Returns a new file id with the given value.
|
public static final FileId UNDEFINED
public FileId withValue(String value)
withValue
in interface com.edorasware.commons.core.id.Id
withValue
in class com.edorasware.commons.core.id.BaseId
value
- the value of the new file idpublic static FileId get(String value)
value
- the value that represents the file idCopyright © 2010 - 2015 edorasware ag. All Rights Reserved.