Record Class EhrStatusDto

java.lang.Object
java.lang.Record
org.ehrbase.api.dto.EhrStatusDto

public record EhrStatusDto(com.nedap.archie.rm.support.identification.UIDBasedId uid, String archetypeNodeId, com.nedap.archie.rm.datavalues.DvText name, @Nullable com.nedap.archie.rm.archetyped.Archetyped archetypeDetails, @Nullable com.nedap.archie.rm.archetyped.FeederAudit feederAudit, com.nedap.archie.rm.generic.PartySelf subject, Boolean isQueryable, Boolean isModifiable, @Nullable com.nedap.archie.rm.datastructures.ItemStructure otherDetails) extends Record
Request/Response data of an EHR_STATUS.
  • Constructor Summary

    Constructors
    Constructor
    Description
    EhrStatusDto(com.nedap.archie.rm.support.identification.UIDBasedId uid, String archetypeNodeId, com.nedap.archie.rm.datavalues.DvText name, com.nedap.archie.rm.archetyped.Archetyped archetypeDetails, com.nedap.archie.rm.archetyped.FeederAudit feederAudit, com.nedap.archie.rm.generic.PartySelf subject, Boolean isQueryable, Boolean isModifiable, com.nedap.archie.rm.datastructures.ItemStructure otherDetails)
    Creates an instance of a EhrStatusDto record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.nedap.archie.rm.archetyped.Archetyped
    Returns the value of the archetypeDetails record component.
    Returns the value of the archetypeNodeId record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    com.nedap.archie.rm.archetyped.FeederAudit
    Returns the value of the feederAudit record component.
    final int
    Returns a hash code value for this object.
    Returns the value of the isModifiable record component.
    Returns the value of the isQueryable record component.
    com.nedap.archie.rm.datavalues.DvText
    Returns the value of the name record component.
    com.nedap.archie.rm.datastructures.ItemStructure
    Returns the value of the otherDetails record component.
    com.nedap.archie.rm.generic.PartySelf
    Returns the value of the subject record component.
    final String
    Returns a string representation of this record class.
     
    com.nedap.archie.rm.support.identification.UIDBasedId
    uid()
    Returns the value of the uid record component.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • EhrStatusDto

      public EhrStatusDto(com.nedap.archie.rm.support.identification.UIDBasedId uid, String archetypeNodeId, com.nedap.archie.rm.datavalues.DvText name, @Nullable com.nedap.archie.rm.archetyped.Archetyped archetypeDetails, @Nullable com.nedap.archie.rm.archetyped.FeederAudit feederAudit, com.nedap.archie.rm.generic.PartySelf subject, Boolean isQueryable, Boolean isModifiable, @Nullable com.nedap.archie.rm.datastructures.ItemStructure otherDetails)
      Creates an instance of a EhrStatusDto record class.
      Parameters:
      uid - the value for the uid record component
      archetypeNodeId - the value for the archetypeNodeId record component
      name - the value for the name record component
      archetypeDetails - the value for the archetypeDetails record component
      feederAudit - the value for the feederAudit record component
      subject - the value for the subject record component
      isQueryable - the value for the isQueryable record component
      isModifiable - the value for the isModifiable record component
      otherDetails - the value for the otherDetails record component
  • Method Details

    • type

      public String type()
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • uid

      public com.nedap.archie.rm.support.identification.UIDBasedId uid()
      Returns the value of the uid record component.
      Returns:
      the value of the uid record component
    • archetypeNodeId

      public String archetypeNodeId()
      Returns the value of the archetypeNodeId record component.
      Returns:
      the value of the archetypeNodeId record component
    • name

      public com.nedap.archie.rm.datavalues.DvText name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • archetypeDetails

      @Nullable public com.nedap.archie.rm.archetyped.Archetyped archetypeDetails()
      Returns the value of the archetypeDetails record component.
      Returns:
      the value of the archetypeDetails record component
    • feederAudit

      @Nullable public com.nedap.archie.rm.archetyped.FeederAudit feederAudit()
      Returns the value of the feederAudit record component.
      Returns:
      the value of the feederAudit record component
    • subject

      public com.nedap.archie.rm.generic.PartySelf subject()
      Returns the value of the subject record component.
      Returns:
      the value of the subject record component
    • isQueryable

      public Boolean isQueryable()
      Returns the value of the isQueryable record component.
      Returns:
      the value of the isQueryable record component
    • isModifiable

      public Boolean isModifiable()
      Returns the value of the isModifiable record component.
      Returns:
      the value of the isModifiable record component
    • otherDetails

      @Nullable public com.nedap.archie.rm.datastructures.ItemStructure otherDetails()
      Returns the value of the otherDetails record component.
      Returns:
      the value of the otherDetails record component