@Immutable public final class PersonId extends Object
http://www.opensocial.org/Technical-Resources/opensocial-spec-v09/OpenSocial-Specification.html#rfc.section.4.1.1.1
)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
.String
public static PersonId valueOf(String id)
String
value to a PersonId
object.id
- String
value to usePersonId
with the underlying value of id
Copyright © 2018 Atlassian. All rights reserved.