Package org.spdx.library.model
Class ReferenceType
java.lang.Object
org.spdx.library.model.SimpleUriValue
org.spdx.library.model.ReferenceType
- All Implemented Interfaces:
Comparable<ReferenceType>,IndividualUriValue
public class ReferenceType extends SimpleUriValue implements Comparable<ReferenceType>
Type of external reference
Note that there are very few required fields for this class in that
the external reference type does not need to be provided in the SPDX
document for the document to be valid.
- Author:
- Gary O'Neall
-
Field Summary
Fields Modifier and Type Field Description static StringMISSING_REFERENCE_TYPE_URI -
Constructor Summary
Constructors Constructor Description ReferenceType(String uriValue)ReferenceType(IndividualUriValue uri) -
Method Summary
Modifier and Type Method Description intcompareTo(ReferenceType compare)static ReferenceTypegetMissingReferenceType()Methods inherited from class org.spdx.library.model.SimpleUriValue
equals, getIndividualURI, getIndividualUriValueHash, hashCode, isIndividualUriValueEquals, toModelObject
-
Field Details
-
Constructor Details
-
Method Details
-
getMissingReferenceType
- Throws:
InvalidSPDXAnalysisException
-
compareTo
- Specified by:
compareToin interfaceComparable<ReferenceType>
-