Class PropertyBag

java.lang.Object
org.schemastore.json.sarif.x210.PropertyBag
All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject

@MetaschemaAssembly(formalName="Property Bag", description="Key/value pairs that provide additional information about the object.", name="propertyBag", moduleClass=SarifModule.class) public class PropertyBag extends Object implements gov.nist.secauto.metaschema.core.model.IBoundObject
Key/value pairs that provide additional information about the object.
  • Constructor Details

    • PropertyBag

      public PropertyBag()
    • PropertyBag

      public PropertyBag(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
    • getTags

      public List<String> getTags()
    • setTags

      public void setTags(List<String> value)
    • addTag

      public boolean addTag(String item)
      Add a new String item to the underlying collection.
      Parameters:
      item - the item to add
      Returns:
      true
    • removeTag

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

      public String toString()
      Overrides:
      toString in class Object