Area
Creates a new Area instance.
Author
Arnau Mora
Since
20210416
Parameters
The id of the object
The Area's display name
The update date of the Area
The path of the Area's image on the server.
The path of the Area's KMZ file on the server. May be null if not applicable or non-existing.
The url for the Area on the website
Constructors
Types
Functions
Returns a map used to display the stored data to the user. Keys should be the parameter name, and the value the value to display. Should be overridden by target class.
Gets the children element at index. May throw IndexOutOfBoundsException if children have not been loaded.
Finds an DataClass inside a list with an specific id. If it's not found, null is returned.
Returns the children of the DataClass.
Checks if the DataClass has a stored downloadUrl.
Checks if the data class has children. Note: won't load children, will just use the already loaded ones.
Checks if the data class doesn't have any children
Properties
Tells whether or not the DataClass has parent elements, or if it's root. Used in functions such as getParent to be quicker.