Class GroupableElement

java.lang.Object
com.structurizr.model.ModelItem
com.structurizr.model.Element
com.structurizr.model.GroupableElement
Direct Known Subclasses:
CustomElement, StaticStructureElement

public abstract class GroupableElement
extends Element
Represents an element that can be included in a group.
  • Method Details

    • getGroup

      public java.lang.String getGroup()
      Gets the name of the group in which this element should be included in.
      Returns:
      the group name, or null if not set
    • setGroup

      public void setGroup​(java.lang.String group)
      Sets the name of the group in which this element should be included in.
      Parameters:
      group - the group name