org.dcm4che2.audit.message
Class ActiveParticipant.RoleIDCode

java.lang.Object
  extended by org.dcm4che2.audit.message.CodeElement
      extended by org.dcm4che2.audit.message.ActiveParticipant.RoleIDCode
Enclosing class:
ActiveParticipant

public static class ActiveParticipant.RoleIDCode
extends CodeElement


Field Summary
static ActiveParticipant.RoleIDCode APPLICATION
           
static ActiveParticipant.RoleIDCode APPLICATION_LAUNCHER
           
static ActiveParticipant.RoleIDCode DESTINATION
           
static ActiveParticipant.RoleIDCode DESTINATION_MEDIA
           
protected  java.lang.String name
           
static ActiveParticipant.RoleIDCode SOURCE
           
static ActiveParticipant.RoleIDCode SOURCE_MEDIA
           
 
Constructor Summary
ActiveParticipant.RoleIDCode(java.lang.String code)
           
ActiveParticipant.RoleIDCode(java.lang.String code, java.lang.String codeSystemName, java.lang.String displayName)
           
 
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)
           
protected  java.lang.Object getAttribute(java.lang.String name)
           
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.
 java.lang.String toString()
           
 java.lang.String toString(int initialSize)
           
 
Methods inherited from class org.dcm4che2.audit.message.CodeElement
getCode, getCodeSystem, getCodeSystemName, getDisplayName, getOriginalText, setCodeSystem, setCodeSystemName, setDisplayName, setOriginalText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

APPLICATION

public static final ActiveParticipant.RoleIDCode APPLICATION

APPLICATION_LAUNCHER

public static final ActiveParticipant.RoleIDCode APPLICATION_LAUNCHER

DESTINATION

public static final ActiveParticipant.RoleIDCode DESTINATION

SOURCE

public static final ActiveParticipant.RoleIDCode SOURCE

DESTINATION_MEDIA

public static final ActiveParticipant.RoleIDCode DESTINATION_MEDIA

SOURCE_MEDIA

public static final ActiveParticipant.RoleIDCode SOURCE_MEDIA

name

protected final java.lang.String name
Constructor Detail

ActiveParticipant.RoleIDCode

public ActiveParticipant.RoleIDCode(java.lang.String code)

ActiveParticipant.RoleIDCode

public ActiveParticipant.RoleIDCode(java.lang.String code,
                                    java.lang.String codeSystemName,
                                    java.lang.String displayName)
Method Detail

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)

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.

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.