Class EnumerationModel

    • Constructor Detail

      • EnumerationModel

        public EnumerationModel​(java.util.Enumeration enumeration,
                                BeansWrapper wrapper)
        Creates a new model that wraps the specified enumeration object.
        Parameters:
        enumeration - the enumeration object to wrap into a model.
        wrapper - the BeansWrapper associated with this model. Every model has to have an associated BeansWrapper instance. The model gains many attributes from its wrapper, including the caching behavior, method exposure level, method-over-item shadowing policy etc.