org.dcm4che.srom
Class Content.ValueType

java.lang.Object
  extended by org.dcm4che.srom.Content.ValueType
Enclosing interface:
Content

public static final class Content.ValueType
extends java.lang.Object

Enumeration of Value Types of Content Items. Used by getValueType().


Field Summary
static Content.ValueType CODE
           
static Content.ValueType COMPOSITE
           
static Content.ValueType CONTAINER
           
static Content.ValueType DATE
           
static Content.ValueType DATETIME
           
static Content.ValueType IMAGE
           
static Content.ValueType NUM
           
static Content.ValueType PNAME
           
static Content.ValueType SCOORD
           
static Content.ValueType TCOORD
           
static Content.ValueType TEXT
           
static Content.ValueType TIME
           
static Content.ValueType UIDREF
           
static Content.ValueType WAVEFORM
           
 
Method Summary
 java.lang.String toString()
          Returns code string for this ValueType.
static Content.ValueType valueOf(java.lang.String str)
          Returns ValueType represented by the specified code string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TEXT

public static final Content.ValueType TEXT

NUM

public static final Content.ValueType NUM

CODE

public static final Content.ValueType CODE

DATETIME

public static final Content.ValueType DATETIME

DATE

public static final Content.ValueType DATE

TIME

public static final Content.ValueType TIME

UIDREF

public static final Content.ValueType UIDREF

PNAME

public static final Content.ValueType PNAME

COMPOSITE

public static final Content.ValueType COMPOSITE

IMAGE

public static final Content.ValueType IMAGE

WAVEFORM

public static final Content.ValueType WAVEFORM

SCOORD

public static final Content.ValueType SCOORD

TCOORD

public static final Content.ValueType TCOORD

CONTAINER

public static final Content.ValueType CONTAINER
Method Detail

valueOf

public static Content.ValueType valueOf(java.lang.String str)
Returns ValueType represented by the specified code string.

Parameters:
s - specified code string.
Returns:
code>ValueType represented by the specified string.
Throws:
java.lang.IllegalArgumentException - if the string does not contain a valid code value.

toString

public java.lang.String toString()
Returns code string for this ValueType.

Overrides:
toString in class java.lang.Object
Returns:
code string for this ValueType.