org.dcm4che2.audit.message
Class AuditSource.TypeCode

java.lang.Object
  extended by org.dcm4che2.audit.message.CodeElement
      extended by org.dcm4che2.audit.message.AuditSource.TypeCode
Enclosing class:
AuditSource

public static class AuditSource.TypeCode
extends CodeElement


Field Summary
static AuditSource.TypeCode APPLICATION_SERVER_PROCESS
           
static AuditSource.TypeCode DATA_ACQUISITION_DEVICE
           
static AuditSource.TypeCode DATABASE_SERVER_PROCESS
           
static AuditSource.TypeCode END_USER_DISPLAY_DEVICE
           
static AuditSource.TypeCode ISO_LEVEL_1_3_NETWORK_COMPONENT
           
static AuditSource.TypeCode ISO_LEVEL_4_6_OPERATING_SOFTWARE
           
protected  java.lang.String name
           
static AuditSource.TypeCode OTHER
           
static AuditSource.TypeCode SECURITY_SERVER
           
static AuditSource.TypeCode WEB_SERVER_PROCESS
           
 
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)
           
static AuditSource.TypeCode valueOf(java.lang.String code)
           
 
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

END_USER_DISPLAY_DEVICE

public static final AuditSource.TypeCode END_USER_DISPLAY_DEVICE

DATA_ACQUISITION_DEVICE

public static final AuditSource.TypeCode DATA_ACQUISITION_DEVICE

WEB_SERVER_PROCESS

public static final AuditSource.TypeCode WEB_SERVER_PROCESS

APPLICATION_SERVER_PROCESS

public static final AuditSource.TypeCode APPLICATION_SERVER_PROCESS

DATABASE_SERVER_PROCESS

public static final AuditSource.TypeCode DATABASE_SERVER_PROCESS

SECURITY_SERVER

public static final AuditSource.TypeCode SECURITY_SERVER

ISO_LEVEL_1_3_NETWORK_COMPONENT

public static final AuditSource.TypeCode ISO_LEVEL_1_3_NETWORK_COMPONENT

ISO_LEVEL_4_6_OPERATING_SOFTWARE

public static final AuditSource.TypeCode ISO_LEVEL_4_6_OPERATING_SOFTWARE

OTHER

public static final AuditSource.TypeCode OTHER

name

protected final java.lang.String name
Method Detail

valueOf

public static AuditSource.TypeCode valueOf(java.lang.String code)

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.