org.dicom4j.network.protocoldataunit.userinformationsubitems
Class ImplementationVersionName

java.lang.Object
  extended by org.dicom4j.network.protocoldataunit.support.ProtocolDataUnit
      extended by org.dicom4j.network.protocoldataunit.userinformationsubitems.support.AbstractUserInformationSubItem
          extended by org.dicom4j.network.protocoldataunit.userinformationsubitems.ImplementationVersionName
All Implemented Interfaces:
ProtocolDataUnit

public class ImplementationVersionName
extends AbstractUserInformationSubItem

Implementation Version Name (SUB-ITEM)

Since:
0.0.0
Author:
Laurent Lecomte

Nested Class Summary
 
Nested classes/interfaces inherited from class org.dicom4j.network.protocoldataunit.support.ProtocolDataUnit
ProtocolDataUnit.Types
 
Constructor Summary
ImplementationVersionName()
           
ImplementationVersionName(String aValue)
           
 
Method Summary
 int getLength()
          Return the number of bytes of the item
 UserInformationSubItemType getType()
           return the type of the Protocol Data Unit TODO change to ProtocolType
 String getValue()
           
 void read(BinaryInputStream aStream, int aLength)
          Read the Protocol Data Unit from a stream
 void setValue(String aValue)
           
 String toString()
          the ProtocolDataUnit as a string
 void write(BinaryOutputStream aStream)
          Write the Protocol Data Unit to a stream
 
Methods inherited from class org.dicom4j.network.protocoldataunit.support.ProtocolDataUnit
checkStream, getName, getSopClassRegistry, setSopClassRegistry, toBytes, typetoString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImplementationVersionName

public ImplementationVersionName()

ImplementationVersionName

public ImplementationVersionName(String aValue)
Method Detail

getLength

public int getLength()
Return the number of bytes of the item

Specified by:
getLength in interface ProtocolDataUnit
Specified by:
getLength in class ProtocolDataUnit
Returns:
Number of bytes

getType

public UserInformationSubItemType getType()
Description copied from class: ProtocolDataUnit

return the type of the Protocol Data Unit

TODO change to ProtocolType

Specified by:
getType in interface ProtocolDataUnit
Specified by:
getType in class ProtocolDataUnit
Returns:
the type

getValue

public String getValue()

read

public void read(BinaryInputStream aStream,
                 int aLength)
          throws DicomException,
                 IOException
Description copied from class: ProtocolDataUnit
Read the Protocol Data Unit from a stream

Specified by:
read in class ProtocolDataUnit
Throws:
DicomException
IOException

setValue

public void setValue(String aValue)

toString

public String toString()
Description copied from class: ProtocolDataUnit
the ProtocolDataUnit as a string

Specified by:
toString in interface ProtocolDataUnit
Overrides:
toString in class ProtocolDataUnit
Returns:
ProtocolDataUnit as string

write

public void write(BinaryOutputStream aStream)
           throws DicomException,
                  IOException
Description copied from class: ProtocolDataUnit
Write the Protocol Data Unit to a stream

Specified by:
write in class ProtocolDataUnit
Throws:
DicomException
IOException


Copyright © 2009 dicom4j. All Rights Reserved.