Class Parent
java.lang.Object
com.azure.aot.graalvm.samples.cosmos.Parent
The parent model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the family name.Returns the first name.void
setFamilyName
(String familyName) Sets the family name.void
setFirstName
(String firstName) Sets the first name.
-
Constructor Details
-
Parent
public Parent()The empty constructor to create a parent instance. -
Parent
The constructor to create a parent instance with a first name.- Parameters:
firstName
- the first name of the parent.
-
-
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.
-