Class EnumDetail

java.lang.Object
org.jibx.schema.generator.EnumDetail

public class EnumDetail extends 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 Details

    • m_custom

      private final ClassCustom m_custom
      Enumeration class customization information.
    • m_isGlobal

      private boolean m_isGlobal
      Global type definition flag.
  • Constructor Details

    • EnumDetail

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

    • 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