public interface IdBuilder
| Modifier and Type | Method and Description |
|---|---|
Id |
createNew()
Creates a new identifier.
|
Id |
fromString(String id)
This method can be used to determine if
id is in fact a vaild identifier as expected by this id
builder. |
Id createNew()
The default implementation will return a uuid-style identifier.
Id fromString(String id) throws IllegalArgumentException
id is in fact a vaild identifier as expected by this id
builder. If this is not the case, an IllegalArgumentException is thrown.IllegalArgumentException - if the identifier is malformedCopyright © 2009–2021 Opencast Project. All rights reserved.