Modifier and Type | Method and Description |
---|---|
Person |
build() |
Person.Builder |
clearAge()
Clears the value of the 'age' field
|
Person.Builder |
clearName()
Clears the value of the 'name' field
|
Person.Builder |
clearSiblingnames()
Clears the value of the 'siblingnames' field
|
Integer |
getAge()
Gets the value of the 'age' field
|
CharSequence |
getName()
Gets the value of the 'name' field
|
List<CharSequence> |
getSiblingnames()
Gets the value of the 'siblingnames' field
|
boolean |
hasAge()
Checks whether the 'age' field has been set
|
boolean |
hasName()
Checks whether the 'name' field has been set
|
boolean |
hasSiblingnames()
Checks whether the 'siblingnames' field has been set
|
Person.Builder |
setAge(int value)
Sets the value of the 'age' field
|
Person.Builder |
setName(CharSequence value)
Sets the value of the 'name' field
|
Person.Builder |
setSiblingnames(List<CharSequence> value)
Sets the value of the 'siblingnames' field
|
public CharSequence getName()
public Person.Builder setName(CharSequence value)
public boolean hasName()
public Person.Builder clearName()
public Integer getAge()
public Person.Builder setAge(int value)
public boolean hasAge()
public Person.Builder clearAge()
public List<CharSequence> getSiblingnames()
public Person.Builder setSiblingnames(List<CharSequence> value)
public boolean hasSiblingnames()
public Person.Builder clearSiblingnames()
Copyright © 2016 The Apache Software Foundation. All rights reserved.