Uses of Class
org.spdx.library.model.v2.SpdxElement
-
Packages that use SpdxElement 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)org.spdx.library.model.v2.pointer RDF model classes which implement the proposed W3C Pointer classes From the W3C documentation, pointers are entities that permit identifying a portion or segment of a piece of content - making use of the Resource Description Framework (RDF). -
-
Uses of SpdxElement in org.spdx.library.model.v2
Subclasses of SpdxElement in org.spdx.library.model.v2 Modifier and Type Class Description class
ExternalSpdxElement
This is an SPDX element which is in an external document.class
GenericSpdxElement
Generic SPDX element - primarily used for testingclass
GenericSpdxItem
Generic SPDX item - primarily used for testingclass
SpdxConstantElement
Type of SpdxElement which is a constant unmodifiable elementclass
SpdxDocument
An SpdxDocument is a summary of the contents, provenance, ownership and licensing analysis of a specific software package.class
SpdxFile
A File represents a named sequence of information that is contained in a software package.class
SpdxItem
An SpdxItem is a potentially copyrightable work.class
SpdxNoAssertionElement
This SPDX element represents no assertion as to an actual SPDX element.class
SpdxNoneElement
This SPDX element represents no SPDX element at all.class
SpdxPackage
A Package represents a collection of software files that are delivered as a single functional component.class
SpdxSnippet
Snippets 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.v2 that return SpdxElement Modifier and Type Method Description SpdxElement
RelatedElementCollection. getOwningElement()
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 parameterSpdxElement
SpdxConstantElement. setName(String name)
SpdxElement
SpdxElement. setName(String name)
Set the nameSpdxElement
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 relationshipSpdxElement[]
RelatedElementCollection. toArray()
Methods in org.spdx.library.model.v2 that return types with arguments of type SpdxElement Modifier and Type Method Description Collection<SpdxElement>
SpdxDocument. getDocumentDescribes()
protected Optional<SpdxElement>
ModelObjectV2. getElementPropertyValue(org.spdx.storage.PropertyDescriptor propertyDescriptor)
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.v2 with parameters of type SpdxElement Modifier and Type Method Description boolean
RelatedElementCollection. add(SpdxElement e)
ByteOffsetPointer
ModelObjectV2. createByteOffsetPointer(SpdxElement referencedElement, int offset)
LineCharPointer
ModelObjectV2. createLineCharPointer(SpdxElement referencedElement, int lineNumber)
Relationship
ModelObjectV2. createRelationship(SpdxElement relatedElement, RelationshipType relationshipType, String comment)
Relationship
Relationship. setRelatedSpdxElement(SpdxElement relatedSpdxElement)
Method parameters in org.spdx.library.model.v2 with type arguments of type SpdxElement Modifier and Type Method Description boolean
RelatedElementCollection. addAll(Collection<? extends SpdxElement> c)
Constructors in org.spdx.library.model.v2 with parameters of type SpdxElement Constructor Description RelatedElementCollection(SpdxElement owningElement, RelationshipType relationshipTypeFilter, String specVersion)
RelatedElementCollection(SpdxElement owningElement, RelationshipType relationshipTypeFilter, String relatedElementTypeFilter, String specVersion)
-
Uses of SpdxElement in org.spdx.library.model.v2.pointer
Methods in org.spdx.library.model.v2.pointer that return SpdxElement Modifier and Type Method Description SpdxElement
SinglePointer. getReference()
Methods in org.spdx.library.model.v2.pointer with parameters of type SpdxElement Modifier and Type Method Description void
SinglePointer. setReference(SpdxElement reference)
-