Enum Class AssociationType
- All Implemented Interfaces:
Serializable,Comparable<AssociationType>,java.lang.constant.Constable
Describes a type of
ProjectAreaAssociation.
An association type gives access to a set of LinkTypes between 2 projects.
Here is a link listing existing OSLC association types:
- Jazz wiki: https://jazz.net/wiki/bin/view/Main/CALM2010LinkTypes
The set of supported association types can be restricted to a subset using a ProcessScope instance,
that all methods returning association types in this class will use.
- Since:
- 1.7.0
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic Collection<AssociationType>forDomains(URI localDomain, URI friendDomain) Returns the supported association types available between the 2 given domains.static AssociationTypeforIdentifier(String identifier) Returns the association type for the given identifier.static Collection<AssociationType>Returns the association types that are supported, as determined byProcessScope.static AssociationTypeReturns the enum constant of this class with the specified name.static AssociationType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TESTED_BY
-
TESTS
-
TRACKS
-
TRACKED_BY
-
VALIDATES
-
VALIDATED_BY
-
VALIDATES_ARCHITECTURE_ELEMENTS
-
VALIDATED_BY_ARCHITECTURE_ELEMENTS
-
IMPLEMENTS
-
IMPLEMENTED_BY
-
TRACKS_RM
-
TRACKED_BY_CM
-
RELATED_TO
-
RELATED_TO_AM
-
ARCHITECTED_BY
-
ARCHITECTS
-
ELABORATES
-
ELABORATED_BY
-
RELATED_TO_RM
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
supportedValues
Returns the association types that are supported, as determined byProcessScope.- Returns:
- the supported association types.
- Since:
- 1.9.0
- See Also:
-
forDomains
Returns the supported association types available between the 2 given domains.- Parameters:
localDomain- the domain of the local projectfriendDomain- the domain of the friend's project- Returns:
- the supported association types
-
forIdentifier
Returns the association type for the given identifier.- Parameters:
identifier- the association type identifier- Returns:
- the association type
- Throws:
IllegalArgumentException- if the given identifier is not a supported association type
-
getIdentifier
-
getTitle
-
getDirection
-
getSourceDomain
-
getTargetDomain
-
getBackAssociation
-