Class AuditEvent.Entity
- java.lang.Object
 - 
- org.linuxforhealth.fhir.model.visitor.AbstractVisitable
 - 
- org.linuxforhealth.fhir.model.type.Element
 - 
- org.linuxforhealth.fhir.model.type.BackboneElement
 - 
- org.linuxforhealth.fhir.model.resource.AuditEvent.Entity
 
 
 
 
 
- 
- All Implemented Interfaces:
 Visitable
- Enclosing class:
 - AuditEvent
 
public static class AuditEvent.Entity extends BackboneElement
Specific instances of data or objects that have been accessed. 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAuditEvent.Entity.Builderstatic classAuditEvent.Entity.DetailTagged value pairs for conveying additional information about the entity. 
- 
Field Summary
- 
Fields inherited from class org.linuxforhealth.fhir.model.type.BackboneElement
modifierExtension 
 - 
 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(java.lang.String elementName, int elementIndex, Visitor visitor)Accept a Visitor and invoke the appropriate visit methods.static AuditEvent.Entity.Builderbuilder()booleanequals(java.lang.Object obj)StringgetDescription()Text that describes the entity in more detail.java.util.List<AuditEvent.Entity.Detail>getDetail()Tagged value pairs for conveying additional information about the entity.CodinggetLifecycle()Identifier for the data life-cycle stage for the entity.StringgetName()A name of the entity in the audit event.Base64BinarygetQuery()The query parameters for a query-type entities.CodinggetRole()Code representing the role the entity played in the event being audited.java.util.List<Coding>getSecurityLabel()Security labels for the identified entity.CodinggetType()The type of the object that was involved in this audit event.ReferencegetWhat()Identifies a specific instance of the entity.booleanhasChildren()inthashCode()AuditEvent.Entity.BuildertoBuilder()Create a new Builder from the contents of this Element- 
Methods inherited from class org.linuxforhealth.fhir.model.type.BackboneElement
getModifierExtension 
- 
Methods inherited from class org.linuxforhealth.fhir.model.type.Element
as, getExtension, getId, hasValue, is 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getWhat
public Reference getWhat()
Identifies a specific instance of the entity. The reference should be version specific.- Returns:
 - An immutable object of type 
Referencethat may be null. 
 
- 
getType
public Coding getType()
The type of the object that was involved in this audit event.- Returns:
 - An immutable object of type 
Codingthat may be null. 
 
- 
getRole
public Coding getRole()
Code representing the role the entity played in the event being audited.- Returns:
 - An immutable object of type 
Codingthat may be null. 
 
- 
getLifecycle
public Coding getLifecycle()
Identifier for the data life-cycle stage for the entity.- Returns:
 - An immutable object of type 
Codingthat may be null. 
 
- 
getSecurityLabel
public java.util.List<Coding> getSecurityLabel()
Security labels for the identified entity.- Returns:
 - An unmodifiable list containing immutable objects of type 
Codingthat may be empty. 
 
- 
getName
public String getName()
A name of the entity in the audit event.- Returns:
 - An immutable object of type 
Stringthat may be null. 
 
- 
getDescription
public String getDescription()
Text that describes the entity in more detail.- Returns:
 - An immutable object of type 
Stringthat may be null. 
 
- 
getQuery
public Base64Binary getQuery()
The query parameters for a query-type entities.- Returns:
 - An immutable object of type 
Base64Binarythat may be null. 
 
- 
getDetail
public java.util.List<AuditEvent.Entity.Detail> getDetail()
Tagged value pairs for conveying additional information about the entity.- Returns:
 - An unmodifiable list containing immutable objects of type 
AuditEvent.Entity.Detailthat may be empty. 
 
- 
hasChildren
public boolean hasChildren()
- Overrides:
 hasChildrenin classBackboneElement
 
- 
accept
public void accept(java.lang.String elementName, int elementIndex, Visitor visitor)Description copied from interface:VisitableAccept a Visitor and invoke the appropriate visit methods. A typical implementation would look like this:if (visitor.preVisit(this)) { visitor.visitStart(elementName, elementIndex, this); if (visitor.visit(elementName, elementIndex, this)) { // visit children } visitor.visitEnd(elementName, elementIndex, this); visitor.postVisit(this); }- Specified by:
 acceptin interfaceVisitable- Specified by:
 acceptin classAbstractVisitable- Parameters:
 elementName- the name of the element in the context of this visitelementIndex- the index of the element in a list or -1 if it is not contained within a Listvisitor- the visitor to use
 
- 
equals
public boolean equals(java.lang.Object obj)
- Overrides:
 equalsin classjava.lang.Object
 
- 
hashCode
public int hashCode()
- Overrides:
 hashCodein classjava.lang.Object
 
- 
toBuilder
public AuditEvent.Entity.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element- Specified by:
 toBuilderin classBackboneElement
 
- 
builder
public static AuditEvent.Entity.Builder builder()
 
 - 
 
 -