Class Diagram


  • @MetaschemaAssembly(formalName="Diagram",
                        description="A graphic that provides a visual representation the system, or some aspect of it.",
                        name="diagram",
                        metaschema=OscalSspMetaschema.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(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.model.common.datatype.adapter.UriReferenceAdapter.class),@Matches(level=ERROR,target="link[@rel=\'diagram\']/@href[not(starts-with(.,\'#\'))]",typeAdapter=gov.nist.secauto.metaschema.model.common.datatype.adapter.UriAdapter.class)})
    public class Diagram
    extends Object
    A graphic that provides a visual representation the system, or some aspect of it.
    • Constructor Detail

    • Method Detail

      • getDescription

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

        public void setDescription​(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline 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
      • 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.model.common.datatype.markup.MarkupLine getCaption()
      • setCaption

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

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

        public void setRemarks​(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)