Package org.spdx.rdfparser.model
Enum Relationship.RelationshipType
java.lang.Object
java.lang.Enum<Relationship.RelationshipType>
org.spdx.rdfparser.model.Relationship.RelationshipType
- All Implemented Interfaces:
Serializable,Comparable<Relationship.RelationshipType>,java.lang.constant.Constable
- Enclosing class:
- Relationship
public static enum Relationship.RelationshipType extends Enum<Relationship.RelationshipType>
-
Nested Class Summary
-
Enum Constant Summary
-
Method Summary
Modifier and Type Method Description static Relationship.RelationshipTypefromString(String rdfString)static Relationship.RelationshipTypefromTag(String tag)StringgetTag()Deprecated.StringtoString()StringtoTag()static Relationship.RelationshipTypevalueOf(String name)Returns the enum constant of this type with the specified name.static Relationship.RelationshipType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DESCRIBES
-
DESCRIBED_BY
-
ANCESTOR_OF
-
BUILD_TOOL_OF
-
CONTAINED_BY
-
CONTAINS
-
COPY_OF
-
DATA_FILE_OF
-
DESCENDANT_OF
-
DISTRIBUTION_ARTIFACT
-
DOCUMENTATION_OF
-
DYNAMIC_LINK
-
EXPANDED_FROM_ARCHIVE
-
FILE_ADDED
-
FILE_DELETED
-
FILE_MODIFIED
-
GENERATED_FROM
-
GENERATES
-
METAFILE_OF
-
OPTIONAL_COMPONENT_OF
-
OTHER
-
PACKAGE_OF
-
PATCH_APPLIED
-
PATCH_FOR
-
AMENDS
-
STATIC_LINK
-
TEST_CASE_OF
-
PREREQUISITE_FOR
-
HAS_PREREQUISITE
-
VARIANT_OF
-
BUILD_DEPENDENCY_OF
-
DEPENDENCY_MANIFEST_OF
-
DEPENDENCY_OF
-
DEPENDS_ON
-
DEV_DEPENDENCY_OF
-
DEV_TOOL_OF
-
EXAMPLE_OF
-
OPTIONAL_DEPENDENCY_OF
-
PROVIDED_DEPENDENCY_OF
-
RUNTIME_DEPENDENCY_OF
-
TEST_DEPENDENCY_OF
-
TEST_OF
-
TEST_TOOL_OF
-
NONE
-
NOASSERTION
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
toString
- Overrides:
toStringin classEnum<Relationship.RelationshipType>
-
fromString
-
getTag
Deprecated. -
toTag
- Returns:
- Returns the tag value for this relationship type
-
fromTag
- Returns:
- The relationship type corresponding to the provided tag
-