Builder to construct an Indexable
for a person.
For reference, see: //schema.org/Person.
Public Method Summary
PersonBuilder | |
PersonBuilder |
setIsSelf(boolean isSelf)
Sets whether this person is the current user.
|
PersonBuilder |
Inherited Method Summary
final Indexable |
build()
Finalize building the object.
|
T | |
<S extends IndexableBuilder<?>> T | |
T |
put(String key,
Indexable...
values)
Sets one or multiple
Indexable
values for a property, replacing its previous values.
|
T | |
T | |
T | |
final T | |
T | |
final T | |
final <S extends IndexableBuilder<?>> T |
setIsPartOf(S... collections)
Sets the sub-group or collection that this Indexable is part of.
|
final T | |
T | |
final T | |
final T | |
final T |
Public Methods
public PersonBuilder setEmail (String email)
Sets the email address of the person.
Parameters
The email address of the person. |
public PersonBuilder setIsSelf (boolean isSelf)
Sets whether this person is the current user.
Parameters
isSelf | Whether this person is the current user. |
---|
public PersonBuilder setTelephone (String telephone)
Sets the telephone number of the person.
Parameters
telephone | The telephone number of the person. |
---|