Package com.structurizr.model
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 Summary
Methods inherited from class com.structurizr.model.Element
getDescription, getEfferentRelationshipsWith, getEfferentRelationshipWith, getEfferentRelationshipWith, getModel, getName, getParent, getRelationships, hasAfferentRelationships, hasEfferentRelationshipWith, hasEfferentRelationshipWith, setDescription, setModel, toString, uses, uses, uses
Methods inherited from class com.structurizr.model.ModelItem
addPerspective, addProperty, addTags, getCanonicalName, getId, getOriginId, getPerspectives, getProperties, getRequiredTags, getTags, getTagsAsSet, getUrl, hasTag, removeTag, setUrl
-
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
-