Package org.ehrbase.api.dto
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
ConstructorsConstructorDescriptionEhrStatusDto(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 aEhrStatusDtorecord class. -
Method Summary
Modifier and TypeMethodDescriptioncom.nedap.archie.rm.archetyped.ArchetypedReturns the value of thearchetypeDetailsrecord component.Returns the value of thearchetypeNodeIdrecord component.final booleanIndicates whether some other object is "equal to" this one.com.nedap.archie.rm.archetyped.FeederAuditReturns the value of thefeederAuditrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theisModifiablerecord component.Returns the value of theisQueryablerecord component.com.nedap.archie.rm.datavalues.DvTextname()Returns the value of thenamerecord component.com.nedap.archie.rm.datastructures.ItemStructureReturns the value of theotherDetailsrecord component.com.nedap.archie.rm.generic.PartySelfsubject()Returns the value of thesubjectrecord component.final StringtoString()Returns a string representation of this record class.type()com.nedap.archie.rm.support.identification.UIDBasedIduid()Returns the value of theuidrecord component.
-
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 aEhrStatusDtorecord class.- Parameters:
uid- the value for theuidrecord componentarchetypeNodeId- the value for thearchetypeNodeIdrecord componentname- the value for thenamerecord componentarchetypeDetails- the value for thearchetypeDetailsrecord componentfeederAudit- the value for thefeederAuditrecord componentsubject- the value for thesubjectrecord componentisQueryable- the value for theisQueryablerecord componentisModifiable- the value for theisModifiablerecord componentotherDetails- the value for theotherDetailsrecord component
-
-
Method Details
-
type
-
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. -
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. -
equals
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 withObjects::equals(Object,Object). -
uid
public com.nedap.archie.rm.support.identification.UIDBasedId uid()Returns the value of theuidrecord component.- Returns:
- the value of the
uidrecord component
-
archetypeNodeId
Returns the value of thearchetypeNodeIdrecord component.- Returns:
- the value of the
archetypeNodeIdrecord component
-
name
public com.nedap.archie.rm.datavalues.DvText name()Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
archetypeDetails
@Nullable public com.nedap.archie.rm.archetyped.Archetyped archetypeDetails()Returns the value of thearchetypeDetailsrecord component.- Returns:
- the value of the
archetypeDetailsrecord component
-
feederAudit
@Nullable public com.nedap.archie.rm.archetyped.FeederAudit feederAudit()Returns the value of thefeederAuditrecord component.- Returns:
- the value of the
feederAuditrecord component
-
subject
public com.nedap.archie.rm.generic.PartySelf subject()Returns the value of thesubjectrecord component.- Returns:
- the value of the
subjectrecord component
-
isQueryable
Returns the value of theisQueryablerecord component.- Returns:
- the value of the
isQueryablerecord component
-
isModifiable
Returns the value of theisModifiablerecord component.- Returns:
- the value of the
isModifiablerecord component
-
otherDetails
@Nullable public com.nedap.archie.rm.datastructures.ItemStructure otherDetails()Returns the value of theotherDetailsrecord component.- Returns:
- the value of the
otherDetailsrecord component
-