public enum FirestoreDatabaseCollection extends java.lang.Enum<FirestoreDatabaseCollection>
Enum Constant and Description |
---|
CAFE_MENU |
CONFIGURATION |
FLOORS |
NAVIGATION_NODES |
OPENING_HOURS |
ROOMS |
STAFF |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCollectionIdentifier()
Returns the identifier of the collection.
|
java.lang.Class<? extends FirestoreConstructable> |
getDocumentType()
Returns the class of each document in the collection.
|
static FirestoreDatabaseCollection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FirestoreDatabaseCollection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FirestoreDatabaseCollection FLOORS
public static final FirestoreDatabaseCollection ROOMS
public static final FirestoreDatabaseCollection STAFF
public static final FirestoreDatabaseCollection CAFE_MENU
public static final FirestoreDatabaseCollection NAVIGATION_NODES
public static final FirestoreDatabaseCollection OPENING_HOURS
public static final FirestoreDatabaseCollection CONFIGURATION
public static FirestoreDatabaseCollection[] values()
for (FirestoreDatabaseCollection c : FirestoreDatabaseCollection.values()) System.out.println(c);
public static FirestoreDatabaseCollection valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null@NotNull public java.lang.String getCollectionIdentifier()
public java.lang.Class<? extends FirestoreConstructable> getDocumentType()