@Generated(value={"Immutables.generator","_UserId"}) public final class UserId extends AbstractUserId
_UserId.
Use the builder to create immutable instances:
UserId.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
UserId.Builder
Builds instances of type
UserId. |
| Modifier and Type | Method and Description |
|---|---|
static UserId.Builder |
builder()
Creates a builder for
UserId. |
boolean |
equals(Object another)
This instance is equal to all instances of
UserId that have equal attribute values. |
String |
getId()
The id
|
String |
getOrigin()
The identity provider that authenticated this user
|
String |
getUserName()
The user name
|
int |
hashCode()
Computes a hash code from attributes:
id, origin, userName. |
String |
toString()
Prints the immutable value
UserId with attribute values. |
public String getId()
getId in class AbstractUserIdpublic String getOrigin()
getOrigin in class AbstractUserIdpublic String getUserName()
getUserName in class AbstractUserIdpublic boolean equals(Object another)
UserId that have equal attribute values.public int hashCode()
id, origin, userName.public String toString()
UserId with attribute values.public static UserId.Builder builder()
UserId.Copyright © 2017 Pivotal Software, Inc.. All rights reserved.