The slices are differentiated by conformance of the nominated element to a
specified profile. Note that if the path specifies .resolve() then the
profile is the target profile on the reference. In this case, validation by
the possible profiles is required to differentiate the slices.
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.