Enum Class Cosm

java.lang.Object
java.lang.Enum<Cosm>
de.kaiserpfalzedv.rpg.torg.model.core.Cosm
All Implemented Interfaces:
MapperEnum<Cosm>, Serializable, Comparable<Cosm>, Constable

public enum Cosm extends Enum<Cosm> implements MapperEnum<Cosm>
Realm -- The realms of the possibility wars with their axioms.
Since:
1.2.0 2021-03-26
Author:
klenkes74 <rlichti@kaiserpfalz-edv.de>
  • Enum Constant Details

    • AYSLE

      public static final Cosm AYSLE
    • CORE_EARTH

      public static final Cosm CORE_EARTH
    • CYBERPAPACY

      public static final Cosm CYBERPAPACY
    • LIVING_LAND

      public static final Cosm LIVING_LAND
    • NILE_EMPIRE

      public static final Cosm NILE_EMPIRE
    • ORRORSH

      public static final Cosm ORRORSH
    • PAN_PACIFICA

      public static final Cosm PAN_PACIFICA
    • THARKOLD

      public static final Cosm THARKOLD
    • AKASHA

      public static final Cosm AKASHA
    • UKHAAN

      public static final Cosm UKHAAN
    • AYSLE_THARKOLD

      public static final Cosm AYSLE_THARKOLD
    • ELFAME

      public static final Cosm ELFAME
    • FAIRY_TALE_AYSLE

      public static final Cosm FAIRY_TALE_AYSLE
    • MECHOPOTAMIA

      public static final Cosm MECHOPOTAMIA
    • THE_DEAD_WORLD

      public static final Cosm THE_DEAD_WORLD
    • TOMBSPACE

      public static final Cosm TOMBSPACE
    • WALDECK

      public static final Cosm WALDECK
  • Method Details

    • values

      public static Cosm[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Cosm valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • axioms

      public int[] axioms()
    • getMagic

      public int getMagic()
    • getSocial

      public int getSocial()
    • getSpirit

      public int getSpirit()
    • getTech

      public int getTech()
    • mapFoundry

      public static Optional<Cosm> mapFoundry(String name)
    • mapFromFoundry

      public Optional<Cosm> mapFromFoundry(@NotNull @NotNull String name)
      Specified by:
      mapFromFoundry in interface MapperEnum<Cosm>
    • mapFromRoll20

      public Optional<Cosm> mapFromRoll20(@NotNull @NotNull String name)
      Specified by:
      mapFromRoll20 in interface MapperEnum<Cosm>
    • allCosms

      public Set<Cosm> allCosms()
    • getFoundry

      public String getFoundry()
      Specified by:
      getFoundry in interface MapperEnum<Cosm>
    • getRoll20

      public String getRoll20()
      Specified by:
      getRoll20 in interface MapperEnum<Cosm>
    • getPublication

      public de.kaiserpfalzedv.rpg.core.Books.Publication getPublication()
    • getType

      public Cosm.Type getType()
    • getAxioms

      public HashMap<Axiom.AxiomName,Axiom> getAxioms()
    • getLaws

      public String[] getLaws()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Cosm>