Enum NetworkType
- java.lang.Object
-
- java.lang.Enum<NetworkType>
-
- org.hl7.fhir.r4.model.codesystems.NetworkType
-
- All Implemented Interfaces:
Serializable,Comparable<NetworkType>
public enum NetworkType extends Enum<NetworkType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NetworkTypefromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static NetworkTypevalueOf(String name)Returns the enum constant of this type with the specified name.static NetworkType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
_1
public static final NetworkType _1
The machine name, including DNS name.
-
_2
public static final NetworkType _2
The assigned Internet Protocol (IP) address.
-
_3
public static final NetworkType _3
The assigned telephone number.
-
_4
public static final NetworkType _4
The assigned email address.
-
_5
public static final NetworkType _5
URI (User directory, HTTP-PUT, ftp, etc.).
-
NULL
public static final NetworkType NULL
added to help the parsers
-
-
Method Detail
-
values
public static NetworkType[] 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 (NetworkType c : NetworkType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NetworkType 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
-
fromCode
public static NetworkType fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-