org.dcm4che.srom
Class Content.RelationType

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

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

Enumeration of Relationship Types between the (enclosing) Source Content Item and the Target Content Item. Used by methods getRelationType, appendChild, insertBefore, replaceChild.


Field Summary
static Content.RelationType CONTAINS
           
static Content.RelationType HAS_ACQ_CONTEXT
           
static Content.RelationType HAS_CONCEPT_MOD
           
static Content.RelationType HAS_OBS_CONTEXT
           
static Content.RelationType HAS_PROPERTIES
           
static Content.RelationType INFERRED_FROM
           
static Content.RelationType SELECTED_FROM
           
 
Method Summary
 java.lang.String toString()
          Returns RelationType represented by the specified code string.
static Content.RelationType valueOf(java.lang.String s)
          Returns RelationType 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

CONTAINS

public static final Content.RelationType CONTAINS

HAS_PROPERTIES

public static final Content.RelationType HAS_PROPERTIES

HAS_OBS_CONTEXT

public static final Content.RelationType HAS_OBS_CONTEXT

HAS_ACQ_CONTEXT

public static final Content.RelationType HAS_ACQ_CONTEXT

INFERRED_FROM

public static final Content.RelationType INFERRED_FROM

SELECTED_FROM

public static final Content.RelationType SELECTED_FROM

HAS_CONCEPT_MOD

public static final Content.RelationType HAS_CONCEPT_MOD
Method Detail

valueOf

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

Parameters:
s - specified code string.
Returns:
RelationType 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 RelationType represented by the specified code string.

Overrides:
toString in class java.lang.Object
Parameters:
s - specified code string.
Returns:
RelationType represented by the specified string.
Throws:
java.lang.IllegalArgumentException - if the string does not contain a valid code value.