Package dev.metaschema.oscal.lib.model
Class SystemId
java.lang.Object
dev.metaschema.oscal.lib.model.SystemId
- All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject
@MetaschemaField(formalName="System Identification",
description="A [human-oriented](https://pages.nist.gov/OSCAL/concepts/identifier-use/#human-oriented), [globally unique](https://pages.nist.gov/OSCAL/concepts/identifier-use/#globally-unique) identifier with [cross-instance](https://pages.nist.gov/OSCAL/concepts/identifier-use/#cross-instance) scope that can be used to reference this system identification property elsewhere in [this or other OSCAL instances](https://pages.nist.gov/OSCAL/concepts/identifier-use/#scope). When referencing an externally defined `system identification`, the `system identification` must be used in the context of the external / imported OSCAL instance (e.g., uri-reference). This string should be assigned [per-subject](https://pages.nist.gov/OSCAL/concepts/identifier-use/#consistency), which means it should be consistently used to identify the same system across revisions of the document.",
name="system-id",
moduleClass=OscalImplementationCommonModule.class)
public class SystemId
extends Object
implements dev.metaschema.core.model.IBoundObject
A human-oriented, globally unique identifier with cross-instance scope that can be used to reference this system identification property elsewhere in this or other OSCAL instances. When referencing an externally defined
system identification, the system identification must be used in the context of the external / imported OSCAL instance (e.g., uri-reference). This string should be assigned per-subject, which means it should be consistently used to identify the same system across revisions of the document.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()Get the field value.Get the "Identification System Type".dev.metaschema.core.model.IMetaschemaDatavoidSet the field value.voidsetIdentifierType(URI value) Set the "Identification System Type".toString()
-
Constructor Details
-
SystemId
public SystemId()Constructs a newdev.metaschema.oscal.lib.model.SystemIdinstance with no metadata. -
SystemId
Constructs a newdev.metaschema.oscal.lib.model.SystemIdinstance with the specified metadata.- Parameters:
data- the metaschema data, ornullif none
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacedev.metaschema.core.model.IBoundObject
-
getIdentifierType
Get the "Identification System Type".Identifies the identification system from which the provided identifier was assigned.
- Returns:
- the identifier-type value, or
nullif not set
-
setIdentifierType
Set the "Identification System Type".Identifies the identification system from which the provided identifier was assigned.
- Parameters:
value- the identifier-type value to set, ornullto clear
-
getId
Get the field value.- Returns:
- the value
-
setId
Set the field value.- Parameters:
value- the value to set
-
toString
-