Interface PropertyHolder

All Known Implementing Classes:
Component, Configuration, Container, ContainerInstance, CustomElement, DeploymentElement, DeploymentNode, Element, GroupableElement, InfrastructureNode, ModelItem, Person, Relationship, SoftwareSystem, SoftwareSystemInstance, StaticStructureElement, StaticStructureElementInstance

public interface PropertyHolder
  • Method Summary

    Modifier and Type Method Description
    void addProperty​(java.lang.String name, java.lang.String value)
    Adds a name-value pair property to this workspace.
    java.util.Map<java.lang.String,​java.lang.String> getProperties()
    Gets the collection of name-value property pairs associated with this workspace, as a Map.
  • Method Details

    • getProperties

      java.util.Map<java.lang.String,​java.lang.String> getProperties()
      Gets the collection of name-value property pairs associated with this workspace, as a Map.
      Returns:
      a Map (String, String) (empty if there are no properties)
    • addProperty

      void addProperty​(java.lang.String name, java.lang.String value)
      Adds a name-value pair property to this workspace.
      Parameters:
      name - the name of the property
      value - the value of the property