public class RandomID extends Object implements Identifiable
| Constructor and Description |
|---|
RandomID() |
| Modifier and Type | Method and Description |
|---|---|
UniqueIdentifier |
getID()
get the Identifier
|
void |
setID(UniqueIdentifier id)
Set the Identifier making it non-random
|
public void setID(UniqueIdentifier id)
setID in interface Identifiablepublic UniqueIdentifier getID()
This will be a random UUID unless explicitly set
UUID This is a technical identifier that is used for system purposes such as matching. If a suitable internal key is not available, a UUID MAY be used.getID in interface IdentifiableCopyright © 2020. All rights reserved.