org.dcm4che2.audit.message
Class ParticipantObjectDescription.SOPClass

java.lang.Object
  extended by org.dcm4che2.audit.message.ParticipantObjectDescription.SOPClass
Enclosing class:
ParticipantObjectDescription

public static class ParticipantObjectDescription.SOPClass
extends java.lang.Object


Field Summary
protected  java.lang.String name
           
 
Constructor Summary
ParticipantObjectDescription.SOPClass(java.lang.String uid)
           
 
Method Summary
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.SOPClass addInstance(java.lang.String iuid)
           
protected  java.lang.Object getAttribute(java.lang.String name)
           
 int getNumberOfInstances()
           
protected  boolean isEmpty()
           
 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.SOPClass setNumberOfInstances(int n)
           
 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.SOPClass

public ParticipantObjectDescription.SOPClass(java.lang.String uid)
Method Detail

setNumberOfInstances

public ParticipantObjectDescription.SOPClass setNumberOfInstances(int n)

getNumberOfInstances

public int getNumberOfInstances()

addInstance

public ParticipantObjectDescription.SOPClass addInstance(java.lang.String iuid)

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.