@Immutable public class PersonId extends Object
| Constructor and Description |
|---|
PersonId(String id)
Creates a new PersonId that wraps the id passed in
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
String |
toString() |
String |
value()
Returns the value of the identifier as a
String. |
static PersonId |
valueOf(String id)
Convert the
String value to a PersonId object. |
public PersonId(String id)
id - the String id stored internallypublic String value()
String.Stringpublic static PersonId valueOf(String id)
String value to a PersonId object.id - String value to usePersonId with the underlying value of idCopyright © 2024 Atlassian. All rights reserved.