Enum Domain
- java.lang.Object
-
- java.lang.Enum<Domain>
-
- com.sodius.oslc.core.process.model.Domain
-
- All Implemented Interfaces:
Serializable
,Comparable<Domain>
public enum Domain extends Enum<Domain>
Describes an OSLC domain.- Since:
- 3.5.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARCHITECTURE_MANAGEMENT
The Architecture Management domain -http://open-services.net/ns/am#
CHANGE_MANAGEMENT
The Change Management domain -http://open-services.net/ns/cm#
CONFIGURATION_MANAGEMENT
The Configuration Management domain -http://open-services.net/ns/config#
QUALITY_MANAGEMENT
The Quality Management domain -http://open-services.net/ns/qm#
REQUIREMENT_MANAGEMENT
The Requirement Management domain -http://open-services.net/ns/rm#
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getTitle(List<Locale> locales)
Returns the title of the domain, e.g.URI
getURI()
Return the URI of the domain, e.g.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 byProcessScope
.static Domain
valueOf(String name)
Returns the enum constant of this type with the specified name.static Domain
valueOf(URI uri)
Returns the domain matching the given URI.static Domain[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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 nameNullPointerException
- 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 byProcessScope
.- 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.
-
-