Interface Modes

    • Method Detail

      • get

        PredefinedMode get​(PredefinedModeType modeType)
        get predefined mode if it is registered
        Parameters:
        modeType - to collect
        Returns:
        predefined mode when available, null otherwise
      • containsPredefinedMode

        boolean containsPredefinedMode​(PredefinedModeType modeType)
        verify if predefined mode is registered
        Parameters:
        modeType - to verify
        Returns:
        true when available, false otherwise
      • getByXmlId

        Mode getByXmlId​(String xmlId)
        Retrieve a Mode by its XML Id
        Parameters:
        xmlId - the XML Id of the specified mode
        Returns:
        the retrieved mode, or null if no mode was found
      • getFactory

        ModeFactory getFactory()
        Collect the mode factory to use for creating instances
        Specified by:
        getFactory in interface ManagedIdEntities<Mode>
        Returns:
        modeFactory to create modes for this container