Class Diagram

java.lang.Object
gov.nist.secauto.oscal.lib.model.Diagram
All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject

@MetaschemaAssembly(formalName="Diagram", description="A graphic that provides a visual representation the system, or some aspect of it.", name="diagram", moduleClass=OscalSspModule.class, remarks="A diagram must include a `link` with a rel value of \"diagram\", who\'s href references a remote URI or an internal reference within this document containing the diagram.", valueConstraints=@ValueConstraints(allowedValues=@AllowedValues(level=ERROR,target="link/@rel",allowOthers=true,values=@AllowedValue(value="diagram",description="A reference to the diagram image.")),indexHasKey=@IndexHasKey(level=ERROR,target="link[@rel=\'diagram\' and starts-with(@href,\'#\')]",indexName="index-back-matter-resource",keyFields=@KeyField(target="@href",pattern="#(.*)")),matches={@Matches(level=ERROR,target="link[@rel=\'diagram\']/@href[starts-with(.,\'#\')]",typeAdapter=gov.nist.secauto.metaschema.core.datatype.adapter.UriReferenceAdapter.class),@Matches(level=ERROR,target="link[@rel=\'diagram\']/@href[not(starts-with(.,\'#\'))]",typeAdapter=gov.nist.secauto.metaschema.core.datatype.adapter.UriAdapter.class)})) public class Diagram extends Object implements gov.nist.secauto.metaschema.core.model.IBoundObject
A graphic that provides a visual representation the system, or some aspect of it.
  • Constructor Details

    • Diagram

      public Diagram()
    • Diagram

      public Diagram(gov.nist.secauto.metaschema.core.model.IMetaschemaData data)
  • Method Details

    • getMetaschemaData

      public gov.nist.secauto.metaschema.core.model.IMetaschemaData getMetaschemaData()
      Specified by:
      getMetaschemaData in interface gov.nist.secauto.metaschema.core.model.IBoundObject
    • getUuid

      public UUID getUuid()
    • setUuid

      public void setUuid(UUID value)
    • getDescription

      public gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline getDescription()
    • setDescription

      public void setDescription(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value)
    • getProps

      public List<Property> getProps()
    • setProps

      public void setProps(List<Property> value)
    • addProp

      public boolean addProp(Property item)
      Add a new Property item to the underlying collection.
      Parameters:
      item - the item to add
      Returns:
      true
    • removeProp

      public boolean removeProp(Property item)
      Remove the first matching Property item from the underlying collection.
      Parameters:
      item - the item to remove
      Returns:
      true if the item was removed or false otherwise
    • getLinks

      public List<Link> getLinks()
    • setLinks

      public void setLinks(List<Link> value)
    • addLink

      public boolean addLink(Link item)
      Add a new Link item to the underlying collection.
      Parameters:
      item - the item to add
      Returns:
      true
    • removeLink

      public boolean removeLink(Link item)
      Remove the first matching Link item from the underlying collection.
      Parameters:
      item - the item to remove
      Returns:
      true if the item was removed or false otherwise
    • getCaption

      public gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine getCaption()
    • setCaption

      public void setCaption(gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine value)
    • getRemarks

      public gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline getRemarks()
    • setRemarks

      public void setRemarks(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value)
    • toString

      public String toString()
      Overrides:
      toString in class Object