Uses of Class
org.spdx.library.model.SpdxElement
| Package | Description |
|---|---|
| org.spdx.library.model |
Copyright (c) 2019 Source Auditor Inc.
|
| org.spdx.library.model.pointer |
RDF model classes which implement the proposed W3C Pointer classes.
|
-
Uses of SpdxElement in org.spdx.library.model
Subclasses of SpdxElement in org.spdx.library.model Modifier and Type Class Description classExternalSpdxElementThis is an SPDX element which is in an external document.classGenericSpdxElementGeneric SPDX element - primarily used for testingclassGenericSpdxItemGeneric SPDX item - primarily used for testingclassSpdxConstantElementType of SpdxElement which is a constant unmodifiable elementclassSpdxDocumentAn SpdxDocument is a summary of the contents, provenance, ownership and licensing analysis of a specific software package.classSpdxFileA File represents a named sequence of information that is contained in a software package.classSpdxItemAn SpdxItem is a potentially copyrightable work.classSpdxNoAssertionElementThis SPDX element represents no assertion as to an actual SPDX element.classSpdxNoneElementThis SPDX element represents no SPDX element at all.classSpdxPackageA Package represents a collection of software files that are delivered as a single functional component.classSpdxSnippetSnippets can optionally be used when a file is known to have some content that has been included from another original source.Methods in org.spdx.library.model that return SpdxElement Modifier and Type Method Description SpdxElementRelatedElementCollection. getOwningElement()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 parameterSpdxElementSpdxConstantElement. setName(String name)SpdxElementSpdxElement. setName(String name)Set the nameSpdxElementExternalSpdxElement. setRelationships(Collection<Relationship> relationships)clear and reset the relationships to the paramater relationshipSpdxElementSpdxConstantElement. setRelationships(Collection<Relationship> relationships)SpdxElementSpdxElement. setRelationships(Collection<Relationship> relationships)clear and reset the relationships to the paramater relationshipSpdxElement[]RelatedElementCollection. toArray()Methods in org.spdx.library.model that return types with arguments of type SpdxElement Modifier and Type Method Description Collection<SpdxElement>SpdxDocument. getDocumentDescribes()protected Optional<SpdxElement>ModelObject. getElementPropertyValue(String propertyName)Converts property values to an SpdxElement if possible - if NONE or NOASSERTION URI value, convert to the appropriate SpdxElementOptional<SpdxElement>Relationship. getRelatedSpdxElement()Iterator<SpdxElement>RelatedElementCollection. iterator()List<SpdxElement>RelatedElementCollection. toImmutableList()Methods in org.spdx.library.model with parameters of type SpdxElement Modifier and Type Method Description booleanRelatedElementCollection. add(SpdxElement e)ByteOffsetPointerModelObject. createByteOffsetPointer(SpdxElement referencedElement, int offset)LineCharPointerModelObject. createLineCharPointer(SpdxElement referencedElement, int lineNumber)RelationshipModelObject. createRelationship(SpdxElement relatedElement, RelationshipType relationshipType, String comment)RelationshipRelationship. setRelatedSpdxElement(SpdxElement relatedSpdxElement)Method parameters in org.spdx.library.model with type arguments of type SpdxElement Modifier and Type Method Description booleanRelatedElementCollection. addAll(Collection<? extends SpdxElement> c)Constructors in org.spdx.library.model with parameters of type SpdxElement Constructor Description RelatedElementCollection(SpdxElement owningElement, RelationshipType relationshipTypeFilter)RelatedElementCollection(SpdxElement owningElement, RelationshipType relationshipTypeFilter, String relatedElementTypeFilter) -
Uses of SpdxElement in org.spdx.library.model.pointer
Methods in org.spdx.library.model.pointer that return SpdxElement Modifier and Type Method Description SpdxElementSinglePointer. getReference()Methods in org.spdx.library.model.pointer with parameters of type SpdxElement Modifier and Type Method Description voidSinglePointer. setReference(SpdxElement reference)