Uses of Class
org.spdx.library.model.v2.Annotation
-
Packages that use Annotation 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 Annotation in org.spdx.library.model.v2
Methods in org.spdx.library.model.v2 that return Annotation Modifier and Type Method Description Annotation
ModelObjectV2. createAnnotation(String annotator, AnnotationType annotationType, String date, String comment)
Annotation
Annotation. setAnnotationDate(String date)
Set the annotation dateAnnotation
Annotation. setAnnotationType(AnnotationType type)
Annotation
Annotation. setAnnotator(String annotator)
Annotation
Annotation. setComment(String comment)
Set the commentMethods in org.spdx.library.model.v2 that return types with arguments of type Annotation Modifier and Type Method Description Collection<Annotation>
ExternalSpdxElement. getAnnotations()
Collection<Annotation>
SpdxConstantElement. getAnnotations()
Collection<Annotation>
SpdxElement. getAnnotations()
Methods in org.spdx.library.model.v2 with parameters of type Annotation Modifier and Type Method Description boolean
ExternalSpdxElement. addAnnotation(Annotation annotation)
boolean
SpdxConstantElement. addAnnotation(Annotation annotation)
boolean
SpdxElement. addAnnotation(Annotation annotation)
Add an annotationSpdxFile.SpdxFileBuilder
SpdxFile.SpdxFileBuilder. addAnnotation(Annotation annotation)
SpdxPackage.SpdxPackageBuilder
SpdxPackage.SpdxPackageBuilder. addAnnotation(Annotation annotation)
SpdxSnippet.SpdxSnippetBuilder
SpdxSnippet.SpdxSnippetBuilder. addAnnotation(Annotation annotation)
int
Annotation. compareTo(Annotation o)
boolean
ExternalSpdxElement. removeAnnotation(Annotation annotation)
Remove an annotationboolean
SpdxConstantElement. removeAnnotation(Annotation annotation)
boolean
SpdxElement. removeAnnotation(Annotation annotation)
Remove an annotationMethod parameters in org.spdx.library.model.v2 with type arguments of type Annotation Modifier and Type Method Description SpdxElement
ExternalSpdxElement. setAnnotations(Collection<Annotation> annotations)
Clears and resets the annotations collection to the parameterSpdxElement
SpdxConstantElement. setAnnotations(Collection<Annotation> annotations)
SpdxElement
SpdxElement. setAnnotations(Collection<Annotation> annotations)
Clears and resets the annotations collection to the parameterSpdxFile.SpdxFileBuilder
SpdxFile.SpdxFileBuilder. setAnnotations(Collection<Annotation> annotations)
SpdxPackage.SpdxPackageBuilder
SpdxPackage.SpdxPackageBuilder. setAnnotations(Collection<Annotation> annotations)
SpdxSnippet.SpdxSnippetBuilder
SpdxSnippet.SpdxSnippetBuilder. setAnnotations(Collection<Annotation> annotations)
-