public enum MtgObjectType extends java.lang.Enum<MtgObjectType> implements IZITravelEnumeration
| Enum Constant and Description |
|---|
City
The city.
|
Collection
Museum sets of exhibits.
|
Country
The country.
|
Exhibit
Exhibit inside a museum.
|
Museum
Museum.
|
Publisher
The publisher.
|
StoryIntroduction
Introduction story (typical for museum).
|
StoryNavigation
Navigation story.
|
Tour
Everything representing sequential or random list of MtgObjects to visit:
exhibition inside a museum, city tour, a list of stories about a country.
|
TouristAttraction
Mostly outdoor tourist attraction.
|
| Modifier and Type | Method and Description |
|---|---|
static MtgObjectType |
fromValue(java.lang.String value) |
java.lang.String |
toString() |
static MtgObjectType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MtgObjectType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MtgObjectType Museum
public static final MtgObjectType Exhibit
public static final MtgObjectType StoryIntroduction
public static final MtgObjectType StoryNavigation
public static final MtgObjectType Tour
public static final MtgObjectType TouristAttraction
public static final MtgObjectType Collection
public static final MtgObjectType Publisher
public static final MtgObjectType Country
public static final MtgObjectType City
public static MtgObjectType[] values()
for (MtgObjectType c : MtgObjectType.values()) System.out.println(c);
public static MtgObjectType 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 nullpublic java.lang.String toString()
toString in class java.lang.Enum<MtgObjectType>public static MtgObjectType fromValue(java.lang.String value)