Class ChoiceValues

    • Constructor Detail

      • ChoiceValues

        public ChoiceValues()
    • Method Detail

      • getChoiceValues

        public abstract Map getChoiceValues()
        Abstract method that must be implemented by a class extending this class, and should return the choice values and their corresponding I18N key, for the attribute.
        Returns:
        choice values for the attribute as a java.util.Map. Key being the choice and the value being the I18N key
      • getChoiceValues

        public Map getChoiceValues​(Map envParams)
        Returns the choice values for attribute for the given environment parameters. The default implementation calls the interface getChoiceValues without the parameter. A class extending this class can override this method to return the choice values and their corresponding I18N key, for the attribute.
        Parameters:
        envParams - environment parameters
        Returns:
        choice values for the attribute as a java.util.Map. Key being the choice and the value being the I18N key
      • getAttributeName

        public final String getAttributeName()
        Returns the name of the attribute for which the choice values will be returned.
        Returns:
        the name of attribute for which the choice values are returned
      • getConfiguredKeyValues

        public final Map getConfiguredKeyValues()
        Returns the configured key-value pairs for the class in the service's configuration file
        Returns:
        key-value pairs configured for this class in the service schema XML file
      • getAttributeSchemaNode

        public final Node getAttributeSchemaNode()
        Returns the XML AttributeSchema node associated with this attribute
        Returns:
        XML node of AttributeSchema