Package org.spdx.library.model.license
Class AnyLicenseInfo
java.lang.Object
org.spdx.library.model.ModelObject
org.spdx.library.model.license.AnyLicenseInfo
- Direct Known Subclasses:
LicenseSet,OrLaterOperator,SimpleLicensingInfo,SpdxNoAssertionLicense,SpdxNoneLicense,WithExceptionOperator
public abstract class AnyLicenseInfo extends ModelObject
This abstract class represents several ways of describing licensing information.
License info can be described as a set of conjunctive licenses (where all licenses
terms must apply), a set of disjunctive licenses (where there is a choice of one
license among the set described) or a specific license. The specific licenses
are of a SimpleLicensingInfoType
- Author:
- Gary O'Neall
-
Field Summary
-
Constructor Summary
Constructors Constructor Description AnyLicenseInfo()Create a new Model Object using an Anonymous ID with the defualt store and default document URIAnyLicenseInfo(String id)Open or create a model object with the default store and default document URI -
Method Summary
Methods inherited from class org.spdx.library.model.ModelObject
_verify, addPropertyValueToCollection, addValueToCollection, clearValueCollection, clearValueCollection, clone, copyFrom, createAnnotation, createByteOffsetPointer, createChecksum, createConjunctiveLicenseSet, createCreationInfo, createCrossRef, createDisjunctiveLicenseSet, createExternalDocumentRef, createExternalRef, createLineCharPointer, createPackage, createPackageVerificationCode, createRelationship, createSpdxFile, createSpdxSnippet, createStartEndPointer, enterCriticalSection, equals, equivalent, equivalent, getAnyLicenseInfoPropertyValue, getBooleanPropertyValue, getCopyManager, getDocumentUri, getElementPropertyValue, getEnumPropertyValue, getId, getIntegerPropertyValue, getModelStore, getObjectPropertyValue, getObjectPropertyValue, getObjectPropertyValueCollection, getObjectPropertyValueSet, getPropertyValueNames, getStringCollection, getStringPropertyValue, getType, hashCode, idToIdType, isCollectionMembersAssignableTo, isStrict, leaveCriticalSection, removeProperty, removeProperty, removePropertyValueFromCollection, removePropertyValueFromCollection, replacePropertyValueCollection, setCopyManager, setPropertyValue, setPropertyValue, setStrict, toTypedValue, updateAddPropertyValueToCollection, updateClearValueCollection, updatePropertyValue, updateRemoveProperty, updateRemovePropertyValueFromCollection, verify, verify, verify, verifyCollection
-
Constructor Details
-
AnyLicenseInfo
Create a new Model Object using an Anonymous ID with the defualt store and default document URI- Throws:
InvalidSPDXAnalysisException
-
AnyLicenseInfo
Open or create a model object with the default store and default document URI- Parameters:
id- ID for this object - must be unique within the SPDX document- Throws:
InvalidSPDXAnalysisException
-
-
Method Details
-
toString
- Overrides:
toStringin classModelObject
-