Class Child
java.lang.Object
com.azure.aot.graalvm.samples.cosmos.Child
The child model.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the family name.Returns the first name.Returns the gender.intgetGrade()Returns the grade.Pet[]getPets()Returns the pets array.voidsetFamilyName(String familyName) Sets the family name.voidsetFirstName(String firstName) Sets the first name.voidSets the gender.voidsetGrade(int grade) Sets the grade.voidSets the pets array.
-
Constructor Details
-
Child
public Child()
-
-
Method Details
-
getFamilyName
Returns the family name.- Returns:
- the family name.
-
setFamilyName
Sets the family name.- Parameters:
familyName- the family name.
-
getFirstName
Returns the first name.- Returns:
- the first name.
-
setFirstName
Sets the first name.- Parameters:
firstName- the first name.
-
getGender
Returns the gender.- Returns:
- the gender.
-
setGender
Sets the gender.- Parameters:
gender- the gender.
-
getGrade
public int getGrade()Returns the grade.- Returns:
- the grade.
-
setGrade
public void setGrade(int grade) Sets the grade.- Parameters:
grade- the grade.
-
getPets
Returns the pets array.- Returns:
- the pets array.
-
setPets
Sets the pets array.- Parameters:
pets- the pets array.
-