public List<AstronomicalObject> getElementsAsList() {
        List<AstronomicalObject> objectList = new ArrayList<AstronomicalObject>();
        for (AstronomicalObject element : elements) {
            objectList.add(element);
        }
        return objectList;
    }