org.dicom4j.network.protocoldataunit.support
Class PresentationContextItem

java.lang.Object
  extended by org.dicom4j.network.protocoldataunit.support.ProtocolDataUnit
      extended by org.dicom4j.network.protocoldataunit.support.PresentationContextItem
All Implemented Interfaces:
ProtocolDataUnit
Direct Known Subclasses:
PresentationContextItemAC, PresentationContextItemRQ

public abstract class PresentationContextItem
extends ProtocolDataUnit

Base class for PresentationContextItemRQ and PresentationContextItemAC

Since:
Alpha 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
PresentationContextItem(byte aID)
          Creates new PresentationContextItem
 
Method Summary
 byte getID()
          Return the ID
 void setID(byte aID)
          Set the ID
 String toString()
          the ProtocolDataUnit as a string
 
Methods inherited from class org.dicom4j.network.protocoldataunit.support.ProtocolDataUnit
checkStream, getLength, getName, getSopClassRegistry, getType, read, setSopClassRegistry, toBytes, typetoString, write
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PresentationContextItem

public PresentationContextItem(byte aID)
Creates new PresentationContextItem

Parameters:
aID -
Method Detail

getID

public byte getID()
Return the ID

Returns:
the ID

setID

public void setID(byte aID)
Set the ID

Parameters:
aID -

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


Copyright © 2009 dicom4j. All Rights Reserved.