Enum entityFactory.FACTORY

java.lang.Object
java.lang.Enum<entityFactory.FACTORY>
name.moore.kevin.ze.entities.entityFactory.FACTORY
All Implemented Interfaces:
Serializable, Comparable<entityFactory.FACTORY>, java.lang.constant.Constable
Enclosing class:
entityFactory

public static enum entityFactory.FACTORY extends Enum<entityFactory.FACTORY>
Identify which type of factories we want.
  • Enum Constant Details

    • RUNTIME

      public static final entityFactory.FACTORY RUNTIME
      Create the default runtime factories that build entities based on provided runtime information.
    • TEST1

      public static final entityFactory.FACTORY TEST1
      Factories that create entities with fixed properties for testing.
    • TEST2

      public static final entityFactory.FACTORY TEST2
      Factories that create entities with fixed properties for testing. The properties are 'better' than the TEST1 entities.
  • Constructor Details

    • FACTORY

      private FACTORY()
  • Method Details

    • values

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

      public static entityFactory.FACTORY valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null