Package com.structurizr.model
Class GroupableElement
java.lang.Object
com.structurizr.model.ModelItem
com.structurizr.model.Element
com.structurizr.model.GroupableElement
- All Implemented Interfaces:
PropertyHolder
- Direct Known Subclasses:
CustomElement
,StaticStructureElement
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, getDefaultTags, getId, getPerspectives, getProperties, getTags, getTagsAsSet, getUrl, hasTag, removeTag, setUrl
-
Method Details
-
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
Sets the name of the group in which this element should be included in.- Parameters:
group
- the group name
-