Person.AdditionalName


public class Person.AdditionalName


Holds type information for additional names for Person.

Summary

Constants

static final int

The additional name is a nickname.

static final int

The additional name is a phonetic name.

static final int

The additional name is unknown.

Public constructors

AdditionalName(int type, @NonNull String value)

Constructs an AdditionalName.

Public methods

boolean
int
@NonNull String
int

Constants

TYPE_NICKNAME

Added in 1.1.0-alpha06
public static final int TYPE_NICKNAME = 1

The additional name is a nickname.

TYPE_PHONETIC_NAME

Added in 1.1.0-alpha06
public static final int TYPE_PHONETIC_NAME = 2

The additional name is a phonetic name.

TYPE_UNKNOWN

Added in 1.1.0-alpha06
public static final int TYPE_UNKNOWN = 0

The additional name is unknown.

Public constructors

AdditionalName

Added in 1.1.0-alpha06
public AdditionalName(int type, @NonNull String value)

Constructs an AdditionalName.

Public methods

equals

public boolean equals(@Nullable Object other)

getType

Added in 1.1.0-alpha06
public int getType()

getValue

Added in 1.1.0-alpha06
public @NonNull String getValue()

hashCode

public int hashCode()