Class EnumDetail


  • public class EnumDetail
    extends java.lang.Object
    Holder for details about an enumeration type to be included in the schema definition. An instance of this class is created for each enumeration type found. The actual generation process may be either in-line or as a separate simpleType, depending on whether the same enumeration is used more than once.
    Author:
    Dennis M. Sosnoski
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private ClassCustom m_custom
      Enumeration class customization information.
      private boolean m_isGlobal
      Global type definition flag.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ClassCustom getCustom()
      Get class customization information.
      boolean isGlobal()
      Check if global type definition.
      void setGlobal​(boolean global)
      Set global type definition.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • m_custom

        private final ClassCustom m_custom
        Enumeration class customization information.
      • m_isGlobal

        private boolean m_isGlobal
        Global type definition flag.
    • Constructor Detail

      • EnumDetail

        public EnumDetail​(ClassCustom cust)
        Constructor.
        Parameters:
        cust -
    • Method Detail

      • isGlobal

        public boolean isGlobal()
        Check if global type definition.
        Returns:
        flag
      • setGlobal

        public void setGlobal​(boolean global)
        Set global type definition.
        Parameters:
        global -
      • getCustom

        public ClassCustom getCustom()
        Get class customization information.
        Returns:
        custom