Class Child
java.lang.Object
com.azure.aot.graalvm.samples.cosmos.Child
The child model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the family name.Returns the first name.Returns the gender.int
getGrade()
Returns the grade.Pet[]
getPets()
Returns the pets array.void
setFamilyName
(String familyName) Sets the family name.void
setFirstName
(String firstName) Sets the first name.void
Sets the gender.void
setGrade
(int grade) Sets the grade.void
Sets 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.
-