Package org.hl7.fhir.utilities
Enum StandardsStatus
- java.lang.Object
-
- java.lang.Enum<StandardsStatus>
-
- org.hl7.fhir.utilities.StandardsStatus
-
- All Implemented Interfaces:
Serializable,Comparable<StandardsStatus>
public enum StandardsStatus extends Enum<StandardsStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEPRECATEDDRAFTEXTERNALINFORMATIVENORMATIVETRIAL_USE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanDependOn(StandardsStatus tgtSS)static StandardsStatusfromCode(String value)StringgetAbbrev()StringgetColor()StringgetColorSvg()booleanisLowerThan(StandardsStatus status)StringtoCode()StringtoDisplay()static StandardsStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static StandardsStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXTERNAL
public static final StandardsStatus EXTERNAL
-
INFORMATIVE
public static final StandardsStatus INFORMATIVE
-
DRAFT
public static final StandardsStatus DRAFT
-
TRIAL_USE
public static final StandardsStatus TRIAL_USE
-
DEPRECATED
public static final StandardsStatus DEPRECATED
-
NORMATIVE
public static final StandardsStatus NORMATIVE
-
-
Method Detail
-
values
public static StandardsStatus[] 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 (StandardsStatus c : StandardsStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StandardsStatus 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 StandardsStatus fromCode(String value) throws FHIRException
- Throws:
FHIRException
-
getColorSvg
public String getColorSvg()
-
canDependOn
public boolean canDependOn(StandardsStatus tgtSS)
-
isLowerThan
public boolean isLowerThan(StandardsStatus status)
-
-