org.dcm4che2.audit.message
Class ParticipantObjectDescription

java.lang.Object
  extended by org.dcm4che2.audit.message.ParticipantObjectDescription

public class ParticipantObjectDescription
extends java.lang.Object

DICOM Extension of ParticipantObject identifier.

Since:
Nov 17, 2006
Version:
$Revision: 5685 $ $Date: 2008-01-15 21:05:18 +0100 (Tue, 15 Jan 2008) $
Author:
Gunter Zeilinger
See Also:
ParticipantObject

Nested Class Summary
static class ParticipantObjectDescription.SOPClass
           
 
Field Summary
protected  java.lang.String name
           
 
Constructor Summary
ParticipantObjectDescription()
           
 
Method Summary
 ParticipantObjectDescription addAccession(java.lang.String accno)
           
protected  void addAttribute(java.lang.String name, byte[] val, boolean optional)
           
protected  void addAttribute(java.lang.String name, java.util.Date val, boolean optional)
           
protected  void addAttribute(java.lang.String name, java.lang.Object val, boolean optional)
           
 ParticipantObjectDescription addMPPS(java.lang.String iuid)
           
 ParticipantObjectDescription addSOPClass(ParticipantObjectDescription.SOPClass sopClass)
           
 ParticipantObjectDescription addStudy(java.lang.String suid)
           
 java.util.List<java.lang.String> getAccessions()
           
protected  java.lang.Object getAttribute(java.lang.String name)
           
 java.util.List<java.lang.String> getMPPSs()
           
 java.util.List<ParticipantObjectDescription.SOPClass> getSOPClasses()
           
 boolean isAnonymized()
           
protected  boolean isEmpty()
           
 boolean isEncrypted()
           
 void output(java.io.Writer out)
           
protected  void outputChilds(java.io.Writer out, java.util.List<? extends org.dcm4che2.audit.message.BaseElement> childs)
           
protected  void outputContent(java.io.Writer out)
          Allows subclasses to write content to the output.
 ParticipantObjectDescription setAnonymized(boolean anonymized)
           
 ParticipantObjectDescription setEncrypted(boolean encrypted)
           
 java.lang.String toString()
           
 java.lang.String toString(int initialSize)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected final java.lang.String name
Constructor Detail

ParticipantObjectDescription

public ParticipantObjectDescription()
Method Detail

isEncrypted

public final boolean isEncrypted()

setEncrypted

public final ParticipantObjectDescription setEncrypted(boolean encrypted)

isAnonymized

public final boolean isAnonymized()

setAnonymized

public final ParticipantObjectDescription setAnonymized(boolean anonymized)

getMPPSs

public java.util.List<java.lang.String> getMPPSs()

addMPPS

public ParticipantObjectDescription addMPPS(java.lang.String iuid)

getAccessions

public java.util.List<java.lang.String> getAccessions()

addAccession

public ParticipantObjectDescription addAccession(java.lang.String accno)

getSOPClasses

public java.util.List<ParticipantObjectDescription.SOPClass> getSOPClasses()

addSOPClass

public ParticipantObjectDescription addSOPClass(ParticipantObjectDescription.SOPClass sopClass)

addStudy

public ParticipantObjectDescription addStudy(java.lang.String suid)

isEmpty

protected boolean isEmpty()

outputContent

protected void outputContent(java.io.Writer out)
                      throws java.io.IOException
Allows subclasses to write content to the output. Note to implementers: isEmpty() should also be overridden to return false, otherwise this method will not be called.

Parameters:
out - the writer to write the output to.
Throws:
java.io.IOException - thrown by derived classes if an error occurs.

addAttribute

protected void addAttribute(java.lang.String name,
                            java.lang.Object val,
                            boolean optional)

addAttribute

protected void addAttribute(java.lang.String name,
                            java.util.Date val,
                            boolean optional)

addAttribute

protected void addAttribute(java.lang.String name,
                            byte[] val,
                            boolean optional)

getAttribute

protected java.lang.Object getAttribute(java.lang.String name)

output

public void output(java.io.Writer out)
            throws java.io.IOException
Throws:
java.io.IOException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toString

public java.lang.String toString(int initialSize)

outputChilds

protected void outputChilds(java.io.Writer out,
                            java.util.List<? extends org.dcm4che2.audit.message.BaseElement> childs)
                     throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2011 dcm4che. All Rights Reserved.