Class Family

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

public class Family extends Object
The family model.
  • Constructor Details

    • Family

      public Family()
  • Method Details

    • getId

      public String getId()
      Returns the family id.
      Returns:
      the family id.
    • setId

      public void setId(String id)
      Sets the family id.
      Parameters:
      id - the family id.
    • getLastName

      public String getLastName()
      Returns the family last name.
      Returns:
      the family last name.
    • setLastName

      public void setLastName(String lastName)
      Sets the family last name.
      Parameters:
      lastName - the family last name.
    • getDistrict

      public String getDistrict()
      Returns the district.
      Returns:
      the district.
    • setDistrict

      public void setDistrict(String district)
      Sets the district.
      Parameters:
      district - the district.
    • getParents

      public Parent[] getParents()
      Returns the parents array.
      Returns:
      the parents array.
    • setParents

      public void setParents(Parent[] parents)
      Sets the parents array.
      Parameters:
      parents - the parents array.
    • getChildren

      public Child[] getChildren()
      Returns the children array.
      Returns:
      the children array.
    • setChildren

      public void setChildren(Child[] children)
      Sets the children array.
      Parameters:
      children - the children array.
    • getAddress

      public Address getAddress()
      Returns the address.
      Returns:
      the address.
    • setAddress

      public void setAddress(Address address)
      Sets the address.
      Parameters:
      address - the address.
    • isRegistered

      public boolean isRegistered()
      Returns true if the family is registered.
      Returns:
      true if the family is registered.
    • setRegistered

      public void setRegistered(boolean isRegistered)
      Sets the registration state of the family.
      Parameters:
      isRegistered - the registration state of the family