Uses of Class
org.spdx.library.model.v2.Relationship
-
Packages that use Relationship Package Description org.spdx.library.model.v2 Model compatible with version 2 of the SPDX spec (2.0, 2.1, 2.2, and 2.3) -
-
Uses of Relationship in org.spdx.library.model.v2
Methods in org.spdx.library.model.v2 that return Relationship Modifier and Type Method Description Relationship
ModelObjectV2. createRelationship(SpdxElement relatedElement, RelationshipType relationshipType, String comment)
Relationship
Relationship. setComment(String comment)
Relationship
Relationship. setRelatedSpdxElement(SpdxElement relatedSpdxElement)
Relationship
Relationship. setRelationshipType(RelationshipType type)
Set the relationship typeMethods in org.spdx.library.model.v2 that return types with arguments of type Relationship Modifier and Type Method Description Collection<Relationship>
ExternalSpdxElement. getRelationships()
Collection<Relationship>
SpdxConstantElement. getRelationships()
Collection<Relationship>
SpdxElement. getRelationships()
Methods in org.spdx.library.model.v2 with parameters of type Relationship Modifier and Type Method Description boolean
ExternalSpdxElement. addRelationship(Relationship relationship)
boolean
SpdxConstantElement. addRelationship(Relationship relationship)
boolean
SpdxElement. addRelationship(Relationship relationship)
Add a relationshipSpdxFile.SpdxFileBuilder
SpdxFile.SpdxFileBuilder. addRelationship(Relationship relationship)
SpdxPackage.SpdxPackageBuilder
SpdxPackage.SpdxPackageBuilder. addRelationship(Relationship relationship)
SpdxSnippet.SpdxSnippetBuilder
SpdxSnippet.SpdxSnippetBuilder. addRelationship(Relationship relationship)
int
Relationship. compareTo(Relationship o)
boolean
ExternalSpdxElement. removeRelationship(Relationship relationship)
Remove a relationshipboolean
SpdxConstantElement. removeRelationship(Relationship relationship)
boolean
SpdxElement. removeRelationship(Relationship relationship)
Remove a relationshipMethod parameters in org.spdx.library.model.v2 with type arguments of type Relationship Modifier and Type Method Description SpdxFile.SpdxFileBuilder
SpdxFile.SpdxFileBuilder. setRelationship(Collection<Relationship> relationships)
SpdxSnippet.SpdxSnippetBuilder
SpdxSnippet.SpdxSnippetBuilder. setRelationship(Collection<Relationship> relationships)
SpdxElement
ExternalSpdxElement. setRelationships(Collection<Relationship> relationships)
clear and reset the relationships to the parameter relationshipSpdxElement
SpdxConstantElement. setRelationships(Collection<Relationship> relationships)
SpdxElement
SpdxElement. setRelationships(Collection<Relationship> relationships)
clear and reset the relationships to the parameter relationshipSpdxPackage.SpdxPackageBuilder
SpdxPackage.SpdxPackageBuilder. setRelationships(Collection<Relationship> relationships)
-