public enum MediaTypeCode extends Enum<MediaTypeCode> implements MediaType, EnumeratedCodedValue<MediaType>
MediaType.MediaTypeImpl
Enum Constant and Description |
---|
CD |
CompactFlash |
DVD |
Email |
Film |
MMC |
PaperDocument |
SD |
URI |
Usb |
Modifier and Type | Method and Description |
---|---|
static MediaTypeCode |
enumForCode(String code) |
MediaType |
getValue() |
static MediaTypeCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MediaTypeCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getCode, getCodeSystemName, getDisplayName, getOriginalText, matches
enumForCode
public static final MediaTypeCode Usb
public static final MediaTypeCode Email
public static final MediaTypeCode CD
public static final MediaTypeCode DVD
public static final MediaTypeCode CompactFlash
public static final MediaTypeCode MMC
public static final MediaTypeCode SD
public static final MediaTypeCode URI
public static final MediaTypeCode Film
public static final MediaTypeCode PaperDocument
public static MediaTypeCode[] values()
for (MediaTypeCode c : MediaTypeCode.values()) System.out.println(c);
public static MediaTypeCode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static MediaTypeCode enumForCode(String code)
@Generated(value="lombok") public MediaType getValue()
getValue
in interface EnumeratedValueSet<MediaType>
Copyright © 2018 Open eHealth Foundation. All rights reserved.