Package com.structurizr.dsl
Class IdentifiersRegister
java.lang.Object
com.structurizr.dsl.IdentifiersRegister
-
Method Summary
Modifier and TypeMethodDescriptionfindIdentifier(com.structurizr.model.Element element) findIdentifier(com.structurizr.model.Relationship relationship) com.structurizr.model.ElementgetElement(String identifier) Gets the element identified by the specified identifier.Gets the set of element identifiers.com.structurizr.model.RelationshipgetRelationship(String identifier) Gets the relationship identified by the specified identifier.Gets the set of relationship identifiers.
-
Method Details
-
getElementIdentifiers
Gets the set of element identifiers.- Returns:
- a Set of String identifiers
-
getRelationshipIdentifiers
Gets the set of relationship identifiers.- Returns:
- a Set of String identifiers
-
getElement
Gets the element identified by the specified identifier.- Parameters:
identifier- a String identifier- Returns:
- an Element, or null if one doesn't exist
-
getRelationship
Gets the relationship identified by the specified identifier.- Parameters:
identifier- a String identifier- Returns:
- a Relationship, or null if one doesn't exist
-
findIdentifier
-
findIdentifier
-