@Entity
public class Collection
extends java.lang.Object
Constructor and Description |
---|
Collection()
general constructor and intialization
|
Modifier and Type | Method and Description |
---|---|
void |
addCollection(java.lang.String collection)
adds another place to the collection of places
|
java.lang.String |
getCollections()
returns the List of places
|
java.util.List<java.lang.String> |
getCollectionsList()
obtain a list of all defined collections
|
java.lang.String |
getMap()
returns the file name of the map file
|
java.lang.String |
getName()
returns the name
|
Collection |
setCollections(java.lang.String collections)
sets the collection of places
|
Collection |
setMap(java.lang.String map)
sets the file name of the map file
|
Collection |
setName(java.lang.String name)
returns the name of the collection
|
public java.lang.String getName()
public java.lang.String getMap()
public java.lang.String getCollections()
public Collection setName(java.lang.String name)
name
- the name to setcollection
objectpublic Collection setMap(java.lang.String map)
map
- the map to setcollection
objectpublic Collection setCollections(java.lang.String collections)
collections
- the collections to setcollection
objectpublic void addCollection(java.lang.String collection)
collection
- the collections to setpublic java.util.List<java.lang.String> getCollectionsList()