Associations enable the modeling of connectivity, containment, and structural attachment between nonspatial and non-coincident network features.
The utility network has the following types of associations:
Associations are created using the Modify Associations pane, the Import Associations tool, or through an attribute rule. Each type of association has its own type of network rule that can be created to ensure data quality by restricting the types of network features that can be associated. These rules are enforced when creating associations using the Modify Associations pane and during import. If a rule does not exist to support an association, the Import Associations tool fails.
Work with associations
The Modify Associations pane is used to create, modify, and delete associations between network features. This pane is used to check association rules to ensure the selected features or objects can connect, attach, or participate in containment. You can create network rules to allow associations to be established between network features as long as utility network feature restrictions are honored.
The Modify Associations pane provides the following tools to work with and manage associations between network features:
Add features —Use this command to select one or more features on the map to populate Active Item.
Load selected—Use this command to populate the Active Item drop-down menu with a selection on the map or from the attribute table.
Active Item—This drop-down menu enables you to specify the target feature or object to work with when multiple items are selected or loaded to the pane.
Modify Associations Menu —This drop-down menu provides access to additional options to work with and manage associations in the pane. See Modify Associations menu for additional details.
Association tabs—Three tabs at the top of the pane allow you to switch between association types for the network feature set as the active item. The number of associations for each type is displayed by an indicator next to the Connectivity, Containment, and Attachment tabs. Some tabs may not be visible depending upon the active item selected.
Sections—Each association tab contains multiple sections that can be expanded or collapsed to work with associations for the active item. Certain sections may not be visible depending upon the active item selected.
Add features to section —Use this command to select one or more features on the map to populate the specified section.
Add selected—Use this command to populate the specified section from a selection on the map or from attribute tables.
Modify Associations Menu
Additional options are accessible from the Modify Associations Menu to work with and manage associations in the pane:
- Remove All Associations—Marks all associations for the network feature in the Active Item drop-down menu across all three association tabs to be deleted.
- Remove Connectivity Associations—Marks all connectivity associations for the Active Item to be deleted.
- Remove Containment Associations—Marks all containment associations for the Active Item to be deleted.
- Remove Attachment Associations—Marks all attachment associations for the Active Item to be deleted.
- Select All Associated Records—Creates a selection of all records with associations to the Active Item.
- Expand All—Expands all sections across all three of the association tabs.
- Collapse All—Collapses all sections across all three of the association tabs.
- Refresh—Refreshes the pane to display the existing associations for the Active Item. This option allows you to refresh the pane following validation or to revert changes that have not been applied in the pane such as the creation of new associations or those marked for deletion.
- Clear—Clears the Modify Associations pane of the Active Item and all associated network features.
All features in a utility network have an attribute called Association status. It indicates the type of association a feature participates in, the role the feature plays in the association relationship, and any properties that are set, for example, visible content. This attribute is used to control the visibility of associations in the map.
See Association status attribute for more details.
Associations do not have attributes or a Shape field, and they do not support relationship classes or join tables. Associations are internally managed in a system-maintained table. Although associations do not have a Shape field, you can view them using one the following workflows:
- Click the Modify Associations pane to interactively view associated features. For example, by clicking the Containment tab and selecting a container feature on a map, you can see features that are content. Connectivity associations will also show terminals for associated features if they exist.
- Create a network diagram to visualize the associations in a diagram view.
- Click the View Associations button to view connectivity or structural attachment associations on the map.
- Click the View Content drop-down menu to show or hide containment association content. This enables or disables display filters configured using the association status attribute to turn content feature display on and off based on their visibility property.
See Control association visibility for more information about viewing associations.
Structural attachment and containment associations require that an appropriate association role be assigned to the feature classes and tables that represent network features which serve as structures or containers. Use the Set Association Role tool to designate the specific association role type along with additional properties. The Role Type of Structure or Container is assigned to a network class that will serve as a structure in a structural attachment association or a container in a containment association using specific asset groups and asset types. An association role must be set before creating structural attachment and containment rules.
Once an association role is assigned, features and objects from the network classes can be included in an association as long as they have supporting network rules.
- Container—All network classes in the structure and domain networks can have the container role assigned and serve as a container.
- Structure—In structure networks, the following network classes can have the structure role assigned and serve as a structure: structure junction, structure line, structure boundary, structure junction object, and structure edge object.
To review valid structural attachment and containment relationships, see Feature restrictions.
To determine whether a feature class or table has an association role set, review the Network Properties tab for the utility network. From here, expand the appropriate domain or structure network and inspect the Association Role column for specific asset groups and asset types.
Review the section below for additional properties that are set for association roles.
Deletion Semantics, View Scale, and Container Split Policy
Additional properties can be defined with the Set Association Role tool. The properties are applicable to specific association roles and will vary depending on the specified Role Type. See the list of association properties and if they apply to a container or structure.
- View Scale—Container only
- Deletion Semantics—Container and structure
- Container Split Policy—Container only (structure line feature class)
The View Scale property is specific to the container role. It determines what map scale to set when you enter containment mode, for example, 1:100. This property does not apply to junction and edge objects.
The Deletion Semantics properties apply to both the container and structure association roles. They determine how child features are handled when the parent feature is deleted. For example, if a pole structure is deleted, the deletion semantics control how the items that are attached are impacted. For containment, when the container is deleted, the deletion semantics control how content features are impacted.
There are three types of deletion semantics:
- Restricted—If content or attachment features exist, an error is returned when attempting to delete the container or structure. The content or attachment features must be removed before deleting the container or structure.
- Cascade—When a container or structure is deleted, its content or attachment features are also deleted.
- Set to none—When a container or structure is deleted, its content or attachment features are not deleted; instead, it is removed from the containment or structural attachment association.
The Container Split Policy property is specific to the container association role and only set for structure line feature classes. It is used to determine how content is treated when a container feature is split. The options for the container split policy are Do Not Split Content (default) or Split Content. If using a split policy of Do Not Split Content, a new container feature is created from the split operation and content is not split. The content feature is maintained as content to both parent containers. With the policy of Split Content, content features are also split and properly associated with the new container features created during the split operation.
To learn more, see Set or modify an association role assignment.