Enum-Klasse SetType

java.lang.Object
java.lang.Enum<SetType>
net.dzultra.jsa.sets.SetType
Alle implementierten Schnittstellen:
Serializable, Comparable<SetType>, Constable

public enum SetType extends Enum<SetType>
Represents the different types of Magic: The Gathering sets as defined by the Scryfall API.

Each enum constant maps to a raw string value used in API responses and can be used to categorize MTGSet instances by their release or functional type.

  • Verschachtelte Klassen - Übersicht

    Von Klasse geerbte verschachtelte Klassen/Schnittstellen java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum-Konstanten - Übersicht

    Enum-Konstanten
    Enum-Konstante
    Beschreibung
    Arena-exclusive Alchemy digital sets.
    Archenemy multiplayer villain deck sets.
    Arsenal-style supplementary product sets.
    Box promotional sets or sealed product tie-ins.
    Commander-focused supplemental sets.
    Core sets in the Magic: The Gathering product line.
    Draft Innovation sets designed for limited play formats.
    Duel Deck products featuring prebuilt opposing decks.
    Eternal format-focused sets, legal in non-rotating formats.
    Expansion sets that extend existing gameplay mechanics and card pools.
    Sets from the Vault series of curated reprints.
    Un-set or joke/fun-themed sets.
    Special showcase sets featuring premium or collectible cards.
    Masters sets featuring reprints of powerful cards.
    Memorabilia or non-gameplay collectible sets.
    Mini-game or supplemental game mode sets.
    Planechase multiplayer variant sets.
    Premium deck products such as Commander preconstructed decks.
    Promotional distribution sets (e.g., convention promos).
    Spellbook promotional or themed reprint sets.
    Starter-level sets designed for new players.
    Token-only sets used for gameplay representation.
    Treasure Chest digital-only reward sets.
    Vanguard variant format sets.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    static SetType
    Converts a raw API string into a corresponding SetType.
    Returns the raw string value used in API responses.
    static SetType
    Gibt die Enum-Konstante dieser Klasse mit dem angegebenen Namen zurück.
    static SetType[]
    Gibt ein Array mit den Konstanten dieser Enum-Klasse in der Reihenfolge ihrer Deklaration zurück.

    Von Klasse geerbte Methoden java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum-Konstanten - Details

    • CORE

      public static final SetType CORE
      Core sets in the Magic: The Gathering product line.
    • EXPANSION

      public static final SetType EXPANSION
      Expansion sets that extend existing gameplay mechanics and card pools.
    • MASTERS

      public static final SetType MASTERS
      Masters sets featuring reprints of powerful cards.
    • ETERNAL

      public static final SetType ETERNAL
      Eternal format-focused sets, legal in non-rotating formats.
    • ALCHEMY

      public static final SetType ALCHEMY
      Arena-exclusive Alchemy digital sets.
    • MASTERPIECE

      public static final SetType MASTERPIECE
      Special showcase sets featuring premium or collectible cards.
    • ARSENAL

      public static final SetType ARSENAL
      Arsenal-style supplementary product sets.
    • FROM_THE_VAULT

      public static final SetType FROM_THE_VAULT
      Sets from the Vault series of curated reprints.
    • SPELLBOOK

      public static final SetType SPELLBOOK
      Spellbook promotional or themed reprint sets.
    • PREMIUM_DECK

      public static final SetType PREMIUM_DECK
      Premium deck products such as Commander preconstructed decks.
    • DUEL_DECK

      public static final SetType DUEL_DECK
      Duel Deck products featuring prebuilt opposing decks.
    • DRAFT_INNOVATION

      public static final SetType DRAFT_INNOVATION
      Draft Innovation sets designed for limited play formats.
    • TREASURE_CHEST

      public static final SetType TREASURE_CHEST
      Treasure Chest digital-only reward sets.
    • COMMANDER

      public static final SetType COMMANDER
      Commander-focused supplemental sets.
    • PLANECHASE

      public static final SetType PLANECHASE
      Planechase multiplayer variant sets.
    • ARCHENEMY

      public static final SetType ARCHENEMY
      Archenemy multiplayer villain deck sets.
    • VANGUARD

      public static final SetType VANGUARD
      Vanguard variant format sets.
    • FUNNY

      public static final SetType FUNNY
      Un-set or joke/fun-themed sets.
    • STARTER

      public static final SetType STARTER
      Starter-level sets designed for new players.
    • BOX

      public static final SetType BOX
      Box promotional sets or sealed product tie-ins.
    • PROMO

      public static final SetType PROMO
      Promotional distribution sets (e.g., convention promos).
    • TOKEN

      public static final SetType TOKEN
      Token-only sets used for gameplay representation.
    • MEMORABILIA

      public static final SetType MEMORABILIA
      Memorabilia or non-gameplay collectible sets.
    • MINIGAME

      public static final SetType MINIGAME
      Mini-game or supplemental game mode sets.
  • Methodendetails

    • values

      public static SetType[] values()
      Gibt ein Array mit den Konstanten dieser Enum-Klasse in der Reihenfolge ihrer Deklaration zurück.
      Gibt zurück:
      ein Array mit den Konstanten dieser Enum-Klasse in der Reihenfolge ihrer Deklaration
    • valueOf

      public static SetType valueOf(String name)
      Gibt die Enum-Konstante dieser Klasse mit dem angegebenen Namen zurück. Die Zeichenfolge muss exakt mit einer ID übereinstimmen, mit der eine Enum-Konstante in dieser Klasse deklariert wird. (Zusätzliche Leerzeichen sind nicht zulässig.)
      Parameter:
      name - Name der zurückzugebenden Enumerationskonstante.
      Gibt zurück:
      Enumerationskonstante mit dem angegebenen Namen
      Löst aus:
      IllegalArgumentException - wenn diese Enum-Klasse keine Konstante mit dem angegebenen Namen enthält
      NullPointerException - wenn das Argument nicht angegeben wird
    • getValue

      public String getValue()
      Returns the raw string value used in API responses.
      Gibt zurück:
      the API string representation of this set type
    • fromString

      public static SetType fromString(String name)
      Converts a raw API string into a corresponding SetType.
      Parameter:
      name - the raw set type string
      Gibt zurück:
      the matching SetType, or null if no match is found
      Löst aus:
      IllegalArgumentException - when the input string does not correspond to any known set type