Package ca.uhn.fhir.model.dstu2.valueset
Enum UnknownContentCodeEnum
- java.lang.Object
-
- java.lang.Enum<UnknownContentCodeEnum>
-
- ca.uhn.fhir.model.dstu2.valueset.UnknownContentCodeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<UnknownContentCodeEnum>
public enum UnknownContentCodeEnum extends Enum<UnknownContentCodeEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NEITHER_ELEMENTS_OR_EXTENSIONSDisplay: Neither Elements or Extensions
Code Value: no The application does not accept either unknown elements or extensions.UNKNOWN_ELEMENTSDisplay: Unknown Elements
Code Value: elements The application accepts unknown elements, but not unknown extensions.UNKNOWN_ELEMENTS_AND_EXTENSIONSDisplay: Unknown Elements and Extensions
Code Value: both The application accepts unknown elements and extensions.UNKNOWN_EXTENSIONSDisplay: Unknown Extensions
Code Value: extensions The application accepts unknown extensions, but not unknown elements.
-
Field Summary
Fields Modifier and Type Field Description static ca.uhn.fhir.model.api.IValueSetEnumBinder<UnknownContentCodeEnum>VALUESET_BINDERConverts codes to their respective enumerated valuesstatic StringVALUESET_IDENTIFIERIdentifier for this Value Set:static StringVALUESET_NAMEName for this Value Set: UnknownContentCode
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UnknownContentCodeEnumforCode(String theCode)Returns the enumerated value associated with this codeStringgetCode()Returns the code associated with this enumerated valueStringgetSystem()Returns the code system associated with this enumerated valuestatic UnknownContentCodeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static UnknownContentCodeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NEITHER_ELEMENTS_OR_EXTENSIONS
public static final UnknownContentCodeEnum NEITHER_ELEMENTS_OR_EXTENSIONS
Display: Neither Elements or Extensions
Code Value: no The application does not accept either unknown elements or extensions.
-
UNKNOWN_EXTENSIONS
public static final UnknownContentCodeEnum UNKNOWN_EXTENSIONS
Display: Unknown Extensions
Code Value: extensions The application accepts unknown extensions, but not unknown elements.
-
UNKNOWN_ELEMENTS
public static final UnknownContentCodeEnum UNKNOWN_ELEMENTS
Display: Unknown Elements
Code Value: elements The application accepts unknown elements, but not unknown extensions.
-
UNKNOWN_ELEMENTS_AND_EXTENSIONS
public static final UnknownContentCodeEnum UNKNOWN_ELEMENTS_AND_EXTENSIONS
Display: Unknown Elements and Extensions
Code Value: both The application accepts unknown elements and extensions.
-
-
Field Detail
-
VALUESET_IDENTIFIER
public static final String VALUESET_IDENTIFIER
Identifier for this Value Set:- See Also:
- Constant Field Values
-
VALUESET_NAME
public static final String VALUESET_NAME
Name for this Value Set: UnknownContentCode- See Also:
- Constant Field Values
-
VALUESET_BINDER
public static final ca.uhn.fhir.model.api.IValueSetEnumBinder<UnknownContentCodeEnum> VALUESET_BINDER
Converts codes to their respective enumerated values
-
-
Method Detail
-
values
public static UnknownContentCodeEnum[] 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 (UnknownContentCodeEnum c : UnknownContentCodeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UnknownContentCodeEnum 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
-
forCode
public static UnknownContentCodeEnum forCode(String theCode)
Returns the enumerated value associated with this code
-
-