Enum Domain

    • Enum Constant Detail

      • ARCHITECTURE_MANAGEMENT

        public static final Domain ARCHITECTURE_MANAGEMENT
        The Architecture Management domain - http://open-services.net/ns/am#
      • CHANGE_MANAGEMENT

        public static final Domain CHANGE_MANAGEMENT
        The Change Management domain - http://open-services.net/ns/cm#
      • CONFIGURATION_MANAGEMENT

        public static final Domain CONFIGURATION_MANAGEMENT
        The Configuration Management domain - http://open-services.net/ns/config#
      • QUALITY_MANAGEMENT

        public static final Domain QUALITY_MANAGEMENT
        The Quality Management domain - http://open-services.net/ns/qm#
      • REQUIREMENT_MANAGEMENT

        public static final Domain REQUIREMENT_MANAGEMENT
        The Requirement Management domain - http://open-services.net/ns/rm#
    • Method Detail

      • values

        public static Domain[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Domain c : Domain.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Domain valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • supportedValues

        public static Collection<Domain> supportedValues()
        Returns the domains that are supported, the ones defining a type of artifact that the local application enables managing, as determined by ProcessScope.
        Returns:
        the supported resource types.
        See Also:
        ProcessScope
      • valueOf

        public static Domain valueOf​(URI uri)
        Returns the domain matching the given URI.
        Parameters:
        uri - the URI of a domain.
        Returns:
        the corresponding domain.
        Throws:
        IllegalArgumentException - if the URI does not match any domain.
      • getURI

        public URI getURI()
        Return the URI of the domain, e.g. http://open-services.net/ns/cm#
        Returns:
        the domain URI.
      • getTitle

        public String getTitle​(List<Locale> locales)
        Returns the title of the domain, e.g. "Change Management".
        Parameters:
        locales - the ordered languages of preference for the title, or an empty list to default to English.
        Returns:
        the domain title.