Class Parent

java.lang.Object
com.azure.aot.graalvm.samples.cosmos.Parent

public class Parent extends Object
The parent model.
  • Constructor Details

    • Parent

      public Parent()
      The empty constructor to create a parent instance.
    • Parent

      public Parent(String firstName)
      The constructor to create a parent instance with a first name.
      Parameters:
      firstName - the first name of the parent.
  • Method Details

    • getFamilyName

      public String getFamilyName()
      Returns the family name.
      Returns:
      the family name.
    • setFamilyName

      public void setFamilyName(String familyName)
      Sets the family name.
      Parameters:
      familyName - the family name.
    • getFirstName

      public String getFirstName()
      Returns the first name.
      Returns:
      the first name.
    • setFirstName

      public void setFirstName(String firstName)
      Sets the first name.
      Parameters:
      firstName - the first name.