|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dcm4che2.audit.message.ParticipantObject
public class ParticipantObject
Identifies instances of data or objects that have been accessed.
Nested Class Summary | |
---|---|
static class |
ParticipantObject.DataLifeCycle
|
static class |
ParticipantObject.Detail
|
static class |
ParticipantObject.IDTypeCode
|
static class |
ParticipantObject.TypeCode
|
static class |
ParticipantObject.TypeCodeRole
|
Constructor Summary | |
---|---|
ParticipantObject(java.lang.String id,
ParticipantObject.IDTypeCode idTypeCode)
Create a participant object identified by the given id, of type specified by idTypeCode. |
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)
|
ParticipantObject |
addParticipantObjectDescription(ParticipantObjectDescription desc)
|
ParticipantObject |
addParticipantObjectDetail(java.lang.String type,
byte[] value)
|
ParticipantObject |
addParticipantObjectDetail(java.lang.String type,
java.lang.String value)
|
static ParticipantObject |
createAlertSubject(java.lang.String id,
ParticipantObject.IDTypeCode idTypeCode,
java.lang.String desc)
|
static ParticipantObject |
createAlertSubjectWithNodeID(java.lang.String nodeID,
java.lang.String desc)
|
static ParticipantObject |
createAlertSubjectWithURI(java.lang.String uri,
java.lang.String desc)
|
static ParticipantObject |
createDataRepository(java.lang.String uri)
|
static ParticipantObject |
createPatient(java.lang.String id,
java.lang.String name)
|
static ParticipantObject |
createQuerySOPClass(java.lang.String cuid,
java.lang.String tsuid,
byte[] query)
|
static ParticipantObject |
createSecurityAuditLog(java.lang.String uri)
|
static ParticipantObject |
createStudy(java.lang.String uid,
ParticipantObjectDescription desc)
Create a participant object with type code STUDY_INSTANCE_UID, and the specified description (which maybe null). |
protected java.lang.Object |
getAttribute(java.lang.String name)
|
ParticipantObject.DataLifeCycle |
getParticipantObjectDataLifeCycle()
|
java.util.List<ParticipantObjectDescription> |
getParticipantObjectDescriptions()
|
java.util.List<ParticipantObject.Detail> |
getParticipantObjectDetails()
|
java.lang.String |
getParticipantObjectID()
Returns the id specified for this object when it was created |
ParticipantObject.IDTypeCode |
getParticipantObjectIDTypeCode()
|
java.lang.String |
getParticipantObjectName()
|
byte[] |
getParticipantObjectQuery()
|
java.lang.String |
getParticipantObjectSensitivity()
|
ParticipantObject.TypeCode |
getParticipantObjectTypeCode()
|
ParticipantObject.TypeCodeRole |
getParticipantObjectTypeCodeRole()
|
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. |
ParticipantObject |
setParticipantObjectDataLifeCycle(ParticipantObject.DataLifeCycle code)
|
ParticipantObject |
setParticipantObjectName(java.lang.String name)
|
ParticipantObject |
setParticipantObjectQuery(byte[] query)
|
ParticipantObject |
setParticipantObjectSensitivity(java.lang.String sensitivity)
|
ParticipantObject |
setParticipantObjectTypeCode(ParticipantObject.TypeCode code)
|
ParticipantObject |
setParticipantObjectTypeCodeRole(ParticipantObject.TypeCodeRole code)
|
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 |
Constructor Detail |
---|
public ParticipantObject(java.lang.String id, ParticipantObject.IDTypeCode idTypeCode)
Method Detail |
---|
public final java.lang.String getParticipantObjectID()
public final ParticipantObject.IDTypeCode getParticipantObjectIDTypeCode()
public final ParticipantObject.TypeCode getParticipantObjectTypeCode()
public final ParticipantObject setParticipantObjectTypeCode(ParticipantObject.TypeCode code)
public final ParticipantObject.TypeCodeRole getParticipantObjectTypeCodeRole()
public final ParticipantObject setParticipantObjectTypeCodeRole(ParticipantObject.TypeCodeRole code)
public final ParticipantObject.DataLifeCycle getParticipantObjectDataLifeCycle()
public final ParticipantObject setParticipantObjectDataLifeCycle(ParticipantObject.DataLifeCycle code)
public final java.lang.String getParticipantObjectSensitivity()
public final ParticipantObject setParticipantObjectSensitivity(java.lang.String sensitivity)
public final java.lang.String getParticipantObjectName()
public final ParticipantObject setParticipantObjectName(java.lang.String name)
public final byte[] getParticipantObjectQuery()
public final ParticipantObject setParticipantObjectQuery(byte[] query)
public java.util.List<ParticipantObject.Detail> getParticipantObjectDetails()
public ParticipantObject addParticipantObjectDetail(java.lang.String type, java.lang.String value)
public ParticipantObject addParticipantObjectDetail(java.lang.String type, byte[] value)
public java.util.List<ParticipantObjectDescription> getParticipantObjectDescriptions()
public ParticipantObject addParticipantObjectDescription(ParticipantObjectDescription desc)
protected boolean isEmpty()
protected void outputContent(java.io.Writer out) throws java.io.IOException
isEmpty()
should also be overridden
to return false
, otherwise this method will not be called.
out
- the writer to write the output to.
java.io.IOException
- thrown by derived classes if an error occurs.public static ParticipantObject createPatient(java.lang.String id, java.lang.String name)
public static ParticipantObject createStudy(java.lang.String uid, ParticipantObjectDescription desc)
uid
- Study Instance UIDdesc
- (null) Description including patient name/idpublic static ParticipantObject createDataRepository(java.lang.String uri)
public static ParticipantObject createQuerySOPClass(java.lang.String cuid, java.lang.String tsuid, byte[] query)
public static ParticipantObject createSecurityAuditLog(java.lang.String uri)
public static ParticipantObject createAlertSubject(java.lang.String id, ParticipantObject.IDTypeCode idTypeCode, java.lang.String desc)
public static ParticipantObject createAlertSubjectWithURI(java.lang.String uri, java.lang.String desc)
public static ParticipantObject createAlertSubjectWithNodeID(java.lang.String nodeID, java.lang.String desc)
protected void addAttribute(java.lang.String name, java.lang.Object val, boolean optional)
protected void addAttribute(java.lang.String name, java.util.Date val, boolean optional)
protected void addAttribute(java.lang.String name, byte[] val, boolean optional)
protected java.lang.Object getAttribute(java.lang.String name)
public void output(java.io.Writer out) throws java.io.IOException
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(int initialSize)
protected void outputChilds(java.io.Writer out, java.util.List<? extends org.dcm4che2.audit.message.BaseElement> childs) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |