Package com.nomagic.updm.utils
Enum UPDMProfile.RoleKindEnum
- java.lang.Object
-
- java.lang.Enum<UPDMProfile.RoleKindEnum>
-
- com.nomagic.updm.utils.UPDMProfile.RoleKindEnum
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<UPDMProfile.RoleKindEnum>
- Enclosing class:
- UPDMProfile
public static enum UPDMProfile.RoleKindEnum extends java.lang.Enum<UPDMProfile.RoleKindEnum>
Enumeration of the roles that a ResourceRole may play in the context of a CapabilityConfiguration or System, used to support the RoleKind tag of a ResourceRole.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPONENT
(MODAF SoftwareComponent) Asserts that Software is a component of another Software.EQUIPMENT
UPDM: Equipment is a physical resource that is used to accomplish a task or function in a system or an environment.HOSTED_SOFTWARE
Asserts that Software is hosted on a ResourceArtifact (which means the artifact is some kind of computer system).HUMAN_RESOURCE
The role of an OrganizationalResource in a PhysicalArchitecture.OTHER
Other MODAF Role kind that is not on the enumerated list.PART
Usage of a ResourceArtifact as a part of another ResourceArtifact.PLATFORM
Usage of a ResourceArtifact as a platform (e.g.POST_ROLE
(MODAF Post) Asserts that a Post exists in an OrganizationType of the type specified by the related PostType.RESPONSIBILITY_ROLE
(MODAF Role) A ResourceUsage that asserts a given PostType has a RoleType.SERVICE_ACCESS_ROLE
A ResourceUsage that asserts a given ServiceAccess is used in the context of a particular service usage.SUB_ORGANIZATION
Asserts that one OrganizationType is typically the parent of another - e.g.SUB_SYSTEM_PART
UPDM: Indicates that a (sub)system is part of another system.SYSTEM
The usage of a ResourceArtifact as a System in a PhysicalArchitecture.USED_CONFIGURATION
The usage of a PhysicalArchitecture in another PhysicalArchitecture.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UPDMProfile.RoleKindEnum
from(java.lang.Object o)
java.lang.String
getText()
static UPDMProfile.RoleKindEnum
toEnum(EnumerationLiteral literal)
static EnumerationLiteral
toEnumerationLiteral(UPDMProfile profile, UPDMProfile.RoleKindEnum anEnum)
static UPDMProfile.RoleKindEnum
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static UPDMProfile.RoleKindEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PART
public static final UPDMProfile.RoleKindEnum PART
Usage of a ResourceArtifact as a part of another ResourceArtifact.
-
COMPONENT
public static final UPDMProfile.RoleKindEnum COMPONENT
(MODAF SoftwareComponent) Asserts that Software is a component of another Software.
-
USED_CONFIGURATION
public static final UPDMProfile.RoleKindEnum USED_CONFIGURATION
The usage of a PhysicalArchitecture in another PhysicalArchitecture.
-
HUMAN_RESOURCE
public static final UPDMProfile.RoleKindEnum HUMAN_RESOURCE
The role of an OrganizationalResource in a PhysicalArchitecture.
-
PLATFORM
public static final UPDMProfile.RoleKindEnum PLATFORM
Usage of a ResourceArtifact as a platform (e.g. vessel, aircraft, etc.) in a particular PhysicalArchitecture.
-
SYSTEM
public static final UPDMProfile.RoleKindEnum SYSTEM
The usage of a ResourceArtifact as a System in a PhysicalArchitecture.
-
SUB_ORGANIZATION
public static final UPDMProfile.RoleKindEnum SUB_ORGANIZATION
Asserts that one OrganizationType is typically the parent of another - e.g. a squadron may be part of a batallion.
-
POST_ROLE
public static final UPDMProfile.RoleKindEnum POST_ROLE
(MODAF Post) Asserts that a Post exists in an OrganizationType of the type specified by the related PostType.
-
RESPONSIBILITY_ROLE
public static final UPDMProfile.RoleKindEnum RESPONSIBILITY_ROLE
(MODAF Role) A ResourceUsage that asserts a given PostType has a RoleType.
-
SERVICE_ACCESS_ROLE
public static final UPDMProfile.RoleKindEnum SERVICE_ACCESS_ROLE
A ResourceUsage that asserts a given ServiceAccess is used in the context of a particular service usage.
-
EQUIPMENT
public static final UPDMProfile.RoleKindEnum EQUIPMENT
UPDM: Equipment is a physical resource that is used to accomplish a task or function in a system or an environment. MODAF: (MODAF::PhysicalAsset): Usage of an ResourceArtifact (MODAF::Artefact) as a component of a ResourceConfiguration. DoDAF: NA
-
SUB_SYSTEM_PART
public static final UPDMProfile.RoleKindEnum SUB_SYSTEM_PART
UPDM: Indicates that a (sub)system is part of another system. MODAF: Usage of an Artefact (UPDM::ResourceArtifact) as a part of another Artefact (UPDM::ResourceArtifact), equates to a MODAF::Part DoDAF: NA
-
HOSTED_SOFTWARE
public static final UPDMProfile.RoleKindEnum HOSTED_SOFTWARE
Asserts that Software is hosted on a ResourceArtifact (which means the artifact is some kind of computer system).
-
OTHER
public static final UPDMProfile.RoleKindEnum OTHER
Other MODAF Role kind that is not on the enumerated list.
-
-
Method Detail
-
values
public static UPDMProfile.RoleKindEnum[] 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 (UPDMProfile.RoleKindEnum c : UPDMProfile.RoleKindEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UPDMProfile.RoleKindEnum valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getText
public java.lang.String getText()
-
from
@CheckForNull public static UPDMProfile.RoleKindEnum from(@CheckForNull java.lang.Object o)
-
toEnum
@CheckForNull public static UPDMProfile.RoleKindEnum toEnum(EnumerationLiteral literal)
-
toEnumerationLiteral
@CheckForNull public static EnumerationLiteral toEnumerationLiteral(UPDMProfile profile, UPDMProfile.RoleKindEnum anEnum)
-
-