Interface PropertyHolder

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

public interface PropertyHolder
  • Method Summary

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

    • getProperties

      Map<String,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(String name, String value)
      Adds a name-value pair property to this workspace.
      Parameters:
      name - the name of the property
      value - the value of the property