Interface PropertyHolder

All Known Implementing Classes:
AbstractStyle, AbstractWorkspace, Component, ComponentView, Configuration, Container, ContainerInstance, ContainerView, CustomElement, CustomView, DeploymentElement, DeploymentNode, DeploymentView, DynamicView, Element, ElementStyle, FilteredView, GroupableElement, ImageView, InfrastructureNode, ModelItem, ModelView, Person, Relationship, RelationshipStyle, SoftwareSystem, SoftwareSystemInstance, StaticStructureElement, StaticStructureElementInstance, StaticView, SystemContextView, SystemLandscapeView, View, 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