Package be.uclouvain.orthanc
Enum ValueRepresentation
- java.lang.Object
-
- java.lang.Enum<ValueRepresentation>
-
- be.uclouvain.orthanc.ValueRepresentation
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ValueRepresentation>
public enum ValueRepresentation extends java.lang.Enum<ValueRepresentation>
The value representations present in the DICOM standard (version 2013).
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AE
Application EntityAS
Age StringAT
Attribute TagCS
Code StringDA
DateDS
Decimal StringDT
Date TimeFD
Floating Point DoubleFL
Floating Point SingleIS
Integer StringLO
Long StringLT
Long TextOB
Other Byte StringOF
Other Float StringOW
Other Word StringPN
Person NameSH
Short StringSL
Signed LongSQ
Sequence of ItemsSS
Signed ShortST
Short TextTM
TimeUI
Unique Identifier (UID)UL
Unsigned LongUN
UnknownUS
Unsigned ShortUT
Unlimited Text
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static ValueRepresentation
getInstance(int value)
Return the enumeration value that corresponds to an integer value of interest.int
getValue()
Get the integer value corresponding to this enumeration value.static ValueRepresentation
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ValueRepresentation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AE
public static final ValueRepresentation AE
Application Entity
-
AS
public static final ValueRepresentation AS
Age String
-
AT
public static final ValueRepresentation AT
Attribute Tag
-
CS
public static final ValueRepresentation CS
Code String
-
DA
public static final ValueRepresentation DA
Date
-
DS
public static final ValueRepresentation DS
Decimal String
-
DT
public static final ValueRepresentation DT
Date Time
-
FD
public static final ValueRepresentation FD
Floating Point Double
-
FL
public static final ValueRepresentation FL
Floating Point Single
-
IS
public static final ValueRepresentation IS
Integer String
-
LO
public static final ValueRepresentation LO
Long String
-
LT
public static final ValueRepresentation LT
Long Text
-
OB
public static final ValueRepresentation OB
Other Byte String
-
OF
public static final ValueRepresentation OF
Other Float String
-
OW
public static final ValueRepresentation OW
Other Word String
-
PN
public static final ValueRepresentation PN
Person Name
-
SH
public static final ValueRepresentation SH
Short String
-
SL
public static final ValueRepresentation SL
Signed Long
-
SQ
public static final ValueRepresentation SQ
Sequence of Items
-
SS
public static final ValueRepresentation SS
Signed Short
-
ST
public static final ValueRepresentation ST
Short Text
-
TM
public static final ValueRepresentation TM
Time
-
UI
public static final ValueRepresentation UI
Unique Identifier (UID)
-
UL
public static final ValueRepresentation UL
Unsigned Long
-
UN
public static final ValueRepresentation UN
Unknown
-
US
public static final ValueRepresentation US
Unsigned Short
-
UT
public static final ValueRepresentation UT
Unlimited Text
-
-
Method Detail
-
values
public static ValueRepresentation[] 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 (ValueRepresentation c : ValueRepresentation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ValueRepresentation valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getInstance
protected static ValueRepresentation getInstance(int value)
Return the enumeration value that corresponds to an integer value of interest.- Parameters:
value
- The integer value.- Returns:
- The enumeration value.
-
getValue
public int getValue()
Get the integer value corresponding to this enumeration value.- Returns:
- The integer value.
-
-