Package com.ibm.fhir.model.resource
Class AuditEvent.Entity
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.type.Element
-
- com.ibm.fhir.model.type.BackboneElement
-
- com.ibm.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 class
AuditEvent.Entity.Builder
static class
AuditEvent.Entity.Detail
Tagged value pairs for conveying additional information about the entity.
-
Field Summary
-
Fields inherited from class com.ibm.fhir.model.type.BackboneElement
modifierExtension
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(java.lang.String elementName, int elementIndex, Visitor visitor)
Accept a Visitor and invoke the appropriate visit methods.static AuditEvent.Entity.Builder
builder()
boolean
equals(java.lang.Object obj)
String
getDescription()
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.Coding
getLifecycle()
Identifier for the data life-cycle stage for the entity.String
getName()
A name of the entity in the audit event.Base64Binary
getQuery()
The query parameters for a query-type entities.Coding
getRole()
Code representing the role the entity played in the event being audited.java.util.List<Coding>
getSecurityLabel()
Security labels for the identified entity.Coding
getType()
The type of the object that was involved in this audit event.Reference
getWhat()
Identifies a specific instance of the entity.boolean
hasChildren()
int
hashCode()
AuditEvent.Entity.Builder
toBuilder()
Create a new Builder from the contents of this Element-
Methods inherited from class com.ibm.fhir.model.type.BackboneElement
getModifierExtension
-
-
-
-
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
Reference
that 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
Coding
that 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
Coding
that may be null.
-
getLifecycle
public Coding getLifecycle()
Identifier for the data life-cycle stage for the entity.- Returns:
- An immutable object of type
Coding
that 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
Coding
that may be empty.
-
getName
public String getName()
A name of the entity in the audit event.- Returns:
- An immutable object of type
String
that may be null.
-
getDescription
public String getDescription()
Text that describes the entity in more detail.- Returns:
- An immutable object of type
String
that may be null.
-
getQuery
public Base64Binary getQuery()
The query parameters for a query-type entities.- Returns:
- An immutable object of type
Base64Binary
that 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.Detail
that may be empty.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildren
in classBackboneElement
-
accept
public void accept(java.lang.String elementName, int elementIndex, Visitor visitor)
Description copied from interface:Visitable
Accept 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:
accept
in interfaceVisitable
- Specified by:
accept
in 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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toBuilder
public AuditEvent.Entity.Builder toBuilder()
Description copied from class:Element
Create a new Builder from the contents of this Element- Specified by:
toBuilder
in classBackboneElement
-
builder
public static AuditEvent.Entity.Builder builder()
-
-