Enum UtilityAssociationRole
- java.lang.Object
-
- java.lang.Enum<UtilityAssociationRole>
-
- com.esri.arcgisruntime.utilitynetworks.UtilityAssociationRole
-
- All Implemented Interfaces:
Serializable
,Comparable<UtilityAssociationRole>
public enum UtilityAssociationRole extends Enum<UtilityAssociationRole>
Defines different utility association roles.- Since:
- 100.6.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UtilityAssociationRole
valueOf(String name)
Returns the enum constant of this type with the specified name.static UtilityAssociationRole[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final UtilityAssociationRole NONE
No association role.- Since:
- 100.6.0
-
CONTAINER
public static final UtilityAssociationRole CONTAINER
Container role.- Since:
- 100.6.0
-
STRUCTURE
public static final UtilityAssociationRole STRUCTURE
Structure role.- Since:
- 100.6.0
-
-
Method Detail
-
values
public static UtilityAssociationRole[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (UtilityAssociationRole c : UtilityAssociationRole.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UtilityAssociationRole valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-