Uses of Class
org.spdx.library.model.Annotation
| Package | Description |
|---|---|
| org.spdx.library.model |
Copyright (c) 2019 Source Auditor Inc.
|
| org.spdx.utility.compare |
Utility classes for comparing SPDX model objects
|
-
Uses of Annotation in org.spdx.library.model
Methods in org.spdx.library.model that return Annotation Modifier and Type Method Description AnnotationModelObject. createAnnotation(String annotator, AnnotationType annotationType, String date, String comment)AnnotationAnnotation. setAnnotationDate(String date)Set the annotation dateAnnotationAnnotation. setAnnotationType(AnnotationType type)AnnotationAnnotation. setAnnotator(String annotator)AnnotationAnnotation. setComment(String comment)Set the commentMethods in org.spdx.library.model 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 with parameters of type Annotation Modifier and Type Method Description booleanExternalSpdxElement. addAnnotation(Annotation annotation)booleanSpdxConstantElement. addAnnotation(Annotation annotation)booleanSpdxElement. addAnnotation(Annotation annotation)Add an annotationSpdxFile.SpdxFileBuilderSpdxFile.SpdxFileBuilder. addAnnotation(Annotation annotation)SpdxPackage.SpdxPackageBuilderSpdxPackage.SpdxPackageBuilder. addAnnotation(Annotation annotation)SpdxSnippet.SpdxSnippetBuilderSpdxSnippet.SpdxSnippetBuilder. addAnnotation(Annotation annotation)intAnnotation. compareTo(Annotation o)booleanExternalSpdxElement. removeAnnotation(Annotation annotation)Remove an annotationbooleanSpdxConstantElement. removeAnnotation(Annotation annotation)booleanSpdxElement. removeAnnotation(Annotation annotation)Remove an annotationMethod parameters in org.spdx.library.model with type arguments of type Annotation Modifier and Type Method Description SpdxElementExternalSpdxElement. setAnnotations(Collection<Annotation> annotations)Clears and resets the annotations collection to the parameterSpdxElementSpdxConstantElement. setAnnotations(Collection<Annotation> annotations)SpdxElementSpdxElement. setAnnotations(Collection<Annotation> annotations)Clears and resets the annotations collection to the parameterSpdxFile.SpdxFileBuilderSpdxFile.SpdxFileBuilder. setAnnotations(Collection<Annotation> annotations)SpdxPackage.SpdxPackageBuilderSpdxPackage.SpdxPackageBuilder. setAnnotations(Collection<Annotation> annotations)SpdxSnippet.SpdxSnippetBuilderSpdxSnippet.SpdxSnippetBuilder. setAnnotations(Collection<Annotation> annotations) -
Uses of Annotation in org.spdx.utility.compare
Methods in org.spdx.utility.compare that return types with arguments of type Annotation Modifier and Type Method Description static List<Annotation>SpdxComparer. findUniqueAnnotations(Collection<Annotation> annotationsA, Collection<Annotation> annotationsB)Find any SPDX annotations which are in annotationsA but not in annotationsBList<Annotation>SpdxItemComparer. getUniqueAnnotations(SpdxDocument docA, SpdxDocument docB)Get annotations that are in docA but not in docBList<Annotation>SpdxItemDifference. getUniqueAnnotationsA()List<Annotation>SpdxItemDifference. getUniqueAnnotationsB()List<Annotation>SpdxComparer. getUniqueDocumentAnnotations(int docindex1, int docindex2)Return any document annotations which are in spdx document index 1 but not in spdx document index 2Method parameters in org.spdx.utility.compare with type arguments of type Annotation Modifier and Type Method Description static List<Annotation>SpdxComparer. findUniqueAnnotations(Collection<Annotation> annotationsA, Collection<Annotation> annotationsB)Find any SPDX annotations which are in annotationsA but not in annotationsB