Class Family
java.lang.Object
com.azure.aot.graalvm.samples.cosmos.Family
The family model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the address.Child[]
Returns the children array.Returns the district.getId()
Returns the family id.Returns the family last name.Parent[]
Returns the parents array.boolean
Returns true if the family is registered.void
setAddress
(Address address) Sets the address.void
setChildren
(Child[] children) Sets the children array.void
setDistrict
(String district) Sets the district.void
Sets the family id.void
setLastName
(String lastName) Sets the family last name.void
setParents
(Parent[] parents) Sets the parents array.void
setRegistered
(boolean isRegistered) Sets the registration state of the family.
-
Constructor Details
-
Family
public Family()
-
-
Method Details
-
getId
Returns the family id.- Returns:
- the family id.
-
setId
Sets the family id.- Parameters:
id
- the family id.
-
getLastName
Returns the family last name.- Returns:
- the family last name.
-
setLastName
Sets the family last name.- Parameters:
lastName
- the family last name.
-
getDistrict
Returns the district.- Returns:
- the district.
-
setDistrict
Sets the district.- Parameters:
district
- the district.
-
getParents
Returns the parents array.- Returns:
- the parents array.
-
setParents
Sets the parents array.- Parameters:
parents
- the parents array.
-
getChildren
Returns the children array.- Returns:
- the children array.
-
setChildren
Sets the children array.- Parameters:
children
- the children array.
-
getAddress
Returns the address.- Returns:
- the address.
-
setAddress
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
-