Class Metadata.Party.ExternalId

java.lang.Object
dev.metaschema.oscal.lib.model.Metadata.Party.ExternalId
All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject
Enclosing class:
Metadata.Party

@MetaschemaField(formalName="Party External Identifier", description="An identifier for a person or organization using a designated scheme. e.g. an Open Researcher and Contributor ID (ORCID).", name="external-id", moduleClass=OscalMetadataModule.class) public static class Metadata.Party.ExternalId extends Object implements dev.metaschema.core.model.IBoundObject
An identifier for a person or organization using a designated scheme. e.g. an Open Researcher and Contributor ID (ORCID).
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructs a new dev.metaschema.oscal.lib.model.Metadata.Party.ExternalId instance with no metadata.
    ExternalId(dev.metaschema.core.model.IMetaschemaData data)
    Constructs a new dev.metaschema.oscal.lib.model.Metadata.Party.ExternalId instance with the specified metadata.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the field value.
    dev.metaschema.core.model.IMetaschemaData
     
    Get the "External Identifier Schema".
    void
    setId(String value)
    Set the field value.
    void
    setScheme(URI value)
    Set the "External Identifier Schema".
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ExternalId

      public ExternalId()
      Constructs a new dev.metaschema.oscal.lib.model.Metadata.Party.ExternalId instance with no metadata.
    • ExternalId

      public ExternalId(dev.metaschema.core.model.IMetaschemaData data)
      Constructs a new dev.metaschema.oscal.lib.model.Metadata.Party.ExternalId instance with the specified metadata.
      Parameters:
      data - the metaschema data, or null if none
  • Method Details

    • getMetaschemaData

      public dev.metaschema.core.model.IMetaschemaData getMetaschemaData()
      Specified by:
      getMetaschemaData in interface dev.metaschema.core.model.IBoundObject
    • getScheme

      @NonNull public URI getScheme()
      Get the "External Identifier Schema".

      Indicates the type of external identifier.

      Returns:
      the scheme value
    • setScheme

      public void setScheme(@NonNull URI value)
      Set the "External Identifier Schema".

      Indicates the type of external identifier.

      Parameters:
      value - the scheme value to set
    • getId

      @Nullable public String getId()
      Get the field value.
      Returns:
      the value
    • setId

      public void setId(@Nullable String value)
      Set the field value.
      Parameters:
      value - the value to set
    • toString

      public String toString()
      Overrides:
      toString in class Object