Class AbstractFactory

    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractFactory​(java.lang.String name, java.lang.String desc, java.lang.Enum<? extends java.lang.Enum<?>> identifier)
      Creates a new AbstractFactory with the supplied values
      AbstractFactory​(java.lang.String name, java.lang.String desc, java.lang.String identifier)
      Creates a new AbstractFactory with the supplied values
    • Constructor Detail

      • AbstractFactory

        public AbstractFactory​(java.lang.String name,
                               java.lang.String desc,
                               java.lang.String identifier)
        Creates a new AbstractFactory with the supplied values
        Parameters:
        name - the factory name
        desc - the factory description
        identifier - the factory identifier
      • AbstractFactory

        public AbstractFactory​(java.lang.String name,
                               java.lang.String desc,
                               java.lang.Enum<? extends java.lang.Enum<?>> identifier)
        Creates a new AbstractFactory with the supplied values
        Parameters:
        name - the factory name
        desc - the factory description
        identifier - the factory identifier
    • Method Detail

      • getDescription

        public java.lang.String getDescription()
        Description copied from interface: Factory
        Gets the description for this Factory
        Specified by:
        getDescription in interface Factory
        Returns:
        returns the description for this Factory
      • getDisplayName

        public java.lang.String getDisplayName()
        Description copied from interface: Factory
        Gets the display name for this Factory
        Specified by:
        getDisplayName in interface Factory
        Returns:
        returns the display name for this Factory
      • getIdentifier

        public java.lang.String getIdentifier()
        Description copied from interface: Factory
        Gets the identifier for this Factory
        Specified by:
        getIdentifier in interface Factory
        Returns:
        returns the identifier for this Factory
      • compareTo

        public int compareTo​(Factory o)
        Specified by:
        compareTo in interface java.lang.Comparable<Factory>
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object