Enum Class UtilityRuleType
- All Implemented Interfaces:
Serializable
,Comparable<UtilityRuleType>
,Constable
- Since:
- 200.1.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionA network rule governing structural attachment.A network rule governing containment.A network rule governing connectivity between two edges and a junction.A network rule governing line-end connectivity to a device or junction.A network rule governing connectivity between junction features. -
Method Summary
Modifier and TypeMethodDescriptionstatic UtilityRuleType
Returns the enum constant of this class with the specified name.static UtilityRuleType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
JUNCTION_JUNCTION_CONNECTIVITY
A network rule governing connectivity between junction features.This connectivity network rule constrains the types of junction features that can be connected to another junction feature based on its asset type.
It supports terminal connectivity and affects
UtilityAssociationType.CONNECTIVITY
associations.- Since:
- 200.1.0
-
CONTAINMENT
A network rule governing containment.Containment network rule constrains the types of features that can be contained in a given container feature based on its asset type.
The
UtilityRule.getFromElement()
of this network rule represents a container and theUtilityRule.getToElement()
represents a content or another container if nested containment is allowed.It does not support terminal connectivity and affects
UtilityAssociationType.CONTAINMENT
associations.- Since:
- 200.1.0
-
ATTACHMENT
A network rule governing structural attachment.Structural attachment network rule constrains the types of features that can be attached to a given structure feature based on its asset type.
The
UtilityRule.fromElementProperty()
of this network rule represents a structure and theUtilityRule.toElementProperty()
represents the attachments.It does not support terminal connectivity and affects
UtilityAssociationType.ATTACHMENT
associations.- Since:
- 200.1.0
-
JUNCTION_EDGE_CONNECTIVITY
A network rule governing line-end connectivity to a device or junction.This connectivity network rule constrains the types of junction features that can be connected to edge features.
The
UtilityRule.fromElementProperty()
of this network rule represents a junction and theUtilityRule.toElementProperty()
represents an edge.It supports terminal connectivity and affects the following associations:
-
UtilityAssociationType.JUNCTION_EDGE_OBJECT_CONNECTIVITY_FROM_SIDE
, which allows a junction to be connected to the end point of an edge -
UtilityAssociationType.JUNCTION_EDGE_OBJECT_CONNECTIVITY_MIDSPAN
, which allows a junction to be connected along the midspan of an edge -
UtilityAssociationType.JUNCTION_EDGE_OBJECT_CONNECTIVITY_TO_SIDE
, which allows a junction to be connected to the start point of an edge.
- Since:
- 200.1.0
-
-
EDGE_JUNCTION_EDGE_CONNECTIVITY
A network rule governing connectivity between two edges and a junction.This connectivity network rule constrains the types of edge features that can be connected using an intermediate junction feature.
- Since:
- 200.1.0
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-