Uses of Class
org.spdx.library.model.Annotation
Packages that use Annotation
Package
Description
Copyright (c) 2019 Source Auditor Inc.
Utility classes for comparing SPDX model objects
-
Uses of Annotation in org.spdx.library.model
Methods in org.spdx.library.model that return AnnotationModifier and TypeMethodDescriptionModelObject.createAnnotation(String annotator, AnnotationType annotationType, String date, String comment) Annotation.setAnnotationDate(String date) Set the annotation dateAnnotation.setAnnotationType(AnnotationType type) Annotation.setAnnotator(String annotator) Annotation.setComment(String comment) Set the commentMethods in org.spdx.library.model that return types with arguments of type AnnotationModifier and TypeMethodDescriptionExternalSpdxElement.getAnnotations()SpdxConstantElement.getAnnotations()SpdxElement.getAnnotations()Methods in org.spdx.library.model with parameters of type AnnotationModifier and TypeMethodDescriptionbooleanExternalSpdxElement.addAnnotation(Annotation annotation) booleanSpdxConstantElement.addAnnotation(Annotation annotation) booleanSpdxElement.addAnnotation(Annotation annotation) Add an annotationSpdxFile.SpdxFileBuilder.addAnnotation(Annotation annotation) SpdxPackage.SpdxPackageBuilder.addAnnotation(Annotation annotation) SpdxSnippet.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 AnnotationModifier and TypeMethodDescriptionExternalSpdxElement.setAnnotations(Collection<Annotation> annotations) Clears and resets the annotations collection to the parameterSpdxConstantElement.setAnnotations(Collection<Annotation> annotations) SpdxElement.setAnnotations(Collection<Annotation> annotations) Clears and resets the annotations collection to the parameterSpdxFile.SpdxFileBuilder.setAnnotations(Collection<Annotation> annotations) SpdxPackage.SpdxPackageBuilder.setAnnotations(Collection<Annotation> annotations) SpdxSnippet.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 AnnotationModifier and TypeMethodDescriptionstatic List<Annotation>SpdxComparer.findUniqueAnnotations(Collection<Annotation> annotationsA, Collection<Annotation> annotationsB) Find any SPDX annotations which are in annotationsA but not in annotationsBSpdxItemComparer.getUniqueAnnotations(SpdxDocument docA, SpdxDocument docB) Get annotations that are in docA but not in docBSpdxItemDifference.getUniqueAnnotationsA()SpdxItemDifference.getUniqueAnnotationsB()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 AnnotationModifier and TypeMethodDescriptionstatic List<Annotation>SpdxComparer.findUniqueAnnotations(Collection<Annotation> annotationsA, Collection<Annotation> annotationsB) Find any SPDX annotations which are in annotationsA but not in annotationsB