Enum Class GeneratorReference

java.lang.Object
java.lang.Enum<GeneratorReference>
de.rpgframework.random.GeneratorReference
All Implemented Interfaces:
de.rpgframework.genericrpg.modification.ModifiedObjectType, Serializable, Comparable<GeneratorReference>, java.lang.constant.Constable

public enum GeneratorReference extends Enum<GeneratorReference> implements de.rpgframework.genericrpg.modification.ModifiedObjectType
  • Enum Constant Details

  • Method Details

    • values

      public static GeneratorReference[] 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 GeneratorReference 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
    • resolve

      public <T> T resolve(String key)
      Specified by:
      resolve in interface de.rpgframework.genericrpg.modification.ModifiedObjectType
    • resolveAsDataItem

      public <T extends de.rpgframework.genericrpg.data.DataItem> T resolveAsDataItem(String key)
      Specified by:
      resolveAsDataItem in interface de.rpgframework.genericrpg.modification.ModifiedObjectType
    • resolveAny

      public <T> T[] resolveAny()
      Specified by:
      resolveAny in interface de.rpgframework.genericrpg.modification.ModifiedObjectType
    • resolveVariable

      public <T> T[] resolveVariable(String varName)
      Specified by:
      resolveVariable in interface de.rpgframework.genericrpg.modification.ModifiedObjectType
    • instantiateModification

      public de.rpgframework.genericrpg.modification.Modification instantiateModification(de.rpgframework.genericrpg.modification.Modification tmp, de.rpgframework.genericrpg.data.ComplexDataItemValue<?> complexDataItemValue, int multiplier, de.rpgframework.genericrpg.data.CommonCharacter<?,?,?,?> model)
      Specified by:
      instantiateModification in interface de.rpgframework.genericrpg.modification.ModifiedObjectType