| Constructor and Description |
|---|
UUIDIdBuilderImpl()
Creates a new id builder.
|
| 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. |
public Id createNew()
IdBuilderThe default implementation will return a uuid-style identifier.
createNew in interface IdBuilderIdBuilder.createNew()public Id fromString(String id) throws IllegalArgumentException
IdBuilderid is in fact a vaild identifier as expected by this id
builder. If this is not the case, an IllegalArgumentException is thrown.fromString in interface IdBuilderIllegalArgumentException - if the identifier is malformedIdBuilder.fromString(String)Copyright © 2009–2021 Opencast Project. All rights reserved.