org.dicom4j.core.utils
Class IntValue

java.lang.Object
  extended by org.dicom4j.core.utils.IntValue
Direct Known Subclasses:
CodedAttributeType, CommandSetType, DictionaryItemType, DimseStatus, UniqueIdentifierType

public class IntValue
extends Object

class to associate an int value to a string (ex: 4 - value4)
this class is used to help the implements of defined values

Since:
0.0.5
Author:
Laurent Lecomte

Constructor Summary
IntValue(int aValue)
           
IntValue(int aValue, String aValueAsString)
           
 
Method Summary
 String toString()
          Priority as string
 int value()
           
 String valueAsString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IntValue

public IntValue(int aValue)

IntValue

public IntValue(int aValue,
                String aValueAsString)
Method Detail

toString

public String toString()
Priority as string

Overrides:
toString in class Object
Returns:
Priority

value

public int value()

valueAsString

public String valueAsString()


Copyright © 2009 dicom4j. All Rights Reserved.